Search private documents from an MCP client or the terminal without sending them to an embedding API.
mcp-local-rag is an MCP project maintained in the shinpr/mcp-local-rag repository. The maintainer describes its purpose as “Search private documents from an MCP client or the terminal without sending them to an embedding API”. Read the project documentation for the complete scope.
The documented npm package is mcp-local-rag. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
The example declares BASE_DIR. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
{
"mcpServers": {
"local-rag": {
"command": "npx",
"args": [
"-y",
"mcp-local-rag"
],
"env": {
"BASE_DIR": "/absolute/path/to/your/documents"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| BASE_DIR | Declared in the maintainer’s client configuration. | Check documentation |
Official Redis server — search keys, inspect data structures and manage caches in natural language.
Enables AI agents and LLMs to interact with the web and extract information from web pages via the RAG Web Browser Actor.
Enables semantic search and retrieval of documentation using a vector database, allowing users to add and query documentation from URLs or local
Augments AI responses with relevant documentation context through vector search.
Augment AI responses with context by retrieving and processing documentation through vector search.
Enables semantic analysis of chat conversations through vector embeddings and knowledge graphs.