# Docfork

> Docfork is an open-source MCP server for developer tools. Hosted MCP server that feeds current library docs to AI coding agents (shut down June. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, vscode
- **Repository:** https://github.com/docfork/docfork
- **MCP Registry name:** io.github.docfork/docfork
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README says Docfork has shut down as of June 14, 2026, with the MCP server, CLI and hosted endpoints offline and API keys no longer working. Before that, it gave coding assistants such as Cursor, Claude Code and Windsurf searchable, up-to-date documentation so they would stop writing code against outdated function signatures and removed APIs.

The service exposed two MCP tools: one returned ranked documentation sections with titles, URLs and relevance scores, and the other fetched the full rendered markdown of a documentation page. A companion dgrep CLI could scope searches to a project's dependencies and let teams index private GitHub repositories as custom libraries.

It was aimed at developers who use AI coding agents on third-party libraries and internal APIs. The repository is MIT licensed, but the hosted service is no longer available.

## Features

- **Ranked documentation search:** The search_docs tool returns relevant doc sections with titles, URLs and relevance scores.
- **Full page retrieval:** The fetch_doc tool returns the complete rendered markdown for a documentation URL.
- **Private repository indexing:** Public or private GitHub repositories can be added as custom libraries for agents to search.
- **Team MCP configuration:** Shared API keys and Cabinets let an organization commit one MCP config to a repository.
- **Dependency-scoped CLI:** The dgrep CLI could read a package.json and limit searches to declared dependencies.

## Good for

- Keeping an AI coding agent current on framework APIs that changed between versions
- Letting agents search internal SDKs and runbooks indexed from private GitHub repositories
- Standardising documentation access across a development team via a committed MCP config

## Install

### Claude Code (Terminal)

```sh
claude mcp add docfork -- npx -y docfork
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "docfork": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "docfork"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Is Docfork still available?

No. The README states that Docfork shut down as of June 14, 2026, and that the MCP server, CLI and hosted endpoints are offline.

### Does Docfork store my code or prompts?

The README says code and prompts never leave the user's machine, only the query and library name are sent at search time, and queries are not stored.

### Is Docfork free?

Yes. Docfork is open source, so you can use and self-host it for free.

### How do I add Docfork to Claude Code?

Run this command in your terminal: claude mcp add docfork -- npx -y docfork

### What are the best alternatives to Docfork?

The closest alternatives to Docfork are Docstar, gomddoc, Revdoku, FrontMCP docs and MCP Harbor Search.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Docstar](https://ai-powered.com/mcp/docstar): Docstar is a freemium MCP server for developer tools.
- [gomddoc](https://ai-powered.com/mcp/gomddoc): gomddoc is a freemium MCP server for developer tools.
- [Revdoku](https://ai-powered.com/mcp/revdoku): Revdoku is a freemium MCP server for developer tools.
- [FrontMCP docs](https://ai-powered.com/mcp/frontmcp-docs): FrontMCP docs is a free MCP server for developer tools.
- [MCP Harbor Search](https://ai-powered.com/mcp/mcp-harbor-search): MCP Harbor Search is an open-source MCP server for developer tools.
- [pinright](https://ai-powered.com/mcp/pinright): pinright is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers): awesome-mcp-servers is an open-source MCP server for ai models and llm tooling.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/docfork
