๐ DocsFetcher MCP Server
@cdugo
MCP Server to retrieve documentation for a package
Overview
What is ๐ DocsFetcher MCP Server?
๐ DocsFetcher MCP Server is an MCP server that fetches package documentation from multiple programming language ecosystems (JavaScript, Python, Java, .NET, Ruby, PHP, Rust, Go, Swift) for LLMs like Claude. It requires no API key and works natively with Claude Desktop and Cursor IDE.
How to use ๐ DocsFetcher MCP Server?
Install via Claude Desktop (Settings โ Developer โ Edit Config) or Cursor IDE (Settings โ MCP โ Add New MCP Server) using the provided npx command, or clone and run locally with npm start. Use tools like fetch-package-docs, fetch-url-docs, fetch-library-docs, or fetch-multilingual-docs. Preโbuilt prompts include summarize-library-docs and explain-dependency-error.
Key features of ๐ DocsFetcher MCP Server
- Supports JavaScript, Python, Java, .NET, Ruby, PHP, Rust, Go, Swift
- Fetches documentation by package name or URL
- Crawls documentation sites to extract comprehensive information
- Extracts README, API docs, code examples, and repository info
- Provides structured data for LLM summarization
- No API key required
Use cases of ๐ DocsFetcher MCP Server
- Ask about a library (e.g., โWhat is Express.js?โ)
- Retrieve documentation for a specific package in a given language
- Compare the same package across multiple language ecosystems
- Explain a dependency error for a given package
FAQ from ๐ DocsFetcher MCP Server
What runtime does ๐ DocsFetcher MCP Server require?
Node.js 18 or later is required.
Do I need an API key to use DocsFetcher MCP Server?
No, the server works without any API key.
What should I do if fetching documentation fails?
Some packages may have nonโstandard documentation; try using the packageโs direct URL with fetch-url-docs.
Which transport/authentication does the server use?
The README does not mention a specific transport or authenticationโonly that it works natively with Claude Desktop and Cursor IDE and requires no API key.
Can I use it with languages not listed in the supported list?
If a language is not working, try using the packageโs direct URL with the general fetch tool.