Ragdocs MCP Server

Augments AI responses with relevant documentation context through vector search.

Local serverstdio 62

What is the Ragdocs MCP server?

Augments AI responses with relevant documentation context through vector search. Exposed over MCP by the ragdocs mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

An MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.

Adding it to your client

kill-port on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Its toolset

Everything the assistant can do here goes through one of these:

  • Tools — 8. add_documentation - Add new documentation directly to the system by providing a URL - Automatically fetches, processes, and indexes the

Configuration

You will need 6 environment variables: EMBEDDING_PROVIDER, EMBEDDING_MODEL, OPENAI_API_KEY, FALLBACK_PROVIDER, FALLBACK_MODEL, QDRANT_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the ragdocs mcp server does with a few real requests.

When to reach for it

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Ragdocs's toolset — Tools — is a fair guide to whether it matches your workflow. It is maintained by rahulretnan; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
Tools8. **add_documentation** - Add new documentation directly to the system by providing a URL - Automatically fetches, processes, and indexes the content - Supports various web page formats and extracts relevant content - C

How to install the Ragdocs MCP server

{
  "mcpServers": {
    "rag-docs": {
      "command": "node",
      "args": ["/path/to/your/mcp-ragdocs/build/index.js"],
      "env": {
        "EMBEDDING_PROVIDER": "ollama", // default
        "EMBEDDING_MODEL": "nomic-embed-text", // optional
        "OPENAI_API_KEY": "your-api-key-here", // required for fallback
        "FALLBACK_PROVIDER": "openai", // recommended for reliability
        "FALLBACK_MODEL": "nomic-embed-text", // optional
        "QDRANT_URL": "http://localhost:6333"
      },
      "disabled": false,
      "autoApprove": [
        "search_documentation",
        "list_sources",
        "extract_urls",
        "remove_documentation",
        "list_queue",
        "run_queue",
        "clear_queue",
        "add_documentation",
        "add_repository",
        "list_repositories",
        "update_repository",
        "remove_repository",
        "watch_repository",
        "get_indexing_status"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
EMBEDDING_PROVIDERConfiguration value read at startup.Optional
EMBEDDING_MODELConfiguration value read at startup.Optional
OPENAI_API_KEYCredential the server authenticates with.Yes
FALLBACK_PROVIDERConfiguration value read at startup.Optional
FALLBACK_MODELConfiguration value read at startup.Optional
QDRANT_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Ragdocs to Tools.

Frequently asked questions

Ragdocs uses vector search to index your documentation. When an AI assistant needs information, Ragdocs searches the documentation index and provides relevant excerpts to the AI, along with source information.