Basic information
About MCP RAG Server
# MCP RAG Server
MCP RAG Server is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by sylphlab. Supported transport: stdio. Runtime: node. License: MIT license. The repository has 21 GitHub stars. Source code is hosted on github.com. Related topics: ai-agent, chromadb, math-assistant, math-solver, mathgpt.
Setup
{
"mcpServers": {
"rag-server-mcp-sylphlab": {
"command": "docker",
"args": [
"exec",
"ollama",
"ollama",
"pull",
"nomic-embed-text"
]
}
}
}
{
"mcpServers": {
"rag-server-mcp-sylphlab": {
"command": "docker",
"args": [
"exec",
"ollama",
"ollama",
"pull",
"nomic-embed-text"
]
}
}
}
{
"servers": {
"rag-server-mcp-sylphlab": {
"command": "docker",
"args": [
"exec",
"ollama",
"ollama",
"pull",
"nomic-embed-text"
]
}
}
}
MCP RAG Server — by sylphlab config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"rag-server-mcp-sylphlab": {
"command": "docker",
"args": [
"exec",
"ollama",
"ollama",
"pull",
"nomic-embed-text"
]
}
}
}
MCP RAG Server — by sylphlab tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP RAG Server?
MCP RAG Server is a Model Context Protocol (MCP) server that enables Retrieval Augmented Generation (RAG) for connected LLMs by indexing project documents and providing relevant context to enhance responses. It is built with Google Genkit, ChromaDB, and Ollama, and is designed for developers who want local, privacy‑focused RAG capabilities.
How to use MCP RAG Server?
The recommended setup uses Docker Compose: clone the repository, run docker-compose up -d --build, then pull the default embedding model with docker exec ollama ollama pull nomic-embed-text. Configure environment variables (e.g., CHROMA_URL, OLLAMA_HOST, INDEX_PROJECT_ON_STARTUP) in the docker-compose.yml file. The server exposes five MCP tools (indexDocuments, queryDocuments, removeDocument, removeAllDocuments, listDocuments) for integration with any MCP client.
Key features of MCP RAG Server
- Automatic indexing of project files on startup (configurable)
- Supports
.txt,.md, code files,.json,.jsonl,.csv - Hierarchical chunking for Markdown (text and code blocks separated)
- Uses ChromaDB for persistent vector storage
- Local embeddings via Ollama (default:
nomic-embed-text) - Exposes all RAG functions as standard MCP tools
Use cases of MCP RAG Server
- Enhance LLM responses with context from local project documentation and code
- Build a fully local, privacy‑preserving document Q&A system
- Automatically index source files to improve code‑assistance tools
- Combine MCP with RAG for domain‑specific knowledge retrieval
Frequently asked questions
1 What are the runtime dependencies of MCP RAG Server?
The server requires ChromaDB (vector store), Ollama (local embeddings), and Google Genkit. All are containerized when using Docker Compose.
2 How are documents indexed?
By default the server scans the project directory on startup and indexes all supported files. Automatic indexing can be disabled with the INDEX_PROJECT_ON_STARTUP environment variable, and manual indexing is available via the indexDocuments tool.
3 What file types does MCP RAG Server support?
It supports .txt, .md, code files (basic chunking), .json, .jsonl, and .csv.
4 How do I start MCP RAG Server?
The recommended method is Docker Compose: clone the repo, run docker-compose up -d --build, then pull the embedding model. For local development without Docker, ensure ChromaDB and Ollama are running, set the required environment variables, and run npm start.
5 Where are the embeddings and indexed data stored?
ChromaDB provides persistent vector storage. In the Docker Compose setup, the data is stored inside Docker volumes, ensuring it survives container restarts.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In