Local Rag MCP Server

Your agent starts every session blind — guessing filenames, grepping for keywords, burning context on irrelevant files, and forgetting everything you discussed yesterday.

Local serverstdioApache-2.0

What is the Local Rag MCP Server?

Local Rag is an MCP project maintained in the thewinci/local-rag repository. The maintainer describes its purpose as “Your agent starts every session blind — guessing filenames, grepping for keywords, burning context on irrelevant files, and forgetting everything you discussed yesterday”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using bunx. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares RAG_PROJECT_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 Local Rag MCP Server

{
  "mcpServers": {
    "mimirs": {
      "command": "bunx",
      "args": [
        "mimirs@^1",
        "serve"
      ],
      "env": {
        "RAG_PROJECT_DIR": "/absolute/path/to/your/project"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

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