Basic information
About Docfork MCP Server
Docfork delivers up-to-date documentation and code examples for any software library, enhancing your config management tools workflow.
Docfork is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by docfork. It exposes 2 tools, including docfork_search_docs, docfork_read_url. Supported transport: stdio, streamable-http. Runtime: MDX. License: MIT. The repository has 433 GitHub stars. Source code is hosted on github.com. Related topics: agent, agents, code, developer-tools, documentation.
Connection details
https://server.smithery.ai/@docfork/mcp/mcp
Setup
claude mcp add mcp-docfork --transport http https://server.smithery.ai/@docfork/mcp/mcp
[mcp_servers.mcp-docfork] url = "https://server.smithery.ai/@docfork/mcp/mcp"
{
"mcpServers": {
"mcp-docfork": {
"url": "https://server.smithery.ai/@docfork/mcp/mcp"
}
}
}
{
"servers": {
"mcp-docfork": {
"type": "http",
"url": "https://server.smithery.ai/@docfork/mcp/mcp"
}
}
}
Docfork MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"docfork": {
"command": "npx",
"args": [
"-y",
"docfork"
]
}
}
}
Docfork MCP Server tools
- docfork_search_docs — Search documentation across GitHub repositories or the web. For targeted searches INSIDE a specific library's documentation, use the docforkIdentifier parameter (author/repo format). Extract from GitHub URLs (e.g., github.com/facebook/react → 'facebook/react') and include in ALL subsequent searches about that library for focused, accurate results.
- docfork_read_url — Fetches and returns the full content of a documentation page as markdown. This is ESSENTIAL for getting complete, detailed information after searching. Always use this to read URLs from docfork_search_docs results to get the actual documentation content.
Overview
What is Docfork?
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?
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
- 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
- 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.
Frequently asked questions
1 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.
2 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).
3 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.
4 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.
5 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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In