Skip to content
Verified official

mcp local rag MCP

v0.19.0

io.github.shinpr/mcp-local-rag

Easy-to-setup local RAG server with minimal configuration

transport:stdio runtime:npm

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add mcp-local-rag -e BASE_DIR=<BASE_DIR> -e BASE_DIRS=<BASE_DIRS> -e DB_PATH=<DB_PATH> -e CACHE_DIR=<CACHE_DIR> -e HF_ENDPOINT=<HF_ENDPOINT> -e MODEL_NAME=<MODEL_NAME> -e MAX_FILE_SIZE=<MAX_FILE_SIZE> -e RAG_MAX_DISTANCE=<RAG_MAX_DISTANCE> -e RAG_GROUPING=<RAG_GROUPING> -e RAG_MAX_FILES=<RAG_MAX_FILES> -e CHUNK_MIN_LENGTH=<CHUNK_MIN_LENGTH> -e STORE_IMAGES=<STORE_IMAGES> -e RAG_DEVICE=<RAG_DEVICE> -e RAG_DTYPE=<RAG_DTYPE> -e RAG_HYBRID_WEIGHT=<RAG_HYBRID_WEIGHT> -e RAG_RERANK_CMD=<RAG_RERANK_CMD> -e RAG_RERANK_TIMEOUT_MS=<RAG_RERANK_TIMEOUT_MS> -- npx -y mcp-local-rag

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.