qdrant-loader-mcp-server
Enables AI development tools to perform semantic search and document relationship analysis on vectorized content stored in Qdrant databases.
README
QDrant Loader
๐ Changelog v1.0.2 - Latest improvements and bug fixes
<div align="left"> A comprehensive toolkit for loading data into Qdrant vector database with advanced MCP server support for AI-powered development workflows. </div>
๐ฏ What is QDrant Loader?
QDrant Loader is a data ingestion and retrieval system that collects content from multiple sources, processes and vectorizes it, then provides intelligent search capabilities through a Model Context Protocol (MCP) server for AI development tools.
Perfect for:
- ๐คย AI-powered developmentย with Cursor, Windsurf, and other MCP-compatible tools
- ๐ย Knowledge base creationย from technical documentation
- ๐ย Intelligent code assistanceย with contextual information
- ๐ขย Enterprise content integrationย from multiple data sources
๐ฆ Packages
This monorepo contains three complementary packages:
๐ QDrant Loader
Data ingestion and processing engine
Collects and vectorizes content from multiple sources into QDrant vector database.
Key Features:
- Multi-source connectors: Git, Confluence (Cloud & Data Center), JIRA (Cloud & Data Center), Public Docs, Local Files
- File conversion: PDF, Office docs (Word, Excel, PowerPoint), images, audio, EPUB, ZIP, and more using MarkItDown
- Smart chunking: Modular chunking strategies with intelligent document processing and hierarchical context
- Incremental updates: Change detection and efficient synchronization
- Multi-project support: Organize sources into projects with shared collections
- Provider-agnostic LLM: OpenAI, Azure OpenAI, Ollama, and custom endpoints with unified configuration
โ๏ธ QDrant Loader Core
Core library and LLM abstraction layer
Provides the foundational components and provider-agnostic LLM interface used by other packages.
Key Features:
- LLM Provider Abstraction: Unified interface for OpenAI, Azure OpenAI, Ollama, and custom endpoints
- Configuration Management: Centralized settings and validation for LLM providers
- Rate Limiting: Built-in rate limiting and request management
- Error Handling: Robust error handling and retry mechanisms
- Logging: Structured logging with configurable levels
๐ QDrant Loader MCP Server
AI development integration layer
Model Context Protocol server providing search capabilities to AI development tools.
Key Features:
- MCP Protocol 2025-06-18: Latest protocol compliance with dual transport support (stdio + HTTP)
- Advanced search tools: Semantic search, hierarchy-aware search, attachment discovery, and conflict detection
- Cross-document intelligence: Document similarity, clustering, relationship analysis, and knowledge graphs
- Streaming capabilities: Server-Sent Events (SSE) for real-time search results
- Production-ready: HTTP transport with security, session management, and health checks
๐ Quick Start
Installation
# Install both packages
pip install qdrant-loader qdrant-loader-mcp-server
# Or install individually
pip install qdrant-loader # Data ingestion only
pip install qdrant-loader-mcp-server # MCP server only
5-Minute Setup
-
Create a workspace
mkdir my-workspace && cd my-workspace -
Initialize workspace with templates
qdrant-loader init --workspace . -
Configure your environment (edit
.env)# Qdrant connection QDRANT_URL=http://localhost:6333 QDRANT_COLLECTION_NAME=my_docs # LLM provider (new unified configuration) OPENAI_API_KEY=your_openai_key LLM_PROVIDER=openai LLM_BASE_URL=https://api.openai.com/v1 LLM_EMBEDDING_MODEL=text-embedding-3-small LLM_CHAT_MODEL=gpt-4o-mini -
Configure data sources (edit
config.yaml)global: qdrant: url: "http://localhost:6333" collection_name: "my_docs" llm: provider: "openai" base_url: "https://api.openai.com/v1" api_key: "${OPENAI_API_KEY}" models: embeddings: "text-embedding-3-small" chat: "gpt-4o-mini" embeddings: vector_size: 1536 projects: my-project: project_id: "my-project" sources: git: docs-repo: base_url: "https://github.com/your-org/your-repo.git" branch: "main" file_types: ["*.md", "*.rst"] -
Load your data
qdrant-loader ingest --workspace . -
Start the MCP server
mcp-qdrant-loader --env /path/tp/your/.env
๐ง MCP-Compatible IDE Setup
QDrant Loader works with any IDE/tool that supports MCP, including Cursor, Windsurf, and Claude Desktop.
Minimal MCP server entry (adapt path/format to your tool):
{
"mcpServers": {
"qdrant-loader": {
"command": "/path/to/venv/bin/mcp-qdrant-loader",
"env": {
"QDRANT_URL": "http://localhost:6333",
"QDRANT_COLLECTION_NAME": "my_docs",
"OPENAI_API_KEY": "your_key"
}
}
}
}
Alternative: Use configuration file (recommended for complex setups):
{
"mcpServers": {
"qdrant-loader": {
"command": "/path/to/venv/bin/mcp-qdrant-loader",
"args": [
"--config",
"/path/to/your/config.yaml",
"--env",
"/path/to/your/.env"
]
}
}
}
For tool-specific setup and exact config format:
Example queries in AI tools:
- "Find documentation about authentication in our API"
- "Show me examples of error handling patterns"
- "What are the deployment requirements for this service?"
- "Find all attachments related to database schema"
๐ Documentation
Getting Started
- Getting Started - Quick start and core concepts
- Installation Guide - Complete setup instructions
- Quick Start - Step-by-step tutorial
- Core Concepts - Understand the core architecture: workspace model, projects and sources, ingestion pipeline, and MCP search flow
User Guides
- User Guides - Detailed usage instructions
- Configuration - Complete configuration reference
- Data Sources - Git, Confluence, JIRA setup
- File Conversion - File processing capabilities
- MCP Server - AI tool integration
๐ ๏ธ Developer Resources
- Developer hub - Developer guides for architecture, testing, deployment, and contribution workflows.
- Architecture - System design overview
- Testing - Testing guide and best practices
๐ Support
- Issues - Bug reports and feature requests
- Discussions - Community Q&A
๐ค Contributing
We welcome contributions! See our Contributing Guide for:
- Development environment setup
- Code style and standards
- Pull request process
Quick Development Setup
# Clone and setup
git clone https://github.com/martin-papy/qdrant-loader.git
cd qdrant-loader
# Sync workspace environment (recommended)
uv sync --all-packages --all-extras
# Add a new dependency during development
uv add fastapi
uv sync
๐ License
This project is licensed under the GNU GPLv3 - see the LICENSE file for details.
Ready to get started? Check out our Quick Start Guide or browse the complete documentation.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.