Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

Grounded Docs MCP Server 🔌 MCP server Open source

Self-hosted, version-specific documentation index for coding agents, an open Context7 alternative

Docs & code context MCP servers · Open source ★ 1.8k · +21 this week · MIT · updated 2026-09-28

7.6editor score
Visit Grounded Docs MCP Server ↗
GitHub stars
1.8k
Stars this week
+21
Forks
185
Licence
MIT
Last push
2026-09-28
Maintainer
arabold
Installclaude mcp add docs-mcp-server -- npx -y @arabold/docs-mcp-server@latest

Third-party MCP servers run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open MCP standard, so it works in every app that supports MCP.

About Grounded Docs MCP Server

What it does

Grounded Docs, published as Docs MCP Server, builds a private index of the library documentation your project depends on so your coding agent can look up current, version-specific answers instead of guessing. You point it at documentation websites, GitHub repositories, npm or PyPI packages, local folders or zip archives. It crawls them, splits the content into chunks and stores them locally. Your agent can then search a particular library at a particular version. It handles HTML, Markdown, PDF, Office documents, notebooks and source code, and it uses llms.txt when a site publishes one. Search works on keywords alone, and you can add an embedding provider for semantic search. It is a self-hosted alternative to services such as Context7 and Ref.

Tools it gives your agent

  • scrape_docs and refresh_version index a library, or re-index one
  • search_docs, list_libraries and find_version query the index
  • fetch_url fetches a single page as Markdown
  • list_jobs, get_job_info, cancel_job and clear_completed_jobs manage indexing jobs
  • remove_docs deletes a library from the index

Works with

It runs on your own machine through Node.js or Docker. You can launch it over stdio or run it as a long-lived server with SSE and Streamable HTTP endpoints plus a web UI on port 6280. The docs include setup for Claude Desktop, Cursor, Windsurf, Zed, and Cline and Roo in VS Code. It also ships a CLI and Agent Skills for agents that prefer shell commands.

How to connect

Start the server and add documentation through the web UI, then connect your client:

npx @arabold/docs-mcp-server@latest
{
  "mcpServers": {
    "docs-mcp-server": {
      "type": "sse",
      "url": "http://localhost:6280/sse"
    }
  }
}

Cost and limits

Free under the MIT licence and requires Node.js 22+. Semantic search is optional but recommended. It needs an embedding provider, such as OpenAI with your own API key or a local Ollama model, and each provider has its own cost.

Safety notes

The server fetches remote URLs and can read local files. By default it blocks private network targets and limits file access to allowed roots, so keep those defaults unless you trust the host. If you expose it beyond localhost, turn on its OAuth2 authentication. Anonymous usage telemetry is sent to PostHog, and you can turn it off with --no-telemetry or DOCS_MCP_TELEMETRY=false.

documentation rag context version-specific self-hosted

Pros

  • Indexes websites, GitHub repos, npm/PyPI packages and local files on your own machine
  • Queries target a specific library version
  • Web UI, CLI and Agent Skills alongside the MCP server

Cons

  • Best search quality needs an embedding provider, which may cost money or need a local model
  • Anonymous telemetry is on by default

Context7 🔌 MCP serverFreemium

Up-to-date, version-specific library documentation for your coding agent

★ 63k · +180 this week

MCP Python SDK 🔌 MCP serverOpen source

The official Python SDK for building Model Context Protocol servers and clients

★ 24k · +55 this week

8.5 Visit ↗

Serena 🔌 MCP serverFree

Semantic code retrieval and editing toolkit for agents, powered by language servers

★ 30k · +146 this week

Codebase Memory MCP 🔌 MCP serverOpen source

Local knowledge graph of your repo so agents query call chains instead of grepping files

★ 46k · +765 this week

7.8 Visit ↗

pg-aiguide 🔌 MCP serverOpen source

MCP server and skills giving coding agents versioned PostgreSQL and TimescaleDB expertise

★ 1.9k · +7 this week

MCP Memory Service 🔌 MCP serverOpen source

Self-hosted persistent memory for coding agents with semantic search and a knowledge graph

★ 2.0k · +15 this week

7.6 Visit ↗

Popular searches