Which embedding providers are supported?
The server supports OpenAI, Ollama, Granite, and Nomic. Ollama with the `nomic-embed-text` model is recommended for best performance.
@kwanLeeFrmVi
Basic information
mcp-rag-server is a Model Context Protocol (MCP) server that enables Retrieval Augmented Generation (RAG) capabilities. It empowers Large Language Models (LLMs) to answer questions based on your document content by indexing and retrieving relevant information efficiently.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-rag-server-kwanleefrmvi": {
"command": "npx",
"args": [
"mcp-rag-server"
]
}
}
}Add documents from directory path or file path for RAG embedding and store to DB. Supported file types: .json, .jsonl, .txt, .md, .csv
Query indexed documents using RAG
Remove a specific document from the index by file path
Remove all documents from the index
List all document paths in the index
mcp-rag-server is a Model Context Protocol (MCP) server that enables Retrieval Augmented Generation (RAG). It indexes local documents and serves relevant context to Large Language Models, integrating with MCP-compatible clients.
Install globally (npm install -g mcp-rag-server) or run via npx. Set environment variables (BASE_LLM_API, EMBEDDING_MODEL, VECTOR_STORE_PATH, CHUNK_SIZE) then start the server. Use MCP tools like embedding_documents and query_documents to index and retrieve content. An example MCP client configuration is provided in the README.
The server supports OpenAI, Ollama, Granite, and Nomic. Ollama with the `nomic-embed-text` model is recommended for best performance.
It supports `.txt`, `.md`, `.json`, `.jsonl`, and `.csv` files.
Vectors are stored locally in a SQLite database via LangChain’s LibSQLVectorStore. The path is configured with the `VECTOR_STORE_PATH` environment variable.
Key variables are `BASE_LLM_API`, `EMBEDDING_MODEL`, `VECTOR_STORE_PATH`, and `CHUNK_SIZE`. An optional `LLM_API_KEY` can be set for providers that require it.
Install globally (`npm install -g mcp-rag-server`) and run `mcp-rag-server`, or use `npx mcp-rag-server`. Ensure all required environment variables are set before starting.

Sooveryn gives Claude Code a team of AI personas that remembers your project. Soov, the partner and team lead, keeps your decisions and how you work in a lasting memory, and finds them again by words and by meaning, from

Serve your docs to AI agents over SSH and MCP. Agents use ls, cat, grep, find, and pipes against a virtual filesystem backed by your documentation. Identity-scoped access, governed writing with human approval, and portab
Memlord is a remote MCP server available at https://app.memlord.com.
Local MCP server and CLI that keeps a Git-versioned, model-written index of a codebase and its database schema, so coding agents start each task with the whole system in view.

Islamic source data for assistants: Quran, hadith, tafsir, duas, prayer times and qibla. Answers come from real sources with citations instead of recalled text, so verses and hadith are not hallucinated. 36,000+ hadiths
Comments