mcp-local-rag
io.github.damoqiongqiu/mcp-local-rag
MCP server Not tested
Semantic code & doc search with keyword boost. AST code nav, auto HF mirror, local, privacy-first.
Technical sheet
- Author
- damoqiongqiu (registry namespace)
- Repository
- github.com/damoqiongqiu/mcp-local-rag
- Site
- —
- Version
- 0.21.0
- Transport
- stdio
- Authentication
- None (declared in the registry)
- Packages
- @damoqiongqiu/mcp-local-rag 0.21.0 npm stdio
- Tools
- —
- Categories
- AI, agents and memory
- Last updated
- 23 Jul 2026
- Published
- 23 Jul 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: no successful test not yet
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.damoqiongqiu/mcp-local-rag)<a href="https://latlas.dev/en/mcp/io.github.damoqiongqiu/mcp-local-rag"><img src="https://latlas.dev/badge/statut/mcp/io.github.damoqiongqiu/mcp-local-rag.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.
[](https://latlas.dev/en/mcp/io.github.damoqiongqiu/mcp-local-rag)<a href="https://latlas.dev/en/mcp/io.github.damoqiongqiu/mcp-local-rag"><img src="https://latlas.dev/badge/fiche/io.github.damoqiongqiu/mcp-local-rag.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
No remote address published: this server runs locally, so we do not test it.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport not listed | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Local launch of package @damoqiongqiu/mcp-local-rag (npm). Formats taken from each client’s documentation.
claude mcp add-json mcp-local-rag '{"command":"npx","args":["-y","@damoqiongqiu/[email protected]"]}'{
"mcpServers": {
"mcp-local-rag": {
"command": "npx",
"args": ["-y","@damoqiongqiu/[email protected]"]
}
}
}{
"mcpServers": {
"mcp-local-rag": {
"type": "stdio",
"command": "npx",
"args": ["-y","@damoqiongqiu/[email protected]"]
}
}
}{
"mcpServers": {
"mcp-local-rag": {
"type": "stdio",
"command": "npx",
"args": ["-y","@damoqiongqiu/[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"mcp-local-rag": {
"command": "npx",
"args": ["-y","@damoqiongqiu/[email protected]"]
}
}
}{
"mcpServers": {
"mcp-local-rag": {
"command": "npx",
"args": ["-y","@damoqiongqiu/[email protected]"]
}
}
}[mcp_servers.mcp-local-rag]
command = "npx"
args = ["-y","@damoqiongqiu/[email protected]"]Declared environment variables
| Name | Required | Description |
|---|---|---|
| BASE_DIR | no | Base directory for document storage (defaults to current working directory). Ignored when BASE_DIRS is set. |
| BASE_DIRS | no | JSON array of base directories (e.g. '["/a","/b"]'). Takes precedence over BASE_DIR. |
| DB_PATH | no | Path to LanceDB database directory (defaults to ./lancedb/) |
| CACHE_DIR | no | Directory where Transformers.js models are cached (defaults to ./models/) |
| MODEL_NAME | no | Embedding model name (defaults to Xenova/all-MiniLM-L6-v2) |
| MAX_FILE_SIZE | no | Maximum file size in bytes (defaults to 104857600 / 100MB) |
| RAG_MAX_DISTANCE | no | Maximum distance threshold for filtering search results. Results with distance greater than this value will be excluded. Lower values mean stricter filtering (e.g., 0.5 for high relevance only) |
| RAG_GROUPING | no | Grouping mode for quality filtering. 'similar' returns only the most similar group (stops at first distance jump). 'related' includes related groups (stops at second distance jump). Unset means no gr… |
| RAG_MAX_FILES | no | Maximum number of files to keep in search results. Results are filtered to include only chunks from the top N best-scoring files. For example, 1 returns only the single best-matching file's chunks. U… |
| CHUNK_MIN_LENGTH | no | Minimum chunk length in characters (1-10000, defaults to 50). Chunks shorter than this threshold are filtered out during ingestion. |
| RAG_DEVICE | no | Execution device for the embedder (defaults to cpu). Passed straight to ONNX Runtime; see the Transformers.js device source for the supported backend names. If the requested device fails to initializ… |
| RAG_DTYPE | no | Embedding quantization dtype for the embedder (defaults to fp32). Opt-in and pass-through; accepts any dtype the chosen model provides (fp32, fp16, q8, int8, ...). If the model has no variant for the… |
| RAG_HYBRID_WEIGHT | no | Keyword boost factor for hybrid search (0.0-1.0, defaults to 0.6). 0 means semantic similarity only; higher values increase the keyword-match contribution to the final score. |
| RAG_WATCH | no | Enable automatic file watcher to detect changes and re-index modified files (true/1 to enable). Useful during active development. |
| HF_ENDPOINT | no | Explicit HuggingFace endpoint URL to use for model downloads. When set, auto-mirror detection is skipped and this URL is used directly. Useful when you have a full-featured mirror. |
| HF_AUTO_MIRROR | no | Enable automatic mirror detection for HuggingFace downloads (defaults to true). Set to "false" or "0" to disable and use huggingface.co directly. The mirror chain is: huggingface.co → hf-mirror.com →… |
| HTTPS_PROXY | no | HTTPS proxy URL for downloading embedding models (e.g. http://proxy:8080). Required only if behind a corporate proxy. |
| HTTP_PROXY | no | HTTP proxy URL for downloading embedding models. Fallback if HTTPS_PROXY is not set. |
Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
[mcp-local-rag — L’Atlas](https://latlas.dev/en/mcp/io.github.damoqiongqiu/mcp-local-rag)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.