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
rating : 2.5 points
downloads : 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

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

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

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

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

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

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

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

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



