Qdrant Search
FreeNot checkedAn MCP server for semantic code search using Qdrant vector database, enabling natural language queries to find relevant code snippets across indexed codebases.
About
An MCP server for semantic code search using Qdrant vector database, enabling natural language queries to find relevant code snippets across indexed codebases.
README
An MCP (Model Context Protocol) server for semantic code search via Qdrant vector database. Designed to work with codebases indexed by Kilo Code or similar tools.
Features
- Semantic code search - find code by meaning, not just exact strings
- Multiple embedding providers - OpenRouter, OpenAI, or local (Ollama)
- Kilo Code compatible - works with payload formats from Kilo Code's indexer
- Collection listing - browse available Qdrant collections with stats
Quick Start
Prerequisites
- Python 3.10+
- A Qdrant instance (cloud or local)
- An embedding API (OpenRouter, OpenAI, or local Ollama)
Installation
# Clone the repo
git clone https://github.com/sandeep-wt/qdrant-search-mcp.git
cd qdrant-search-mcp
# Create a virtual environment
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
Configuration
Set these environment variables:
# Required
export QDRANT_URL="https://your-qdrant-instance.example.com"
export QDRANT_API_KEY="your-qdrant-api-key"
export COLLECTION_NAME="your-collection-name"
# Embedding provider (default: openrouter)
export EMBEDDING_PROVIDER="openrouter" # or "openai" or "local"
# For OpenRouter
export OPENROUTER_API_KEY="your-openrouter-key"
export EMBEDDING_MODEL="qwen/qwen3-embedding-8b"
# For OpenAI
# export OPENAI_API_KEY="your-openai-key"
# export EMBEDDING_MODEL="text-embedding-3-small"
# For local (Ollama)
# export EMBEDDING_URL="http://localhost:11434/api/embeddings"
# export EMBEDDING_MODEL="nomic-embed-text"
Running
python -m qdrant_search_mcp
MCP Client Configuration
Claude Desktop / Cursor / Kilo Code
Add to your MCP settings:
{
"mcpServers": {
"qdrant-search": {
"command": "python",
"args": ["-m", "qdrant_search_mcp"],
"cwd": "/path/to/qdrant-search-mcp",
"env": {
"QDRANT_URL": "https://your-qdrant-url",
"QDRANT_API_KEY": "your-key",
"COLLECTION_NAME": "your-collection",
"EMBEDDING_PROVIDER": "openrouter",
"OPENROUTER_API_KEY": "your-openrouter-key",
"EMBEDDING_MODEL": "qwen/qwen3-embedding-8b"
}
}
}
}
Hermes Agent
hermes mcp add qdrant-search \
--command python \
--args "-m,qdrant_search_mcp" \
--cwd /path/to/qdrant-search-mcp \
--env QDRANT_URL=https://... \
--env QDRANT_API_KEY=... \
--env COLLECTION_NAME=... \
--env OPENROUTER_API_KEY=... \
--env EMBEDDING_MODEL=qwen/qwen3-embedding-8b
Available Tools
semantic_code_search
Search the codebase index using semantic (meaning-based) search.
| Parameter | Type | Default | Description |
|---|---|---|---|
query |
string | required | Natural language description of what to find |
limit |
int | 10 | Maximum number of results |
collection |
string | "" | Override Qdrant collection name |
list_collections
List available Qdrant collections with stats (point count, vector dimensions).
Payload Format Support
The server supports multiple payload formats:
| Field | Kilo Code | Generic |
|---|---|---|
| File path | filePath |
file_path, path |
| Code content | codeChunk |
code_chunk, content, text |
| Start line | startLine |
start_line |
| End line | endLine |
end_line |
License
MIT
Install Qdrant Search in Claude Desktop, Claude Code & Cursor
unyly install qdrant-search-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add qdrant-search-mcp -- uvx --from git+https://github.com/webtoolbox/qdrant-search-mcp qdrant-search-mcpFAQ
Is Qdrant Search MCP free?
Yes, Qdrant Search MCP is free — one-click install via Unyly at no cost.
Does Qdrant Search need an API key?
No, Qdrant Search runs without API keys or environment variables.
Is Qdrant Search hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Qdrant Search in Claude Desktop, Claude Code or Cursor?
Open Qdrant Search on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolCompare Qdrant Search with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
