ragmir
Ragmir is an open-source retrieval layer designed specifically for coding agents and RAG systems, providing a TypeScript library, CLI, and MCP server that can run locally or on your own server. It can index code, Office files, PDFs, and scanned documents, and provide retrieval results with citations for Claude Code, Codex, LangChain, LlamaIndex, or self-built applications. It supports any model, requires no GPU, and requires no vector database to run. By default it uses local hash retrieval, running offline on CPU; local semantic models and OCR are optional. It provides exact citations, source status indicators, weak evidence markers, and the rgr evaluate quality assessment tool. It is suitable for RAG scenarios that require traceable citations, data privacy, and low operating costs.