Qdrant MCP by usefulapi

Search vectors and read points; create collections and write points and payloads in Qdrant.

我该使用它吗

质量与安全性

A
描述质量
95%
模式完整度
93%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~2,097token 数(工具定义)
~1.7 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.64%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "qdrant": {
      "url": "https://qdrant.usefulapi.io/mcp"
    }
  }
}

远程端点

https://qdrant.usefulapi.io/mcpstreamable-http

它能做什么

工具清单

工具(11)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢qdrant_list_collections

List the collections in this Qdrant cluster.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢qdrant_get_collection(collection)

Get a collection's status, point count, and vector configuration.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    }
  },
  "required": [
    "collection"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢qdrant_collection_exists(collection)

Check whether a collection exists.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    }
  },
  "required": [
    "collection"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢qdrant_get_points(collection, ids, with_payload, with_vector)

Fetch points by id from a collection. Vectors are omitted unless with_vector is true.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    },
    "ids": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        ],
        "description": "Point id: an unsigned integer or a UUID string."
      },
      "description": "Point ids (1-100)."
    },
    "with_payload": {
      "description": "Include payloads (default true).",
      "type": "boolean"
    },
    "with_vector": {
      "description": "Include vectors (default false).",
      "type": "boolean"
    }
  },
  "required": [
    "collection",
    "ids"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢qdrant_scroll_points(collection, limit, offset, filter, with_payload, ...)

List points in a collection page by page. Pass next_page_offset from the reply as offset to get the next page.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    },
    "limit": {
      "description": "Maximum results (1-100, default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "offset": {
      "description": "Start after this point id (from next_page_offset).",
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      ]
    },
    "filter": {
      "description": "Qdrant filter object, for example {\"must\":[{\"key\":\"city\",\"match\":{\"value\":\"London\"}}]}.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "with_payload": {
      "description": "Include payloads (default true).",
      "type": "boolean"
    },
    "with_vector": {
      "description": "Include vectors (default false).",
      "type": "boolean"
    }
  },
  "required": [
    "collection"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢qdrant_count_points(collection, filter, exact)

Count the points in a collection, optionally only those matching a filter.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    },
    "filter": {
      "description": "Qdrant filter object, for example {\"must\":[{\"key\":\"city\",\"match\":{\"value\":\"London\"}}]}.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "exact": {
      "description": "Exact count (default true). False is faster but approximate.",
      "type": "boolean"
    }
  },
  "required": [
    "collection"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢qdrant_query_points(collection, vector, using, filter, limit, ...)

Find the points nearest to a dense query vector, with optional filter and score threshold. Payloads are included by default.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    },
    "vector": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "A dense vector; its length must match the collection's vector size."
    },
    "using": {
      "description": "Named vector to search, when the collection has named vectors.",
      "type": "string"
    },
    "filter": {
      "description": "Qdrant filter object, for example {\"must\":[{\"key\":\"city\",\"match\":{\"value\":\"London\"}}]}.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "limit": {
      "description": "Maximum results (1-100, default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "score_threshold": {
      "description": "Drop results with a score below this value.",
      "type": "number"
    },
    "with_payload": {
      "description": "Include payloads (default true).",
      "type": "boolean"
    },
    "with_vector": {
      "description": "Include vectors (default false).",
      "type": "boolean"
    }
  },
  "required": [
    "collection",
    "vector"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢qdrant_facet_values(collection, key, limit, filter, exact)

Count how often each value of a payload key occurs, optionally within a filter.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    },
    "key": {
      "type": "string",
      "minLength": 1,
      "description": "Payload key, for example \"city\"."
    },
    "limit": {
      "description": "Maximum values (default 10).",
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "filter": {
      "description": "Qdrant filter object, for example {\"must\":[{\"key\":\"city\",\"match\":{\"value\":\"London\"}}]}.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "exact": {
      "description": "Exact counts (default false).",
      "type": "boolean"
    }
  },
  "required": [
    "collection",
    "key"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡qdrant_create_collection(collection, size, distance)

Create a collection with one unnamed dense vector. Fails with HTTP 409 when the name already exists.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    },
    "size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 65536,
      "description": "Vector length, for example 1536."
    },
    "distance": {
      "description": "Distance metric (default Cosine).",
      "type": "string",
      "enum": [
        "Cosine",
        "Euclid",
        "Dot",
        "Manhattan"
      ]
    }
  },
  "required": [
    "collection",
    "size"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴qdrant_upsert_points(collection, points)

Insert or overwrite points (vector and payload) by id. An existing point with the same id is replaced. Waits until the write is applied.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    },
    "points": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            ],
            "description": "Point id: an unsigned integer or a UUID string."
          },
          "vector": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "number"
            },
            "description": "A dense vector; its length must match the collection's vector size."
          },
          "payload": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {},
            "description": "Payload fields (JSON object)."
          }
        },
        "required": [
          "id",
          "vector"
        ]
      },
      "description": "Points to write (1-100)."
    }
  },
  "required": [
    "collection",
    "points"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴qdrant_set_payload(collection, point_ids, payload)

Set payload fields on the given points. Keys you pass overwrite the same keys on those points; other payload keys stay.

输入模式

{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name, as listed by qdrant_list_collections."
    },
    "point_ids": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        ],
        "description": "Point id: an unsigned integer or a UUID string."
      },
      "description": "Point ids (1-100)."
    },
    "payload": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "Payload fields (JSON object)."
    }
  },
  "required": [
    "collection",
    "point_ids",
    "payload"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本11 个工具