MCP server · Privacy
Ragmir MCP server
by jcode-works
Lets your AI search your own code, PDFs, and Office files locally and answer with exact citations.
Ragmir is a local search tool for your own files. It builds a private index of your code, PDFs, Office documents, and scans, then lets your AI search that index and answer with exact citations. It is handy for developers and teams who want their AI to read their documents without sending everything to the cloud.
What is an MCP server? The 30-second version
On its own, your AI can only chat with what you paste in or what it already knows. An MCP server is a small helper program that gives your AI a new skill or a connection to something. Ragmir is that helper here: it connects your AI to a local index of your own files. When you ask a question, the AI uses Ragmir to search your documents and bring back the right passages with citations.
What this MCP server does
You point Ragmir at folders or file patterns, like your docs and source code. It reads those files once and builds a local search index on your machine. When you ask your AI a question, the AI asks Ragmir to search that index. Ragmir returns short passages with exact citations, such as a line number, PDF page, slide, or spreadsheet cell. If your files do not cover the question, Ragmir returns nothing instead of guessing.
What you can do with it
- Search your code, PDFs, and Office files from your AI chat
- Get answers with exact citations to lines, pages, slides, or cells
- Index more than 900 file types, including scans with optional local OCR
- Keep your files and index on your own machine, with no account or telemetry
- Measure retrieval quality on your own questions with a scoring command
- Keep the index fresh after commits, merges, and checkouts
- Refuse off-topic questions when your documents do not contain the answer
Try asking your AI
- “Search my docs and code for how permissions are checked and cite the exact lines”
- “Find the clause about termination in the contract PDF and show the page”
- “What does the onboarding slide deck say about refunds?”
- “Which files mention the authentication contract, and where?”
- “Summarize the spreadsheet cells about Q3 revenue with citations”
What it gives back to you
You get short passages from your own files, each with a citation you can open and check. Citations point to a source line, PDF page, slide, sheet cell, or exported object. Ragmir also tells you when a file changed after indexing or when the support for an answer is thin. If nothing in your files covers the question, you get nothing back instead of a made-up answer.
Before you start
What you need
- Node.js 22.12 or later
- A project folder with the files you want to search
- Optional: a local semantic model download if you want meaning-based search
- Optional: local OCR setup if you want to search scanned PDFs or photos
Good to know
Ragmir reads the files you point it at, so avoid indexing folders with secrets or private data you do not want searchable.
Install it with your AI
Add Ragmir MCP server to your AI, no technical skills needed
You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.
Sign in to get the install prompt
Members get a ready-made prompt that lets the Claude desktop app check Ragmir MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 5,046 MCP servers here for you.
Who it's for
Developers, technical writers, and teams who want their AI to search private code and documents locally with exact citations.





