Qdrant Search MCP

Qdrant Search MCP

An MCP server for semantic code search using Qdrant vector database, enabling natural language queries to find relevant code snippets across indexed codebases.

Category
Visit Server

README

Qdrant Search MCP

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured