L'Atlas / Serveurs MCP / mcp-local-rag
Serveur MCP

mcp-local-rag

io.github.shinpr/mcp-local-rag

Serveur MCP Non testé

Faire examiner Voir les tarifs

Easy-to-setup local RAG server with minimal configuration

Fiche technique

Auteur
shinpr (espace de noms du registre)
Dépôt
github.com/shinpr/mcp-local-rag
Site
—
Version
0.23.3
Transport
stdio
Authentification
Aucune (déclarée au registre)
Paquets
mcp-local-rag 0.23.3 npm stdio
Outils
—
Catégories
IA, agents et mémoire
Dernière mise à jour
11 nov. 2026
Publication
11 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi. Dernier test non réussi : le badge affiche seulement « référencé ».

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.shinpr/mcp-local-rag.svg)](https://latlas.dev/mcp/io.github.shinpr/mcp-local-rag)
HTML
<a href="https://latlas.dev/mcp/io.github.shinpr/mcp-local-rag"><img src="https://latlas.dev/badge/fiche/io.github.shinpr/mcp-local-rag.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Aucune adresse distante publiée : ce serveur se lance en local, nous ne le testons pas.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport non listédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Lancement local du paquet mcp-local-rag (npm). Formats repris de la documentation de chaque client.

Claude Code
claude mcp add-json mcp-local-rag '{"command":"npx","args":["-y","[email protected]"]}'
Claude (claude.ai, Claude Desktop, Cowork)claude_desktop_config.json (macOS : ~/Library/Application Support/Claude/ ; Windows : %APPDATA%\Claude\ ; Linux : ~/.config/Claude/)
{
  "mcpServers": {
    "mcp-local-rag": {
      "command": "npx",
      "args": ["-y","[email protected]"]
    }
  }
}
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mcp-local-rag": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y","[email protected]"]
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mcp-local-rag": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y","[email protected]"],
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mcp-local-rag": {
      "command": "npx",
      "args": ["-y","[email protected]"]
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mcp-local-rag": {
      "command": "npx",
      "args": ["-y","[email protected]"]
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.mcp-local-rag]
command = "npx"
args = ["-y","[email protected]"]

Variables d’environnement déclarées

NomRequiseDescription
BASE_DIRnonBase directory for document storage (defaults to current working directory). Ignored when BASE_DIRS is set.
BASE_DIRSnonJSON array of base directories (e.g. '["/a","/b"]'). Takes precedence over BASE_DIR.
IGNORE_PATHSnonJSON array of glob patterns for files to keep out of the index, each matched against the file's path relative to its root (e.g. '["plugs/**","**/*.draft.md"]').
DB_PATHnonPath to LanceDB database directory (defaults to ./lancedb/)
CACHE_DIRnonDirectory where Transformers.js models are cached (defaults to ./models/)
HF_ENDPOINTnonHugging Face model download endpoint. Set this to a mirror URL when direct downloads are blocked (defaults to https://huggingface.co).
MODEL_NAMEnonEmbedding model name (defaults to Xenova/all-MiniLM-L6-v2)
MAX_FILE_SIZEnonMaximum file size in bytes (defaults to 104857600 / 100MB)
RAG_MAX_DISTANCEnonMaximum 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_GROUPINGnonGrouping 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_FILESnonMaximum 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_LENGTHnonMinimum chunk length in characters (1-10000, defaults to 50). Chunks shorter than this threshold are filtered out during ingestion.
STORE_IMAGESnonStore supported PDF and DOCX images during ingestion and return them with matched chunks (defaults to false).
EMBED_TITLE_PREFIXnonEmbed each chunk together with its document title, which can help when passages don't restate the topic the title names (defaults to false). After changing it, use a new DB_PATH or delete the index a…
EMBED_HEADING_PREFIXnonAdd section headings to chunk embeddings when they fit (defaults to false). Independent of EMBED_TITLE_PREFIX. Re-ingest documents after changing it.
RAG_DEVICEnonExecution 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_DTYPEnonEmbedding 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_WEIGHTnonKeyword 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_RERANK_CMDnonExternal reranker command template. Use {query} and {top} for query text and result count; unset disables reranking.
RAG_RERANK_TIMEOUT_MSnonTime budget per rerank call in milliseconds (100-600000, defaults to 10000). On timeout the spawned command is killed and the pre-rerank ordering is returned.

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

mcp-local-rag · L’Atlas

Markdown
[mcp-local-rag — L’Atlas](https://latlas.dev/mcp/io.github.shinpr/mcp-local-rag)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.