Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/zongzi-zongzhi/local-RagWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/mcp/zongzi-zongzhi/local-rag/local.local-rag)<a href="https://agentmods.dev/mcp/zongzi-zongzhi/local-rag/local.local-rag"><img src="https://agentmods.dev/badge/mcp/zongzi-zongzhi/local-rag/local.local-rag/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/mcp/zongzi-zongzhi/local-rag/local.local-rag"><img src="https://agentmods.dev/badge/mcp/zongzi-zongzhi/local-rag/local.local-rag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
local.local-rag scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
83% identical to mcp-local-rag — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
{
"local.local-rag": {
"command": "npx",
"args": [
"-y",
"local-rag"
],
"env": {
"BASE_DIR": "",
"BASE_DIRS": "",
"DB_PATH": "",
"CACHE_DIR": "",
"MODEL_NAME": "",
"MAX_FILE_SIZE": "",
"RAG_MAX_DISTANCE": "",
"RAG_GROUPING": "",
"RAG_MAX_FILES": "",
"CHUNK_MIN_LENGTH": "",
"RAG_DEVICE": "",
"RAG_DTYPE": "",
"RAG_HYBRID_WEIGHT": ""
}
}
}What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 24 lines scan A c9b2252eaa90
local.local-rag is an MCP server published in the GitHub repository zongzi-zongzhi/local-Rag (0 stars, last pushed 2mo ago), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. It is 83% identical to mcp-local-rag, differing in 11 lines, and is treated as a copy.
Other mcp servers, from other repositories
haiku-rag
Local-first agentic RAG with citations - hybrid search, reranking and multimodal retrieval over your own documents, no database server required. Runs locally from the haiku-rag Python package.
rag-rat
CLI and MCP entrypoint for indexing repositories into local source, graph, history, and memory evidence. Runs locally from the @rag-rat/bin npm package.
koma-gate-mcp
Classifies prompt injection, jailbreaks, and out-of-scope user input before agents act on it. Runs locally from the koma-gate-mcp npm package. Needs 6 environment variables to run.
mixedbread
MCP server "mixedbread", hosted remotely at www.mcp.mixedbread.com, as configured in mixedbread-ai/skills. Needs 1 environment variable to run.
hubmesh
Centrality-aware GraphRAG retrieval planner — drop-in layer over any vector DB. Runs locally from the hubmesh Python package.
kb
MCP server "kb", hosted remotely at 127.0.0.1, as configured in fish827-08/rag-kb.