带有 OpenAI 嵌入的 MCP Qdrant 服务器
该 MCP 服务器使用 Qdrant 矢量数据库和 OpenAI 嵌入提供矢量搜索功能。
特征
- 使用 OpenAI 嵌入在 Qdrant 集合中进行语义搜索 
- 列出可用的集合 
- 查看收藏信息 
先决条件
- 已安装 Python 3.10+ 
- Qdrant 实例(本地或远程) 
- OpenAI API 密钥 
安装
- 克隆此存储库: git clone https://github.com/yourusername/mcp-qdrant-openai.git cd mcp-qdrant-openai
- 安装依赖项: pip install -r requirements.txt
配置
设置以下环境变量:
- OPENAI_API_KEY:您的 OpenAI API 密钥
- QDRANT_URL:您的 Qdrant 实例的 URL(默认值:“ http://localhost:6333 ”)
- QDRANT_API_KEY:您的 Qdrant API 密钥(如果适用)
用法
直接运行服务器
使用 MCP CLI 运行
在 Claude Desktop 中安装
可用工具
查询集合
使用带有 OpenAI 嵌入的语义搜索来搜索 Qdrant 集合。
- collection_name:要搜索的 Qdrant 集合的名称
- query_text:自然语言的搜索查询
- limit:返回的最大结果数(默认值:5)
- model:要使用的 OpenAI 嵌入模型(默认值:text-embedding-3-small)
列表集合
列出 Qdrant 数据库中所有可用的集合。
collection_info
获取有关特定集合的信息。
- collection_name:要获取信息的集合的名称
Claude Desktop 中的示例用法
一旦在 Claude Desktop 中安装完毕,您就可以使用如下工具:
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
该服务器使用 Qdrant 矢量数据库和 OpenAI 嵌入实现语义搜索功能,允许用户查询集合、列出可用集合以及查看集合信息。
Related MCP Servers
- -security-license-qualityProvides RAG capabilities for semantic document search using Qdrant vector database and Ollama/OpenAI embeddings, allowing users to add, search, list, and delete documentation with metadata support.Last updated -416Apache 2.0
- Asecurity-licenseAqualityA Model Context Protocol server that enables semantic search capabilities by providing tools to manage Qdrant vector database collections, process and embed documents using various embedding services, and perform semantic searches across vector embeddings.Last updated -417MIT License
- -security-license-qualityEnables semantic search across multiple Qdrant vector database collections, supporting multi-query capability and providing semantically relevant document retrieval with configurable result counts.Last updated -46MIT License
- -security-license-qualityA FastAPI-based application that enables document embedding and semantic retrieval using Qdrant vector database, allowing users to convert documents into embeddings and retrieve relevant content through natural language queries.Last updated -