1. Conduid
  2. Developer Tools
  3. Docs MCP Server
MCP server · Developer Tools

Docs MCP Server

Grounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools

Unclaimed MIT devtools
92Excellent

Scored 10 days ago · breakdown

About Docs MCP Server

Docs MCP Server is an MCP server published by arabold in the Developer Tools category: grounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools.

The repository has 1.8K stars and 218 forks, with the last commit 2 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/arabold/docs-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Docs MCP Server

Powered by Claude · Grounded in docs

I know everything about Docs MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v3.3.0v3.3.0 · 18 Oct 2026Breaking changes Scraping an existing library version now requires explicit replacement: use CLI `--replace` or MCP/API `replace: true`, use refresh to update in place, or use CLI `--no-clean` to append. Upgrade remote workers before or…
v3.2.1v3.2.1 · 27 Sep 20263.2.1 (2026-09-27) Bug Fixes web: keep add header working when the portal is served over plain http (3d45d67), closes #514
v3.2.0v3.2.0 · 21 Sep 20263.2.0 (2026-09-21) Bug Fixes embeddings: address PR review comments on spec/code inconsistencies (7beddd3) embeddings: match provider prefixes case-insensitively (ceb51ef) embeddings: recognize namespaced quantized models (fb43b8b), closes…
v3.1.0v3.1.0 · 29 Aug 20263.1.0 (2026-08-29) Bug Fixes mcp: preserve commas in scrape pattern arguments (95086f3) scraper: don't abort scrape when only an llms.txt-seeded url 404s (ea61589), closes #478 web: preserve zero max depth (6b246aa) Features mcp: expose…
v3.0.1v3.0.1 · 14 Aug 20263.0.1 (2026-08-14) Bug Fixes embeddings: request float encoding for openai-compatible providers (1ba9b46), closes #431 #469

README

Grounded Docs: Your AI's Up-to-Date Documentation Expert

Docs MCP Server solves the problem of AI hallucinations and outdated knowledge by providing a personal, always-current documentation index for your AI coding assistant. It fetches official docs from websites, GitHub, npm, PyPI, and local files, allowing your AI to query the exact version you are using.

Docs MCP Server Web Interface

✨ Why Grounded Docs MCP Server?

The open-source alternative to Context7, Nia, and Ref.Tools.

  • ✅ Up-to-Date Context: Fetches documentation directly from official sources on demand.
  • 🎯 Version-Specific: Queries target the exact library versions in your project.
  • 💡 Reduces Hallucinations: Grounds LLMs in real documentation.
  • 🔒 Private & Local: Runs entirely on your machine; your code never leaves your network.
  • 🧩 Broad Compatibility: Works with any MCP-compatible client (Claude, Cline, etc.).
  • 📁 Multiple Sources: Index websites, GitHub repositories, local folders, and zip archives.
  • 📄 Rich File Support: Processes HTML, Markdown, PDF, Office documents (Word, Excel, PowerPoint), OpenDocument, RTF, EPUB, Jupyter Notebooks, and 90+ source code languages.

📄 Supported Formats

Category Formats
Documents PDF, Word (.docx/.doc), Excel (.xlsx/.xls), PowerPoint (.pptx/.ppt), OpenDocument (.odt/.ods/.odp), RTF, EPUB, FictionBook, Jupyter Notebooks
Archives ZIP, TAR, gzipped TAR (contents are extracted and processed individually)
Web HTML, XHTML
Markup Markdown, MDX, reStructuredText, AsciiDoc, Org Mode, Textile, R Markdown
Source Code TypeScript, JavaScript, Python, Go, Rust, C/C++, Java, Kotlin, Ruby, PHP, Swift, C#, and many more
Data JSON, YAML, TOML, CSV, XML, SQL, GraphQL, Protocol Buffers
Config Dockerfile, Makefile, Terraform/HCL, INI, dotenv, Bazel

See Supported Formats for the complete reference including MIME types and processing details.


🚀 Quick Start

CLI First

For agents and scripts, the CLI is usually the simplest way to use Grounded Docs.

1. Index documentation (requires Node.js 22+):

npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/react

Scraping a library version that already exists fails rather than overwriting it. Re-index it with --replace, or update it in place with refresh:

npx @arabold/docs-mcp-server@latest scrape react https://react.dev/reference/react --replace

For hash-routed SPA docs sites, enable hash preservation explicitly:

npx @arabold/docs-mcp-server@latest scrape my-spa https://docs.example.com/#/guide --preserve-hashes

2. Query the index:

npx @arabold/docs-mcp-server@latest search react "useEffect cleanup" --output yaml

3. Fetch a single page as Markdown:

npx @arabold/docs-mcp-server@latest fetch-url https://react.dev/reference/react/useEffect

