Grounded Docs MCP Server
Give your AI coding assistant up-to-date, version-specific documentation to reduce hallucinations and keep context fresh.
- Source repo
- arabold/docs-mcp-server
- Stars
- ★ 1.9k
- Last updated
- 10d ago v3.5.0
- FARS reviewed
- Nov 08, 2026 +1 new
- License
- MIT
- Primary language
- TypeScript
- FA score
- 78/100 · Good
At a glance
- How it runs
- Works with
- Universal · cross-platformChatGPT · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer using Cursor or VS Code's Cline extension wants AI assistance that is grounded in the exact library version used in the project (e.g., React 18 vs 19).
- Not a fit if
- Users stuck on Node.js versions below 22
- Those wanting zero-config setup without embedding models or Playwright
- Website
- grounded.tools ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-22latest release v3.5.0 (2026-11-22)+2.3 ★/day over 7 days
- Source review
- 78/100 · Good
What does this agent do, and when should you use it?
Grounded Docs MCP Server is a self-hosted documentation indexing service that fetches official docs from websites, GitHub, npm, PyPI, and local files, providing an always-current context for AI coding assistants. It supports a wide range of formats including PDF, Word, Markdown, source code, and more, and offers both a web UI and CLI. It integrates with MCP-compatible clients like Claude and Cline, supports optional semantic search via embedding models, and runs entirely locally for privacy. It is positioned as an open-source alternative to Context7, Nia, and Ref.Tools. The server exposes an SSE-based MCP endpoint on port 6280 by default.
The tool performs the following operations: scrapes documentation pages from specified URLs and stores them in an index (e.g., npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/react); performs keyword or semantic search on the index (search react "useEffect cleanup"); fetches a single page and converts it to Markdown (fetch-url); provides an MCP server endpoint (default port 6280) for AI clients to query; imports documentation from local folders and ZIP archives; and optionally configures embedding models such as OpenAI, Ollama, Gemini, and Azure to improve search quality.
- A developer using Cursor or VS Code's Cline extension wants AI assistance that is grounded in the exact library version used in the project (e.g., React 18 vs 19).
- A team with strict data privacy requirements needs a fully local documentation retrieval service that never sends code to the cloud.
- A technical writer needs to quickly convert official documentation (e.g., TypeScript handbook) into Markdown for an internal knowledge base.
- An AI application developer wants to integrate version-aware documentation querying into a custom MCP client, reducing hallucinations.
- A DevOps engineer wants to containerize a documentation indexing service for development environments, ensuring the latest versions are tracked.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx @arabold/docs-mcp-server@latestdocker run --rm -v docs-mcp-data:/data -v docs-mcp-config:/config -p 6280:6280 ghcr.io/arabold/docs-mcp-server:latest --protocol http --host 0.0.0.0 --port 6280npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/reactnpx @arabold/docs-mcp-server@latest search react "useEffect cleanup" --output yaml
- Ports
6280- Environment variables
OPENAI_API_KEY- Runtime
- Node.js 22+
- Install notes cover
- Docker
How do you install or deploy this agent?
Requires Node.js 22+. Run directly via npx: npx @arabold/docs-mcp-server@latest. Alternatively, use Docker: docker run --rm -v docs-mcp-data:/data -v docs-mcp-config:/config -p 6280:6280 ghcr.io/arabold/docs-mcp-server:latest --protocol http --host 0.0.0.0 --port 6280. After starting, open http://localhost:6280 to add documentation.
How do you use this agent?
- Index docs:
npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/react. 2. Search:npx @arabold/docs-mcp-server@latest search react "useEffect cleanup" --output yaml. 3. Fetch a page:npx @arabold/docs-mcp-server@latest fetch-url https://react.dev/reference/react/useEffect. 4. Configure MCP client (e.g., Claude Desktop) by adding to config:{"mcpServers": {"docs-mcp-server": {"type": "sse", "url": "http://localhost:6280/sse"}}}. 5. Optional: setOPENAI_API_KEYto enable embedding models.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- data-flow disclosure
What are this agent's strengths and limitations?
- Fetches documentation directly from official sources on demand, ensuring freshness and reducing hallucinations
- Queries target the exact library versions in your project, improving accuracy
- Runs entirely on your machine, so your code and data never leave your network
- Compatible with any MCP client and supports Docker deployment for easy setup
- Supports a broad range of file formats including PDF, Office, and 90+ source code languages
- Requires Node.js 22+, potentially excluding older environments
- Optional embedding models add configuration overhead (e.g., OpenAI, Ollama) and may incur costs
- Large documentation indexes may consume significant local storage and computation
- Hash-routed SPAs require Playwright, adding an extra dependency
- When using external embedding providers like OpenAI, network access and API costs become a consideration
How does this agent compare with similar options?
As an open-source alternative to Context7, Nia, and Ref.Tools, this tool emphasizes fully local operation and version-specific accuracy, whereas Context7 and similar tools may store indexes in the cloud or offer a broader documentation library.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Grounded Docs MCP Server This agent | 78 · Good | CLIFree + model costs | ★ 1.9k | 10d ago | TypeScript | ChatGPT · Claude Code |
| Uni-CLI | 83 · Good | CLIFree | ★ 229 | 1mo ago | TypeScript | ChatGPT · Codex · Claude Code |
| Microsoft Learn MCP Server | 68 · Some gaps | MCP serverFree | ★ 2k | 1mo ago | TypeScript | ChatGPT · Codex · Claude Code · Claude.ai |
| GrayMatter | 66 · Some gaps | CLIFree | ★ 490 | 6d ago | Go | Codex · Claude Code · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows explicit policies for network crawling and local file access, default restrictions on private networks and local files, and a read-only mode. Users can widen network and file boundaries, so least privilege is not enforced in every configuration (deduction). Rebuild, removal, and model-change options are documented, and model changes can be explicitly accepted in non-interactive environments; ordinary indexing changes lack per-operation confirmation (deduction). The README, telemetry documentation entry, configuration, and security guide describe text sent to the configured embedding provider and telemetry enabled by default with an opt-out, making data flows clear. Credentials use environment variables or request headers, and file access is constrained; however, the sample shows token-shaped values and the packet does not show credential storage or redaction implementation (deduction). Dependencies and CI are visible, but no dependency audit or mitigation for known vulnerabilities appears in the packet (deduction). Crawling, sending text to embedding services, and telemetry have external effects that are well described; telemetry is on by default and requires user action to disable (deduction). Replacement, deletion, and storage compaction are documented, but a general recovery mechanism is not shown (deduction). The license and repository author field provide project/author attribution, but publisher identity is unverified and maintenance ownership is not clearly specified (deduction).
The README, skills, and guides are mostly consistent about indexing, searching, fetching, and output. Configuration has several entry points and defaults, and the supplied files are truncated, limiting full cross-checking (deduction). Node, Docker, remote embedding providers, and optional local search paths are documented; Playwright installation and provider availability remain operational conditions (deduction). Non-zero CLI exits, stderr errors, verbose logs, and several startup/authentication failures are described, but a complete error catalog and recovery guidance are not present in the packet (deduction).
The packet covers developers, scripts, MCP clients, the web UI, Docker, remote deployment, and multiple documentation sources. Tool boundaries, read-only mode, surfaces not covered by authentication, and network/file crawl limits are clearly documented. Skill descriptions identify concrete use cases and workflows, though the broad product scope leaves some overlap between skills (deduction). Node, Docker, stdio, HTTP, container, and proxy deployments have environment-specific guidance, with some host and proxy configuration left to the operator (deduction).
Documentation is organized into clear setup, usage, deployment, and architecture areas, with step-by-step installation. Command, package, and skill names are fairly stable, but Docker tags and latest-based commands appear alongside version tags, requiring an upgrade choice (deduction). Examples, troubleshooting, and security limits are extensive; the license text is complete. package.json identifies version 3.4.1 and CI/release scripts show maintenance activity, but the supplied packet contains no changelog or clear maintenance owner/response commitment (deduction). AGENTS.md contains contributor and development workflow instructions, and CLAUDE.md only references it; they are not evidence of product instructions for end users.
Search results include source URLs, contextual passages, relevance scores, and version information, and CLI/MCP/web access supports reuse. This directly addresses model-memory gaps through version-aware retrieval. Indexing, crawling, database maintenance, and embedding providers create resource and operational costs; full-text and local embedding options are described, but costs and benefits are not quantified (deduction).
Major README capabilities have corresponding details in setup, security, and usage documentation, and the security guide points to implementation files, supporting traceability. The README, skills, code, and tests corroborate some behaviors, but the packet is incomplete and telemetry claims lack shown implementation or test corroboration (deduction). Documentation distinguishes defaults, user configuration, optional features, and deployment advice. Claims about answer accuracy are presented as product purpose, not as a result established by this packet (deduction).
- Telemetry is enabled by default; review its documentation and explicitly disable it if unwanted.
- For remote deployments, MCP authentication does not protect the web UI, API, or worker link. Follow the security guide to limit exposure and configure crawler network and file access.
- Before using --replace, remove, or accepting an embedding-model change, make sure you can rebuild or restore the index; model changes delete stored vectors.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Breaking changes - If you run Node.js 22.0–22.13, upgrade to Node.js 22.14 or later; the server now requires Node-API 10 to load SQLite safely. ([#620](https://github.com/arabold/docs-mcp-server/issues/620)) Features - Rename a library without re-indexing it with the new docs-mcp-server rename <library> <new-name> CLI command. Renames are blocked while indexing is in progress or when the new name is already in use. ([#594](https://github.com/arabold/docs-mcp-server/issues/594), [#584](https://github.com/arabold/docs-mcp-server/issues/584)) …View on GitHub ↗ -
Release notes excerpt
[3.4.1](https://github.com/arabold/docs-mcp-server/compare/v3.4.0...v3.4.1) (2026-10-25) Bug fixes - The CLI recognizes Playwright’s headless shell, installs it with its bundled Playwright when needed, and avoids checking or reinstalling browsers for commands that don’t launch one. Docker images can use their own Chromium without downloading Playwright’s. ([#598](https://github.com/arabold/docs-mcp-server/issues/598), [#549](https://github.com/arabold/docs-mcp-server/issues/549)) …View on GitHub ↗ -
Release notes excerpt
[3.4.0](https://github.com/arabold/docs-mcp-server/compare/v3.3.0...v3.4.0) (2026-10-24) Features - Confirm an embedding model change without a terminal using --accept-model-change or DOCS_MCP_ACCEPT_MODEL_CHANGE=true with the default command, mcp, or worker; this deletes the stored vectors and allows startup to continue. Confirmation messages no longer show an assumed dimension count when the new model’s dimensions are unknown. ([#593](https://github.com/arabold/docs-mcp-server/issues/593), [#588](https://github.com/arabold/docs-mcp-server/issues/588)) Bug fixes …View on GitHub ↗
FAQ
How much storage space is needed?
Does it support private Git repositories?
Is an embedding model required?
How do I update documentation?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.