Provides Docker support for containerized deployment of the MCP server with a sample Dockerfile included
Supports Sentence Transformers models from Hugging Face as embedding providers for creating vector representations of content for semantic search
Utilizes OpenAI's embedding models (text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002) to generate vector embeddings for semantic search capabilities
Qdrant MCP Server
A Model Context Protocol (MCP) server that provides semantic memory capabilities using Qdrant vector database with configurable embedding providers.
Features
- Multiple Embedding Providers:
- OpenAI (text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002)
- Sentence Transformers (all-MiniLM-L6-v2, all-mpnet-base-v2, and more)
- Semantic Search: Store and retrieve information using vector similarity
- Flexible Configuration: Environment variables for all settings
- MCP Tools: Store, find, delete, and list operations
- Metadata Support: Attach custom metadata to stored content
Installation
Via uvx (Recommended for MCP)
The server is designed to be lightweight by default. When using OpenAI embeddings:
For local embeddings with Sentence Transformers:
Via pip (Development)
Configuration
The server can be configured using environment variables:
Required Environment Variables
EMBEDDING_PROVIDER
: Choose betweenopenai
orsentence-transformers
EMBEDDING_MODEL
: Model name for the chosen providerOPENAI_API_KEY
: Required when using OpenAI embeddings
Optional Environment Variables
QDRANT_URL
: Qdrant server URL (default:http://localhost:6333
)QDRANT_API_KEY
: Qdrant API key (optional)COLLECTION_NAME
: Qdrant collection name (default:mcp_memory
)DEVICE
: Device for sentence transformers (default: auto-detect)DEFAULT_LIMIT
: Default search results limit (default: 10)SCORE_THRESHOLD
: Minimum similarity score (default: 0.0)
Example Configuration
Supported Embedding Models
OpenAI Models
text-embedding-3-small
(1536 dimensions) - Defaulttext-embedding-3-large
(3072 dimensions)text-embedding-ada-002
(1536 dimensions) - Legacy
Sentence Transformers Models
all-MiniLM-L6-v2
(384 dimensions) - Fast and efficientall-mpnet-base-v2
(768 dimensions) - Higher quality- Any other Sentence Transformers model from Hugging Face
Usage
Starting the Server
MCP Tools
qdrant-store
Store content with semantic embeddings:
qdrant-find
Search for relevant information:
qdrant-delete
Delete stored items:
qdrant-list-collections
List all collections in Qdrant:
qdrant-collection-info
Get information about the current collection:
Integration with Claude Desktop
Add to your Claude Desktop configuration:
For OpenAI Embeddings (Lightweight)
For Local Embeddings (Sentence Transformers)
Development
Running Tests
Project Structure
Docker Support
License
Apache License 2.0
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This server cannot be installed
Provides semantic memory capabilities using Qdrant vector database with configurable embedding providers, allowing storage and retrieval of information using vector similarity.
Related MCP Servers
- -securityFlicense-qualityFacilitates knowledge graph representation with semantic search using Qdrant, supporting OpenAI embeddings for semantic similarity and robust HTTPS integration with file-based graph persistence.Last updated -1111TypeScript
- AsecurityAlicenseAqualityA 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 -451TypeScriptMIT License
- -securityAlicense-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 -46TypeScriptMIT License
- -securityFlicense-qualityThis server enables semantic search capabilities using Qdrant vector database and OpenAI embeddings, allowing users to query collections, list available collections, and view collection information.Last updated -3Python