
Description
mcp-local-rag is a local document search server for MCP clients and the terminal. It indexes PDF, DOCX, Markdown and text files on your own machine and searches them with a mix of semantic similarity and keyword matching, so exact names such as API names, class names and error codes can be found. Results include source passages and, where available, headings, line numbers or page numbers, so you can check the original text. It needs Node.js 22.20 or later and a folder of documents, which you set as BASE_DIR. That folder also limits the files the server can touch. The first sync downloads an embedding model of about 90 MB, after which ingestion and search work offline, with no API key, Docker, Python or external database. The README shows setup for Claude Code, Codex, OpenCode and Cursor, and the project is public on GitHub.…
Highlights
- Semantic and keyword search over local documents
- Supports PDF, DOCX, Markdown and text files
- Results cite passages with page or line numbers
- Works offline after the first model download
- Setup shown for Claude Code, Codex, OpenCode and Cursor
Ratings & Reviews
No ratings yet
Be the first to rate shinpr/mcp-local-rag.
People also visit

openai-office-skills
Official OpenAI skills for PDF, Word, PowerPoint, and Excel document processing
shinpr/mcp-local-rag FAQ
What files can it search?
PDF, DOCX, Markdown and text files inside the folder you set as BASE_DIR.
Does it send my documents to an API?
The README says documents are searched without an embedding API. The first sync downloads the default embedding model, about 90 MB, and after that ingestion and search run offline.
What do I need to run it?
Node.js 22.20 or later, internet access on first use, and a directory of documents. The README lists no API key, Docker, Python or external database.
Which AI clients can use it?
The README gives setup steps for Claude Code, Codex, OpenCode and Cursor, and it also has a CLI quick start.
Is it open source?
Yes. The project is a public GitHub repository.
What are the best shinpr/mcp-local-rag alternatives?
Popular alternatives to shinpr/mcp-local-rag include tomohiro-owada/devrag, llamaparse and nemo-retriever. See all shinpr/mcp-local-rag alternatives











