#167167th of 253 in MCP servers for developers

mcp-local-rag

Local MCP server and CLI for hybrid search over PDF, DOCX, and Markdown

Stars
440
License
MIT
Last commit
Dec 2026
Last release
Dec 2026
Language
TypeScript
Stars, last 29 weeks+190
10 May 2026: 250 stars17 May 2026: 259 stars24 May 2026: 272 stars31 May 2026: 284 stars7 Jun 2026: 300 stars14 Jun 2026: 307 stars21 Jun 2026: 315 stars28 Jun 2026: 321 stars5 Jul 2026: 330 stars12 Jul 2026: 335 stars19 Jul 2026: 342 stars26 Jul 2026: 351 stars2 Aug 2026: 355 stars9 Aug 2026: 360 stars16 Aug 2026: 366 stars23 Aug 2026: 367 stars30 Aug 2026: 373 stars6 Sept 2026: 384 stars13 Sept 2026: 391 stars20 Sept 2026: 399 stars27 Sept 2026: 404 stars4 Oct 2026: 406 stars11 Oct 2026: 413 stars18 Oct 2026: 416 stars25 Oct 2026: 423 stars1 Nov 2026: 429 stars8 Nov 2026: 431 stars15 Nov 2026: 433 stars22 Nov 2026: 437 stars29 Nov 2026: 440 stars

250 on 10 May 2026440 on 29 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

mcp-local-rag indexes PDF, DOCX, Markdown, and text files into a LanceDB store and serves search to MCP clients or a CLI. Queries combine vector similarity with keyword boosting, and results return source passages with headings, line or page numbers. Embeddings run locally with Transformers.js (default Xenova/all-MiniLM-L6-v2), so ingestion and search work offline after the model download.

Who it is for: Developers giving MCP coding agents offline search over private documents

Strengths

  • Runs via npx with no API key, Docker, Python, or external database
  • Hybrid semantic plus keyword search catches exact API names and error codes
  • Same index usable from MCP clients and a CLI that emits JSON
  • File access limited to configured root directories; symlinks escaping them are rejected

Weaknesses

  • Excel, PowerPoint, images, and source-code files are not supported for ingestion
  • Single local user only; no authentication or access control
  • Multiple writers on the same DB_PATH are unsupported
  • PDF section headings may be inaccurate

What it needs

  • GPU optional
  • Needs Node.js 22.20+, LanceDB, Transformers.js, Hugging Face (first-run model download)
  • Models: Xenova/all-MiniLM-L6-v2 (default), Hugging Face embedding models with mean pooling and L2 normalization

What changed

  1. v0.23.4 ↗ (opens in a new tab)Security fix

    GHSA-GHV9-86VM-4V8M. “Upgraded LanceDB to 0.42.1, removing vulnerable versions of sharp and tar from the dependency tree. Updated cross-spawn to 7.1.2 to fix GHSA-ghv9-86vm-4v8m.”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in MCP servers for developers

See all 253
Also in MCP servers for developers
RankProjectScore
#165magic-mcpMCP proxy that gives coding agents 21st.dev UI component search and generation6.8k starsISC63 out of 100
#166adobe_premiere_pro_mcpMCP server that drives Adobe Premiere Pro through a CEP panel979 stars+173 (+21%) in 30 daysMIT63 out of 100
#168system-one-connectorMCP server giving coding agents typed, probability-scored judgments366 starsMIT63 out of 100
#169code2promptRust CLI that packs a codebase into one formatted LLM prompt7.8k starsMIT62 out of 100
#170aciTool-calling platform exposing 600+ integrations to agents via SDK or unified MCP server Live demo ↗ (opens in a new tab)4.9k starsApache-2.062 out of 100