MCP.so
登录

Docs MCP Server

@arabold

基本信息

分类

记忆与知识

许可证

MIT

传输方式

stdio

作者

arabold

提交者

Andre Rabold

关于 Docs MCP Server

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

Docs MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "docs-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@arabold/docs-mcp-server"
      ],
      "env": {
        "OPENAI_API_KEY": "sk-proj-..."
      },
      "autoApprove": []
    }
  }
}

Docs MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Docs MCP Server?

Docs MCP Server solves 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. It is an open-source alternative to Context7, Nia, and Ref.Tools.

How to use Docs MCP Server?

Install Node.js 22+ and use CLI commands: npx @arabold/docs-mcp-server@latest scrape <name> <url> to index docs, search <name> <query> to query, and fetch-url <url> to get a single page. For a long-running MCP endpoint, start the server with npx @arabold/docs-mcp-server@latest, open the Web UI at http://localhost:6280, and connect your MCP client (e.g., Claude, Cline) via SSE configuration. Optionally enable an embedding model (e.g., OpenAI, Ollama) to improve search quality.

Key features of Docs MCP Server

  • Up-to-date context fetched from official sources on demand
  • Version-specific queries target exact library versions
  • Reduces LLM hallucinations by grounding in real docs
  • Runs entirely locally; code never leaves your network
  • Works with any MCP-compatible client (Claude, Cline, etc.)
  • Supports websites, GitHub, npm, PyPI, local files, and zip archives

Use cases of Docs MCP Server

  • Querying the exact version of a library used in your project
  • Reducing hallucinations in AI coding assistant responses
  • Indexing private or local documentation alongside public sources
  • Searching across multiple documentation sources from one interface

常见问题

1

What sources does Docs MCP Server support?

It fetches documentation from websites, GitHub repositories, npm, PyPI, local files, and zip archives. It processes HTML, Markdown, PDF, Office documents, and 90+ source code languages.

2

Does Docs MCP Server require an internet connection?

It fetches documentation on demand from official sources, so internet access is needed for remote sources. The server runs entirely on your machine; your code never leaves your network.

3

How do I configure embedding models?

Set environment variables like `OPENAI_API_KEY` to enable embeddings. Supported providers include OpenAI, Ollama, Gemini, and Azure. See the Embedding Models guide in the documentation.

4

Does Docs MCP Server support hash-routed SPA documentation sites?

Yes, use the `--preserve-hashes` flag (CLI) or `preserveHashes: true` (MCP tool) for sites that route with URLs like `#/guide`. This automatically upgrades the scraper to use Playwright.

5

What is the license for Docs MCP Server?

It is licensed under the MIT License. See the LICENSE file for details.

评论

记忆与知识 分类下的更多 MCP 服务器