Docs MCP Server
@arabold
关于 Docs MCP Server
Grounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"docs-mcp-server": {
"command": "npx",
"args": [
"-y",
"@arabold/docs-mcp-server"
],
"env": {
"OPENAI_API_KEY": "sk-proj-..."
},
"autoApprove": []
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
FAQ from Docs MCP Server
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.
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.
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.
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.
What is the license for Docs MCP Server?
It is licensed under the MIT License. See the LICENSE file for details.
记忆与知识 分类下的更多 MCP 服务器

Memory
modelcontextprotocolModel Context Protocol Servers
📓 GistPad MCP
lostintangent📓 An MCP server for managing your personal knowledge, daily notes, and re-usable prompts via GitHub Gists
Context Portal MCP (ConPort)
GreatScottyMacContext Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.
Semantic Scholar MCP Server
YUZongminA FastMCP server implementation for the Semantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.
Solomd
zhitongblogA markdown editor — and the bridge to your LLM. Local-first, MIT, ~15 MB. Bundled MCP server lets Claude Code / Codex / Cursor drive your vault directly. 14 AI providers BYOK.
评论