{"servers":[{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"io.github.damoqiongqiu/mcp-local-rag","description":"Semantic code & doc search with keyword boost. AST parsing, local embeddings, privacy-first.","repository":{"url":"https://github.com/damoqiongqiu/mcp-local-rag","source":"github"},"version":"0.18.6","packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"@damoqiongqiu/mcp-local-rag","version":"0.18.6","transport":{"type":"stdio"},"environmentVariables":[{"description":"Base directory for document storage (defaults to current working directory). Ignored when BASE_DIRS is set.","format":"string","name":"BASE_DIR"},{"description":"JSON array of base directories (e.g. '[\"/a\",\"/b\"]'). Takes precedence over BASE_DIR.","format":"string","name":"BASE_DIRS"},{"description":"Path to LanceDB database directory (defaults to ./lancedb/)","format":"string","name":"DB_PATH"},{"description":"Directory where Transformers.js models are cached (defaults to ./models/)","format":"string","name":"CACHE_DIR"},{"description":"Embedding model name (defaults to Xenova/all-MiniLM-L6-v2)","format":"string","name":"MODEL_NAME"},{"description":"Maximum file size in bytes (defaults to 104857600 / 100MB)","format":"string","name":"MAX_FILE_SIZE"},{"description":"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)","format":"string","name":"RAG_MAX_DISTANCE"},{"description":"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 grouping filter","format":"string","name":"RAG_GROUPING"},{"description":"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. Unset means no file filtering.","format":"string","name":"RAG_MAX_FILES"},{"description":"Minimum chunk length in characters (1-10000, defaults to 50). Chunks shorter than this threshold are filtered out during ingestion.","format":"string","name":"CHUNK_MIN_LENGTH"},{"description":"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 initialize, the server throws an error.","format":"string","name":"RAG_DEVICE"},{"description":"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 requested dtype, the server throws an error. Changing this changes the embedding space — re-ingest existing data.","format":"string","name":"RAG_DTYPE"},{"description":"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.","format":"string","name":"RAG_HYBRID_WEIGHT"},{"description":"Enable automatic file watcher to detect changes and re-index modified files (true/1 to enable). Useful during active development.","format":"string","name":"RAG_WATCH"},{"description":"HTTPS proxy URL for downloading embedding models (e.g. http://proxy:8080). Required only if behind a corporate proxy.","format":"string","name":"HTTPS_PROXY"},{"description":"HTTP proxy URL for downloading embedding models. Fallback if HTTPS_PROXY is not set.","format":"string","name":"HTTP_PROXY"}]}]},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-07-11T14:51:25.534914Z","publishedAt":"2026-07-11T14:51:25.534914Z","updatedAt":"2026-07-11T14:51:25.534914Z","isLatest":true}}}],"metadata":{"count":1}}
