Docfork

v1.3.3Search & Data Extractionstable

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

agentagentsdocumentationmcpmodelcontextprotocol
Share:
478
Stars
0
Downloads
0
Weekly
0/5

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

Retrieve up-to-date library documentation and code examples.
Automatically fetch documentation for any open-source library.
docfork

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.3.3
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y docfork

Manual Installation

npx -y docfork

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

Install the dgrep CLI and run setup

The recommended setup method installs the Docfork MCP server into your IDE automatically.

npx dgrep setup
2

Target a specific agent (optional)

Specify which coding agent to configure if you do not want auto-detection.

npx dgrep setup --agent claude-code
3

Add 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/oauth
4

Configure 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"
      }
    }
  }
}
5

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.

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.

Quick Config Preview

{ "mcpServers": { "docfork": { "command": "npx", "args": ["-y", "docfork"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides