docs-mcp-server
Docs MCP Server provides an always-current documentation index for your AI coding assistant to reduce hallucinations and outdated knowledge.
The Docs MCP Server is an open-source solution designed to fetch official documentation from various sources, including websites, GitHub, npm, and local files. It ensures that your AI coding assistant has access to the most up-to-date information, tailored specifically to the version of the libraries you are using. This capability significantly reduces the chances of AI hallucinations by grounding responses in real documentation. In addition to its core functionality, the server supports a wide range of document formats, including PDFs, Word documents, and various source code languages. It operates entirely on your local machine, ensuring that your code and data remain private and secure. The server is compatible with any MCP-compatible client, making it a versatile tool for developers looking to enhance their AI's documentation capabilities.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"docs-mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-docs-mcp-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions