MCP Rag
A low-latency RAG service based on the MCP protocol, supporting local knowledge retrieval and intelligent summaries, providing dual-mode retrieval and a modular architecture
2.5 points
7.5K

What is the MCP-RAG service?

MCP-RAG is an intelligent knowledge retrieval service that can quickly search for relevant information from your local knowledge base. When you ask a question, the service will find the most relevant answers from the documents and materials you uploaded, and can also generate concise summaries as needed.

How to use the MCP-RAG service?

It's very easy to use: 1) Configure service parameters and upload documents through the web interface; 2) Ask questions directly in an AI assistant that supports the MCP protocol (such as Xiaozhi go); 3) The service will automatically retrieve relevant information from your knowledge base and return the answers.

Applicable scenarios

It is very suitable for scenarios such as enterprise knowledge base queries, personal document retrieval, technical support Q&A, and product document searches. It is especially suitable for users who need to quickly access knowledge in specific fields.

Main Features

Ultra-fast Retrieval
The retrieval response time is less than 100 milliseconds, providing an almost real-time knowledge query experience
Dual-mode Retrieval
Supports raw document retrieval (raw mode) and intelligent summary retrieval (summary mode) to meet different usage needs
Intelligent Summary
Integrates multiple AI models (Doubao, Ollama, etc.) and can intelligently summarize and refine the retrieval results
Web Management
Provides a user-friendly web interface for convenient service configuration, document upload, and management operations
Local Deployment
Supports full local deployment to ensure data security and privacy protection
Extensible Architecture
Modular design, supporting the addition of advanced functions such as reordering and caching in the future
Advantages
Fast response speed, retrieval latency less than 100ms
Supports local deployment, with full control over data
Provides a web management interface, simple and intuitive to operate
Supports multiple AI models, allowing flexible selection of suitable summary services
Modular design, facilitating function expansion and customization
Limitations
Requires pre-configuration and upload of knowledge documents
Retrieval quality depends on document quality and vectorization effect
The intelligent summary function requires the configuration of a valid AI model API
Initial use requires certain technical configuration

How to Use

Install Dependencies
Ensure that Python 3.13 or a higher version is installed, and use the uv package manager to install project dependencies
Configure the Service
Set service parameters through the web configuration interface, including configuration items such as AI models and vector databases
Upload Documents
Upload your knowledge documents on the document management page, supporting document files in multiple formats
Start the Service
Start the MCP-RAG service to start providing knowledge retrieval functions
Integrate and Use
Configure and use the RAG service in an AI assistant that supports the MCP protocol (such as Xiaozhi go)

Usage Examples

Enterprise Policy Query
Employees can quickly query the company's human resources policies, leave procedures, and other information
Technical Document Retrieval
Developers can search for API documents, technical specifications, or troubleshooting guides
Product Information Query
Sales or customer service personnel can quickly obtain product specifications, feature characteristics, and other information

Frequently Asked Questions

Does the MCP-RAG service require an internet connection?
Which document formats are supported?
What is the difference between the raw mode and the summary mode?
How to improve the retrieval accuracy?
What should I do if an error occurs when starting the service for the first time?

Related Resources

Official Documentation of the MCP Protocol
Understand the detailed technical specifications of the Model Context Protocol
Xiaozhi go Server
AI assistant server that supports the MCP protocol
FastAPI Framework
Documentation of the Web framework used in this project
ChromaDB Vector Database
Documentation of the vector database used in this project

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

H
Haiku.rag
Haiku RAG is an intelligent retrieval - augmented generation system built on LanceDB, Pydantic AI, and Docling. It supports hybrid search, re - ranking, Q&A agents, multi - agent research processes, and provides local - first document processing and MCP server integration.
Python
4.0K
5 points
C
Claude Context
Claude Context is an MCP plugin that provides in - depth context of the entire codebase for AI programming assistants through semantic code search. It supports multiple embedding models and vector databases to achieve efficient code retrieval.
TypeScript
12.1K
5 points
A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
12.5K
5 points
M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
12.7K
5 points
C
Cipher
Cipher is an open-source memory layer framework designed for programming AI agents. It integrates with various IDEs and AI coding assistants through the MCP protocol, providing core functions such as automatic memory generation, team memory sharing, and dual-system memory management.
TypeScript
0
5 points
A
Annas MCP
The MCP server and CLI tool of Anna's Archive are used to search for and download documents on the platform and support access through an API key.
Go
9.2K
4.5 points
S
Search1api
The Search1API MCP Server is a server based on the Model Context Protocol (MCP), providing search and crawling functions, and supporting multiple search services and tools.
TypeScript
16.2K
4 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
58.0K
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
20.2K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
58.0K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
18.7K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
29.8K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
25.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
53.7K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
38.7K
4.8 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
18.6K
4.5 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase