Enterprise DNA
M MCP Servers Developer low

shinpr/mcp-local-rag

by Various

Local-first RAG server for developers. Semantic + keyword search for code and technical docs. Works with MCP or CLI. Fully private, zero setup.

S

MCP

shinpr/mcp-local-rag

Added 1 June 2026

#agent-skills #developer-tools #hybrid-search #local-first #local-rag #mcp #mcp-server #privacy-first

Overview

Local-first RAG server for developers. Performs semantic and keyword search over code and technical documents. Runs as an MCP server or CLI tool with zero setup and full data privacy.

Best for

Best for
Developers who need private, local search over code and docs without external dependencies.

Use cases

  • Search codebases locally without sending data to the cloud
  • Query technical documentation using natural language
  • Integrate RAG capabilities into MCP-compatible development tools

How to use

Install

npx mcp-local-rag ingest ./docs/

Tools exposed

  • RAG_HYBRID_WEIGHT
  • RAG_GROUPING
  • RAG_MAX_DISTANCE
  • RAG_MAX_FILES
  • BASE_DIR
  • BASE_DIRS
  • DB_PATH
  • CACHE_DIR
  • MODEL_NAME
  • MAX_FILE_SIZE
  • CHUNK_MIN_LENGTH
  • RAG_DEVICE
  • RAG_DTYPE

Tested with

Claude Code, Cursor

Example client config

{\n  "mcpServers": {\n    "local-rag": {\n      "command": "npx",\n      "args": ["-y", "mcp-local-rag"],\n      "env": {\n        "BASE_DIR": "/path/to/your/documents"\n      }\n    }\n  }\n}

Notes

Local-first RAG server for developers. Performs semantic and keyword search over code and technical documents. Runs as an MCP server or CLI tool with zero setup and full data privacy.

290 stars on GitHub. Last updated 2026-05-23. Licensed MIT.

Use cases

  • Search codebases locally without sending data to the cloud
  • Query technical documentation using natural language
  • Integrate RAG capabilities into MCP-compatible development tools

Pros

  • Fully private, no data leaves the machine
  • Zero setup, works out of the box
  • Supports both MCP and CLI interfaces

Cons

  • Limited to local resources, may not handle very large datasets efficiently
  • Small community with 290 stars, fewer integrations and extensions
  • Relies on local compute, can be slower than cloud alternatives for complex queries

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Fully private, no data leaves the machine
  • Zero setup, works out of the box
  • Supports both MCP and CLI interfaces

Cons

  • Limited to local resources, may not handle very large datasets efficiently
  • Small community with 290 stars, fewer integrations and extensions
  • Relies on local compute, can be slower than cloud alternatives for complex queries
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks