Qurio MCP Server
Enables AI coding assistants to search and retrieve information from a locally ingested knowledge base using hybrid search, grounded in user-curated documentation.
README
<div align="center">
<img src="docs/logo/qurio-inverted-black.png" alt="Qurio Logo" width="650"/>
<p align="center"> <strong>The Open Source Knowledge Engine for AI Agents</strong><br> Built for localhost. Grounded in truth. </p>
</div>
📖 About
Qurio is a self-hosted, open-source ingestion and retrieval engine that functions as a local Shared Library for AI coding assistants (like Gemini-CLI, Claude Code, Cursor, Windsurf, or custom scripts).
Unlike cloud-based RAG solutions that introduce latency and privacy risks, Qurio runs locally to ingest your handpicked heterogeneous documentation (web crawls, PDFs, Markdown) and serves it directly to your agents via the Model Context Protocol (MCP). This ensures your AI writes better code faster using only the context you trust.
Qurio features a custom structural chunker that respects code blocks, API definitions, and config files, preserving full code blocks and syntaxes.
Why Qurio?
- Privacy First: Your data stays on your machine (
localhost). - Precision: Retrieves grounded "truth" to prevent AI hallucinations.
- Speed: Deploys in minutes with
docker-compose. - Open Standards: Built on MCP, Weaviate, and PostgreSQL.
✨ Key Features
- 🌐 Universal Ingestion: Crawl documentation sites or upload files (PDF, DOCX, MD).
- 🧠 Hybrid Search: Configurable BM25 keyword search with Vector embeddings for high-recall retrieval.
- 🎯 Configurable Reranking: Integrate Jina AI or Cohere for precision tuning.
- 🔌 Native MCP Support: Exposes a standard JSON-RPC 2.0 endpoint for seamless integration with AI coding assistants.
- 🕸️ Smart Crawling: Recursive web crawling with depth control, regex exclusions, respect robot.txt, sitemap and
llms.txtllms-full.txtsupport. - 📄 OCR Pipeline: Automatically extracts text from scanned PDFs and images via Docling.
- 🖥️ Admin Dashboard: Manage sources, view ingestion status, and debug queries via a clean Vue.js interface.
🏗️ Architecture
Qurio is built as a set of microservices orchestrated by Docker Compose:
- Backend (Go): Core orchestration, API, and MCP server.
- Frontend (Vue.js): User interface for managing sources and settings.
- Ingestion Worker (Python): Async ingestion engine handling crawling (
crawl4ai) and parsing (docling). - Vector Store (Weaviate): Stores embeddings and handles hybrid search.
- Database (PostgreSQL): Stores metadata, job status, and configuration.
- Queue (NSQ): Manages asynchronous ingestion tasks.
🚀 Getting Started
Prerequisites
- Docker and Docker Compose
- A Google Gemini API Key (for embeddings)
Installation
-
Clone the repository:
git clone https://github.com/irahardianto/qurio.git cd qurio -
Configure Environment: Copy the example environment file and add your API key.
cp .env.example .env -
Start the System:
docker-compose up -dWait a minute for all services (Weaviate, Postgres) to initialize.
-
Access the Dashboard: Open http://localhost:3000 in your browser.
-
Add API Keys: Access http://localhost:3000/settings page in the dashboard, and add your Gemini and JinaAI/Cohoere(optional) API Keys
Configuration
Configuration is managed via the Settings page in the UI or environment variables.
| Variable | Description | Default |
|---|---|---|
GEMINI_API_KEY |
Key for Google Gemini (Embeddings) | Required |
RERANK_PROVIDER |
none, jina, cohere |
none |
RERANK_API_KEY |
API Key for selected provider | - |
SEARCH_ALPHA |
Hybrid search balance (0.0=Keyword, 1.0=Vector) | 0.5 |
SEARCH_TOP_K |
Max results to return | 5 |
💡 Usage
[!TIP] Unlock the full potential of your Agent<br> Check out the Agent Prompting Guide for best practices, workflow examples, and system prompt templates (
CLAUDE.md,GEMINI.md) to paste into your project.
1. Add Data Sources
Navigate to the Admin Dashboard (http://localhost:3000) and click "Add Source".
- Web Crawl: Enter a documentation URL (e.g.,
https://docs.docker.com). Configure depth and exclusion patterns. - File Upload: Drag and drop PDFs or Markdown files.
2. Connect Your AI Agent (MCP)
Configure your MCP-enabled editor (like Cursor/Gemini CLI) to connect to Qurio.
Add the following to your MCP settings:
{
"mcpServers": {
"qurio": {
"httpUrl": "http://localhost:8081/mcp"
}
}
}
Note: Qurio uses a stateless, streamable HTTP transport at http://localhost:8081/mcp. Use a client that supports native HTTP MCP connections.
3. Query
Ask your AI agent a question. It will now have access to the documentation you indexed!
"How do I configure a healthcheck in Docker Compose?"
4. Available Tools
Once connected, your agent will have access to the following tools:
| Tool | Description |
|---|---|
qurio_search |
Search your knowledge base. Supports hybrid search (keywords + vectors). Use this to find relevant documentation or code examples. |
qurio_list_sources |
List all available data sources. Useful to see what documentation is currently indexed. |
qurio_list_pages |
List pages within a source. Helpful for exploring the structure of a documentation site. |
qurio_read_page |
Read a full page. Retrieves the complete content of a specific document or web page found via search or listing. |
5. Roadmap
- [x] Rework crawler & embedder parallelization
- [x] Migrate to Streamable HTTP
- [ ] Supports multiple different models beyond Gemini
- [ ] Supports more granular i.e. section by section page retrieval
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
<p align="center"> Built with ❤️ for the Developer Community </p>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。