Mcp-local-rag MCP Server

Search private documents from an MCP client or the terminal without sending them to an embedding API.

Local serverstdioMIT

What is the Mcp-local-rag MCP Server?

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.

Installation

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.

Configuration values

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.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Mcp-local-rag MCP Server

{
  "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.

Configuration

VariableDescriptionRequired
BASE_DIRDeclared in the maintainer’s client configuration.Check documentation