74
/ 100
10 hours ago
glama

mcp-local-rag

A fully local RAG MCP server for semantic code search and code intelligence, using AST-level chunking and hybrid search to pinpoint functions, classes, and APIs. No cloud, no API keys, zero setup.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configBASE_DIRSet to the folder you want to search (BASE_DIRS for multiple roots — see [Configuration](#8-configuration-reference)).
configBASE_DIRSSet BASE_DIR to the folder you want to search ( for multiple roots — see [Configuration](#8-configuration-reference)).
configCACHE_DIRcache-dir ./models/ Model cache — recommend absolute path
configCHUNK_MIN_LENGTH## 8.3 Minimum Chunk Length ()
configCODEX_HOME
configDB_PATHexport =./my-db
configHF_MODEL_REVISION
configHTTPS_PROXYWith proxy () → direct to huggingface.co
configHTTP_PROXY
configMAX_FILE_SIZEmax-file-size 100 MB Max file size in bytes
configMODEL_NAMEmodel-name all-MiniLM-L6-v2 HuggingFace model ID
configRAG_DEVICE## 8.2 Execution Device ()
configRAG_DTYPEcontrols ONNX precision (fp32 / fp16 / q8). Default fp32; use q8 when memory-constrained. ⚠️ Changing models or dtype requires deleting DB_PATH and re-indexing.
configRAG_INSTANCES
configRAG_WATCHSet =true — the server starts recursive fs.watch on baseDirs (500ms debounce):
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/damoqiongqiu-mcp-local-rag-1nlc37)](https://m8ven.ai/mcp/damoqiongqiu-mcp-local-rag-1nlc37)
commit: 3e94e45f842ed9a9119fcd90469f02b78c951a7b
code hash: 9010090a19c29f40f18fc3d2cff87d1f788c55f56c3e09876f9c1b3472d51769
verified: 7/31/2026, 9:07:47 AM
view raw JSON →