MCP directory
DR

Docs RAG

by github.com/Ahmed-Manai · v0.2.0 · updated Nov 24, 2026

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

NuGet

Run it locally

Install the package and point your AI client at it.

NuGet

dnx DocsRagMcp --yes

Environment variables

  • DOCSRAG_PROVIDER

    Embedding provider: ollama (default), openai or azure.

  • DOCSRAG_MODEL

    Embedding model, or the deployment name for Azure OpenAI. Defaults to nomic-embed-text (Ollama) or text-embedding-3-small (OpenAI).

  • DOCSRAG_ENDPOINT

    Service URL. Required for Azure OpenAI; optional for Ollama (http://localhost:11434) and OpenAI-compatible APIs.

  • DOCSRAG_API_KEYsecret

    API key for OpenAI or Azure OpenAI. Leave it out for Azure to sign in with Microsoft Entra ID.

  • DOCSRAG_ALLOWED_PATHS

    Folders the server may index, separated by ; on Windows or : on macOS and Linux.

  • DOCSRAG_DATABASE

    Path of the SQLite index file. Defaults to ~/.docs-rag-mcp/index.db.

  • DOCSRAG_SEARCH_MODE

    hybrid (default) combines keyword and vector ranking; vector uses vector similarity only.

More MCP servers