Docfork MCP
@docfork
About Docfork MCP
Docfork MCP Server - @latest docs of 9000+ code libraries for your AI code editor.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"docfork": {
"command": "npx",
"args": [
"-y",
"docfork@latest"
]
}
}
}Tools
1Retrieves up-to-date documentation and code examples for any library. This tool automatically searches for the library by name and fetches its documentation. Usage: 1. Provide the library name (e.g., "react", "express", "mongodb") 2. Specify a topic to focus the documentation on (e.g., "hooks", "routing", "authentication") The tool will: 1. Search for libraries matching the provided name 2. Select the most relevant library based on name similarity, trust score, and documentation coverage 3. Fetch the documentation for the selected library, and the relevant sections by topic Response includes: - Library selection explanation - Comprehensive documentation with code examples - Focused content if a topic was specified
Overview
What is Docfork MCP?
Docfork MCP provides the latest documentation for over 9,000 libraries directly inside your AI code editor via a single Model Context Protocol server. It is designed for developers using Cursor, Windsurf, Claude Desktop, VS Code, Zed, Claude Code, BoltAI, or any other MCP-compatible client.
How to use Docfork MCP?
Install Node.js v18 or later, then configure your MCP client. For local use, add a command-based server using npx -y docfork (or bunx -y docfork or deno run --allow-env --allow-net npm:docfork). For remote use, point your client to https://mcp.docfork.com/mcp (SSE for Windsurf/Claude Code). Detailed JSON configuration snippets for every supported editor are provided in the README.
Key features of Docfork MCP
- Searches library docs by name and topic with the
searchtool. - Supports both local (stdio) and remote (SSE) connections.
- Works with Cursor, Windsurf, VS Code, Zed, Claude Desktop, Claude Code, BoltAI.
- Can be run via Docker for isolated environments.
- Accepts a
tokensparameter (10,000–50,000) to control response length.
Use cases of Docfork MCP
- Get up‑to‑date documentation for a library without leaving your editor.
- Focus documentation on a specific topic (e.g., “routing”, “hooks”) to avoid irrelevant content.
- Integrate documentation lookups into AI‑assisted code completion and refactoring workflows.
- Access docs for thousands of libraries in one unified MCP tool instead of installing separate servers.
FAQ from Docfork MCP
What are the runtime requirements for Docfork MCP?
Node.js v18 or later is required. For clients that support it, you may also use Bun or Deno as alternative runtimes.
Can I use Docfork MCP remotely without installing anything locally?
Yes. You can configure your MCP client (e.g., Cursor, Windsurf, VS Code, Claude Code) to connect to the remote endpoint https://mcp.docfork.com/mcp (or https://mcp.docfork.com/sse for SSE‑based clients).
What tool does Docfork MCP expose?
It exposes a single tool called search. It requires libraryName (the library to look up) and topic (to focus the docs). Optionally you can set tokens (default 10,000, max 50,000) to limit the response size.
How can I troubleshoot common installation errors?
If you see ERR_MODULE_NOT_FOUND, try using bunx -y docfork instead of npx. For ESM resolution errors, add the --experimental-vm-modules flag. You can also append @latest to the package name to force the newest release.
Is the documentation from Docfork MCP guaranteed to be accurate?
No. Docfork is a community‑driven catalogue. While submissions are reviewed, the project makes no warranties—express or implied—about the accuracy, completeness, or security of any linked documentation or code.
More Other MCP servers
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Comments