Docfork
Retrieves 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 author and library
What is Docfork?
Docfork is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to retrieves 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 author and library
Retrieves 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 author and library
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- get-library-docs
Use Cases
Maintainer
Works with
Installation
NPM
npx -y docforkManual Installation
npx -y docforkConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Docfork
Docfork was a hosted MCP server that provided AI coding agents with instant access to up-to-date documentation and code examples for open-source libraries indexed from GitHub. It exposed search_docs and fetch_doc tools so agents could retrieve ranked documentation sections and full rendered markdown without leaving the conversation. Note: the Docfork service shut down as of June 14, 2026, so the hosted endpoints and API keys are no longer active; the guide below reflects its last known working setup for archival reference.
Prerequisites
- Node.js 18 or later (for npx-based setup commands)
- A Docfork account and API key (service is no longer accepting new registrations)
- Claude Code, Cursor, or another MCP-compatible client
- Internet access to reach the hosted MCP endpoint (now offline)
Install the dgrep CLI and run setup
The recommended setup method installs the Docfork MCP server into your IDE automatically.
npx dgrep setupTarget a specific agent (optional)
Specify which coding agent to configure if you do not want auto-detection.
npx dgrep setup --agent claude-codeAdd manually via Claude Code CLI
If the automated setup does not work, add the MCP server manually with the transport flag.
claude mcp add --transport http docfork https://mcp.docfork.com/mcp/oauthConfigure API key for team use
For team setups that require a shared API key, add the key as a header in the MCP config file.
{
"mcpServers": {
"docfork": {
"url": "https://mcp.docfork.com/mcp",
"headers": {
"DOCFORK_API_KEY": "YOUR_TEAM_API_KEY"
}
}
}
}Verify the connection
Ask your agent to search for documentation to confirm the tools are available.
Docfork Examples
Client configuration
MCP config for Docfork using the hosted HTTP endpoint with an API key header.
{
"mcpServers": {
"docfork": {
"url": "https://mcp.docfork.com/mcp",
"headers": {
"DOCFORK_API_KEY": "YOUR_TEAM_API_KEY"
}
}
}
}Prompts to try
Queries that Docfork was designed to handle via its search_docs and fetch_doc tools.
- "Search the Next.js docs for how to set up server-side rendering with the App Router."
- "Fetch documentation for middleware redirect based on authentication in Next.js."
- "Look up server actions with forms in the Next.js documentation."
- "Find code examples for using React Query's useInfiniteQuery hook."Troubleshooting Docfork
Connection refused or 404 when reaching mcp.docfork.com
The Docfork service shut down in June 2026. The hosted endpoint is no longer available. Consider alternative documentation MCP servers or fetching docs directly from GitHub raw URLs.
API key returns 401 Unauthorized
Ensure the header name is exactly 'DOCFORK_API_KEY' (all caps) and that the key was copied without extra whitespace. If the service is offline, no key will work.
npx dgrep setup does not detect my IDE
Use the --agent flag with one of the supported values: claude-code, cursor, codex, opencode, vscode, windsurf, amp, factory, or zed.
Frequently Asked Questions about Docfork
What is Docfork?
Docfork is a Model Context Protocol (MCP) server that retrieves 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 author and library It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Docfork?
Install via npm with the command: npx -y docfork. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Docfork?
Docfork works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Docfork free to use?
Yes, Docfork is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Docfork Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Docfork? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Docfork in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Docfork?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.