L'Agora
MCPLocal

io.github.shinpr/mcp-local-rag

Easy-to-setup local RAG server with minimal configuration

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by shinpr

Repository
github.com/shinpr/mcp-local-rag
Version
0.23.3
Author
shinpr (namespace verified by the registry)
Source
Official MCP registry (updated Nov 11, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Variables to fill in: BASE_DIR, BASE_DIRS, IGNORE_PATHS, DB_PATH, CACHE_DIR, HF_ENDPOINT, MODEL_NAME, MAX_FILE_SIZE, RAG_MAX_DISTANCE, RAG_GROUPING, RAG_MAX_FILES, CHUNK_MIN_LENGTH, STORE_IMAGES, EMBED_TITLE_PREFIX, EMBED_HEADING_PREFIX, RAG_DEVICE, RAG_DTYPE, RAG_HYBRID_WEIGHT, RAG_RERANK_CMD, RAG_RERANK_TIMEOUT_MS.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add mcp-local-rag -e BASE_DIR=YOUR_BASE_DIR -e BASE_DIRS=YOUR_BASE_DIRS -e IGNORE_PATHS=YOUR_IGNORE_PATHS -e DB_PATH=YOUR_DB_PATH -e CACHE_DIR=YOUR_CACHE_DIR -e HF_ENDPOINT=YOUR_HF_ENDPOINT -e MODEL_NAME=YOUR_MODEL_NAME -e MAX_FILE_SIZE=YOUR_MAX_FILE_SIZE -e RAG_MAX_DISTANCE=YOUR_RAG_MAX_DISTANCE -e RAG_GROUPING=YOUR_RAG_GROUPING -e RAG_MAX_FILES=YOUR_RAG_MAX_FILES -e CHUNK_MIN_LENGTH=YOUR_CHUNK_MIN_LENGTH -e STORE_IMAGES=YOUR_STORE_IMAGES -e EMBED_TITLE_PREFIX=YOUR_EMBED_TITLE_PREFIX -e EMBED_HEADING_PREFIX=YOUR_EMBED_HEADING_PREFIX -e RAG_DEVICE=YOUR_RAG_DEVICE -e RAG_DTYPE=YOUR_RAG_DTYPE -e RAG_HYBRID_WEIGHT=YOUR_RAG_HYBRID_WEIGHT -e RAG_RERANK_CMD=YOUR_RAG_RERANK_CMD -e RAG_RERANK_TIMEOUT_MS=YOUR_RAG_RERANK_TIMEOUT_MS -- npx -y [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "mcp-local-rag": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "BASE_DIR": "YOUR_BASE_DIR",
        "BASE_DIRS": "YOUR_BASE_DIRS",
        "IGNORE_PATHS": "YOUR_IGNORE_PATHS",
        "DB_PATH": "YOUR_DB_PATH",
        "CACHE_DIR": "YOUR_CACHE_DIR",
        "HF_ENDPOINT": "YOUR_HF_ENDPOINT",
        "MODEL_NAME": "YOUR_MODEL_NAME",
        "MAX_FILE_SIZE": "YOUR_MAX_FILE_SIZE",
        "RAG_MAX_DISTANCE": "YOUR_RAG_MAX_DISTANCE",
        "RAG_GROUPING": "YOUR_RAG_GROUPING",
        "RAG_MAX_FILES": "YOUR_RAG_MAX_FILES",
        "CHUNK_MIN_LENGTH": "YOUR_CHUNK_MIN_LENGTH",
        "STORE_IMAGES": "YOUR_STORE_IMAGES",
        "EMBED_TITLE_PREFIX": "YOUR_EMBED_TITLE_PREFIX",
        "EMBED_HEADING_PREFIX": "YOUR_EMBED_HEADING_PREFIX",
        "RAG_DEVICE": "YOUR_RAG_DEVICE",
        "RAG_DTYPE": "YOUR_RAG_DTYPE",
        "RAG_HYBRID_WEIGHT": "YOUR_RAG_HYBRID_WEIGHT",
        "RAG_RERANK_CMD": "YOUR_RAG_RERANK_CMD",
        "RAG_RERANK_TIMEOUT_MS": "YOUR_RAG_RERANK_TIMEOUT_MS"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "mcp-local-rag": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "BASE_DIR": "YOUR_BASE_DIR",
        "BASE_DIRS": "YOUR_BASE_DIRS",
        "IGNORE_PATHS": "YOUR_IGNORE_PATHS",
        "DB_PATH": "YOUR_DB_PATH",
        "CACHE_DIR": "YOUR_CACHE_DIR",
        "HF_ENDPOINT": "YOUR_HF_ENDPOINT",
        "MODEL_NAME": "YOUR_MODEL_NAME",
        "MAX_FILE_SIZE": "YOUR_MAX_FILE_SIZE",
        "RAG_MAX_DISTANCE": "YOUR_RAG_MAX_DISTANCE",
        "RAG_GROUPING": "YOUR_RAG_GROUPING",
        "RAG_MAX_FILES": "YOUR_RAG_MAX_FILES",
        "CHUNK_MIN_LENGTH": "YOUR_CHUNK_MIN_LENGTH",
        "STORE_IMAGES": "YOUR_STORE_IMAGES",
        "EMBED_TITLE_PREFIX": "YOUR_EMBED_TITLE_PREFIX",
        "EMBED_HEADING_PREFIX": "YOUR_EMBED_HEADING_PREFIX",
        "RAG_DEVICE": "YOUR_RAG_DEVICE",
        "RAG_DTYPE": "YOUR_RAG_DTYPE",
        "RAG_HYBRID_WEIGHT": "YOUR_RAG_HYBRID_WEIGHT",
        "RAG_RERANK_CMD": "YOUR_RAG_RERANK_CMD",
        "RAG_RERANK_TIMEOUT_MS": "YOUR_RAG_RERANK_TIMEOUT_MS"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "mcp-local-rag": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "BASE_DIR": "YOUR_BASE_DIR",
        "BASE_DIRS": "YOUR_BASE_DIRS",
        "IGNORE_PATHS": "YOUR_IGNORE_PATHS",
        "DB_PATH": "YOUR_DB_PATH",
        "CACHE_DIR": "YOUR_CACHE_DIR",
        "HF_ENDPOINT": "YOUR_HF_ENDPOINT",
        "MODEL_NAME": "YOUR_MODEL_NAME",
        "MAX_FILE_SIZE": "YOUR_MAX_FILE_SIZE",
        "RAG_MAX_DISTANCE": "YOUR_RAG_MAX_DISTANCE",
        "RAG_GROUPING": "YOUR_RAG_GROUPING",
        "RAG_MAX_FILES": "YOUR_RAG_MAX_FILES",
        "CHUNK_MIN_LENGTH": "YOUR_CHUNK_MIN_LENGTH",
        "STORE_IMAGES": "YOUR_STORE_IMAGES",
        "EMBED_TITLE_PREFIX": "YOUR_EMBED_TITLE_PREFIX",
        "EMBED_HEADING_PREFIX": "YOUR_EMBED_HEADING_PREFIX",
        "RAG_DEVICE": "YOUR_RAG_DEVICE",
        "RAG_DTYPE": "YOUR_RAG_DTYPE",
        "RAG_HYBRID_WEIGHT": "YOUR_RAG_HYBRID_WEIGHT",
        "RAG_RERANK_CMD": "YOUR_RAG_RERANK_CMD",
        "RAG_RERANK_TIMEOUT_MS": "YOUR_RAG_RERANK_TIMEOUT_MS"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

io.github.shinpr/mcp-local-rag · L’Agora

[io.github.shinpr/mcp-local-rag — L’Agora](https://lagora.dev/en/entry/io.github.shinpr/mcp-local-rag)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.shinpr/mcp-local-rag on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.shinpr/mcp-local-rag on L’Agora](https://lagora.dev/badge/io.github.shinpr/mcp-local-rag.svg?lang=en)](https://lagora.dev/en/entry/io.github.shinpr/mcp-local-rag)

HTML

<a href="https://lagora.dev/en/entry/io.github.shinpr/mcp-local-rag"><img src="https://lagora.dev/badge/io.github.shinpr/mcp-local-rag.svg?lang=en" alt="io.github.shinpr/mcp-local-rag on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

io.github.shinpr/mcp-image Local

io.github.shinpr/sub-agents-mcp Local

Report this entry