Easy-to-setup local RAG server with minimal configuration
What it says
The record the registry holds
How you get it
There is no address to call. This one is a package you install and run yourself, wherever your assistant runs.
mcp-local-rag · npm · 0.18.0
the recordCopied from the official MCP registry, exactly as it holds it.
{
"server": {
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.shinpr/mcp-local-rag",
"description": "Easy-to-setup local RAG server with minimal configuration",
"repository": {
"url": "https://github.com/shinpr/mcp-local-rag",
"source": "github"
},
"version": "0.18.0",
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "mcp-local-rag",
"version": "0.18.0",
"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": "Store supported PDF and DOCX images during ingestion and return them with matched chunks (defaults to false).",
"format": "string",
"name": "STORE_IMAGES"
},
{
"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"
}
]
}
]
},
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"statusChangedAt": "2026-08-23T04:33:46.02302Z",
"publishedAt": "2026-08-23T04:33:46.02302Z",
"updatedAt": "2026-08-23T04:33:46.02302Z",
"isLatest": true
}
}
}
Make it installable
Draft an Agent Plugin from this
An MCP server is raw capability: some tools, wired to something. An Agent Plugin is the packaging that says what job it does, what it leaves behind and where it stops. The prompt below carries this record and asks for the packaging; your own assistant writes it, and nothing here is sent anywhere.
What this is
MCP server
application/mcp-server-record+jsonlocal · you run it yourselfversion 0.18.0last seen 2026-08-23
These are the publisher's own words, filed by them with the official MCP registry and mirrored here. This catalog did not read them from the publisher and has not run, called or installed anything.