Skip to main content

Docs RAG

io.github.Ahmed-Manai/docs-rag-mcp

v0.6.0Updated Nov 25, 2026stdio · NuGet

Search your own documents (Markdown, text, PDF) with RAG from Claude, Copilot or Cursor.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add docs-rag-mcp -e DOCSRAG_PROVIDER=ollama -e DOCSRAG_SEARCH_MODE=hybrid -e DOCSRAG_WATCH=true -- dnx [email protected] --yes

Configuration

8 settings.

  • DOCSRAG_API_KEY
    Env var· optional· secret
    API key for OpenAI or Azure OpenAI. Leave it out for Azure to sign in with Microsoft Entra ID.
  • DOCSRAG_PROVIDER
    Env var· optional
    Embedding provider: ollama (default), openai or azure.Default: ollama
  • DOCSRAG_MODEL
    Env var· optional
    Embedding model, or the deployment name for Azure OpenAI. Defaults to nomic-embed-text (Ollama) or text-embedding-3-small (OpenAI).
  • DOCSRAG_ENDPOINT
    Env var· optional
    Service URL. Required for Azure OpenAI; optional for Ollama (http://localhost:11434) and OpenAI-compatible APIs.
  • DOCSRAG_ALLOWED_PATHS
    Env var· optional
    Folders the server may index, separated by ; on Windows or : on macOS and Linux.
  • DOCSRAG_DATABASE
    Env var· optional
    Path of the SQLite index file. Defaults to ~/.docs-rag-mcp/index.db.
Show 2 more
  • DOCSRAG_SEARCH_MODE
    Env var· optional
    hybrid (default) combines keyword and vector ranking; vector uses vector similarity only.Default: hybrid
  • DOCSRAG_WATCH
    Env var· optional
    true (default) watches indexed folders and indexes changes automatically; false indexes only when index_folder is called.Default: true

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.