MCP Catalogs
首页

qdrant-mcp-server

by mhalder·32·综合分 46

使用 Qdrant 向量数据库和多嵌入提供商实现的语义搜索 MCP 服务器。

searchai-llmdeveloper-tools
20
Forks
4
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Qdrant MCP Server 提供本地优先架构的全面语义搜索功能,支持多种嵌入提供商,包括 Ollama、OpenAI、Cohere 和 Voyage AI。服务器具有先进的代码向量化功能,支持 AST 感知的分块、Git 历史索引,以及结合语义和关键字搜索的混合搜索。可以通过 stdio 传输方式在本地部署,或作为带有身份验证支持的 HTTP 服务器远程部署。

试试问 AI

装完之后,这里有 6 个你可以让 AI 做的事:

:在大型代码库中进行语义代码搜索,支持 AST 感知的分块
:搜索 Git 历史记录以查找过去的更改、修复和模式
:使用本地向量存储构建知识库和 RAG 应用程序
:使用倒排秩融合进行跨代码库联邦搜索
:支持哪些嵌入提供商?
:我可以使用 Qdrant Cloud 吗?

什么时候选它

当您需要具有本地隐私优先向量存储的语义搜索功能,或在使用现有 Qdrant 部署时选择它。

什么时候不要选它

如果您需要支持其他向量数据库如 Pinecone、Chroma 或 Weaviata,则避免使用,因为它紧密耦合到 Qdrant。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • create_collection

    Create collection with specified distance metric (Cosine/Euclid/Dot)

  • add_documents

    Add documents with automatic embedding (supports string/number IDs, metadata)

  • semantic_search

    Natural language search with optional metadata filtering

  • hybrid_search

    Hybrid search combining semantic and keyword (BM25) search with RRF

  • index_codebase

    Index a codebase for semantic code search with AST-aware chunking

  • search_code

    Search indexed codebase using natural language queries

  • index_git_history

    Index git commit history for semantic search over past changes and fixes

  • search_git_history

    Search indexed git history using natural language queries

  • contextual_search

    Combined code + git history search with file-commit correlations

  • federated_search

    Search across multiple repositories with Reciprocal Rank Fusion (RRF) ranking

  • reindex_changes

    Incrementally re-index only changed files (detects added/modified/deleted)

  • delete_documents

    Delete specific documents by ID

可对比工具

semantic-search-mcpvector-search-toolchroma-mcp-server

安装

安装

先决条件

  • Node.js 22.x 或 24.x
  • 支持 Compose 的 Podman 或 Docker

步骤

# 克隆并安装
git clone https://github.com/mhalder/qdrant-mcp-server.git
cd qdrant-mcp-server
npm install

# 启动服务
podman compose up -d   # 使用 Podman
docker compose up -d   # 使用 Docker

# 拉取嵌入模型
podman exec ollama ollama pull nomic-embed-text

# 构建
npm run build

Claude Desktop 配置

添加到 ~/.claude.json

{
  "mcpServers": {
    "qdrant": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/qdrant-mcp-server/build/index.js"]
    }
  }
}

FAQ

支持哪些嵌入提供商?
该服务器支持 Ollama(默认)、OpenAI、Cohere 和 Voyage AI 作为嵌入提供商。
我可以使用 Qdrant Cloud 吗?
可以,您可以使用 API 密钥身份验证连接到 Qdrant Cloud 或受保护的实例。

qdrant-mcp-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。