Output Behavior

  • Structured commands default to clean JSON on stdout in non-interactive runs.
  • Use --output json|yaml|toon to pick a structured format.
  • Plain-text commands such as fetch-url keep their text payload on stdout.
  • Diagnostics go through the shared logger and are kept off stdout in non-interactive runs.
  • Use --quiet to suppress non-error diagnostics or --verbose to enable debug output.

Agent Skills

The skills/ directory contains Agent Skills that teach AI coding assistants how to use the CLI — covering documentation search, index management, and URL fetching.

MCP Server

If you want a long-running MCP endpoint for Claude, Cline, Copilot, Gemini CLI, or other MCP clients:

1. Start the server:

npx @arabold/docs-mcp-server@latest

2. Open the Web UI at http://localhost:6280 to add documentation.

3. Connect your AI client by adding this to your MCP settings (e.g., claude_desktop_config.json):

{
  "mcpServers": {
    "docs-mcp-server": {
      "type": "http",
      "url": "http://localhost:6280/mcp"
    }
  }
}

The HTTP endpoint speaks MCP over Streamable HTTP, for protocol revision 2026-07-28 as well as earlier revisions. See Connecting Clients for VS Code (Cline, Roo) and other setup options, and Reverse Proxy Deployment to serve it under a path such as https://example.com/docs.

scrape_docs also accepts preserveHashes: true for documentation sites that use hash-based client-side routing. Use it only for hash-routed SPAs; normal sites typically use hash fragments for in-page anchors.

scrape_docs rejects a library version that already exists (including one still queued or that failed); pass replace: true to rebuild it, or use refresh_version to update it in place.

docker run --rm \
  -v docs-mcp-data:/data \
  -v docs-mcp-config:/config \
  -p 6280:6280 \
  ghcr.io/arabold/docs-mcp-server:latest

The Docker image defaults to HTTP on 0.0.0.0:6280, serving the Web UI, API, and MCP endpoint. For stdio clients, use docker run --rm -i ghcr.io/arabold/docs-mcp-server:latest --protocol stdio. See Installation for configuration overrides.

🧠 Configure Embedding Model (Recommended)

Using an embedding model is optional but dramatically improves search quality by enabling semantic vector search.

Example: Enable OpenAI Embeddings

OPENAI_API_KEY="sk-proj-..." npx @arabold/docs-mcp-server@latest

See Embedding Models for configuring Ollama, Gemini, Azure, and others.


📚 Documentation

Getting Started

  • Installation: Detailed setup guides for Docker, Node.js (npx), and Embedded mode.
  • Connecting Clients: How to connect Claude, VS Code (Cline/Roo), and other MCP clients.
  • Basic Usage: Using the Web UI, CLI, and scraping local files.
  • Configuration: Full reference for config files and environment variables.
  • Supported Formats: Complete file format and MIME type reference.
  • Embedding Models: Configure OpenAI, Ollama, Gemini, and other providers.
  • Search Quality Benchmark: Measure retrieval quality with IR metrics + LLM-judged scores; prerequisites, how to run, how to interpret results.

Hash-Routed SPAs

  • Use --preserve-hashes, MCP preserveHashes, or the Web UI "Preserve Hash Routes" checkbox only for docs sites that route with URLs like #/guide.
  • When enabled with scrapeMode=fetch, the scraper automatically upgrades the job to Playwright because plain fetch cannot evaluate client-side hash routes.
  • Refresh reuses the stored preserveHashes setting by default, and CLI/Web refresh entrypoints can override it explicitly.

Markdown-Optimized Web Scraping

  • Web scrapes and refreshes automatically probe for llms.txt at the documentation subpath and site root before normal crawling. When found, the curated links become additional crawl seeds, and pages discovered this way prefer .md URL variants such as /guide/index.html.md or /page.html.md before falling back to the original page.
  • Web requests send Accept: text/markdown, text/html;q=0.9, */*;q=0.8 by default. Servers that support Markdown content negotiation, including Cloudflare Markdown for Agents, can return Markdown directly so the scraper bypasses HTML-to-Markdown conversion for cleaner output.
  • This behavior is automatic and requires no configuration. Custom Accept headers are preserved when provided.

Key Concepts & Architecture

  • Deployment Modes: Standalone vs. Distributed (Docker Compose).
  • Authentication: Securing your server with OAuth2/OIDC.
  • Security: Trust boundaries, deployment hardening, and outbound access controls.
  • Telemetry: Privacy-first usage data collection.
  • Architecture: Deep dive into the system design.

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for development guidelines and setup instructions.

License

This project is licensed under the MIT License. See LICENSE for details.

README fetched from the repository 4 days ago. The original is authoritative.

Questions

About Docs MCP Server

How do I install Docs MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Docs MCP Server safe to use with an AI agent?

Its trust score is 92 out of 100 (excellent). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Docs MCP Server still maintained?

Yes — the latest release is v3.3.0 (18 Oct 2026), and the last commit was 2 days ago. The repository has 1.8K stars and 69 open issues.