MCP Catalogs
Homedocfork screenshot

docfork

by docfork·479·Score 53

Docfork provides AI coding agents with real-time documentation access through MCP servers to prevent API hallucinations.

developer-toolsai-llmsearch
29
Forks
0
Open issues
this month
Last commit
2d ago
Indexed

Overview

Docfork is an MCP server that serves up-to-date documentation directly to AI coding agents like Cursor, Claude Code, and Windsurf. It solves the problem of AI agents hallucinating APIs, using stale documentation, or writing code against outdated function signatures. The server provides two main tools: search_docs for finding relevant documentation sections and fetch_doc for retrieving full rendered markdown content. It supports both public libraries and custom private repositories, with authentication via API keys or OAuth.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI coding assistants accessing up-to-date documentation for third-party libraries
you:Development teams maintaining consistent API documentation across their organization
you:Searching through complex documentation without leaving the coding environment
you:How is Docfork different from Context7?
you:Does Docfork store my code or prompts?

When to choose this

Choose Docfork when working with multiple libraries and frameworks where up-to-date documentation is critical for accurate AI-generated code.

When NOT to choose this

Don't choose Docfork if you need offline access to documentation or prefer a self-hosted solution without external API dependencies.

Tools this server exposes

2 tools extracted from the README
  • search_docs

    Ranked documentation sections with titles, URLs, and relevance scores.

  • fetch_doc

    Full rendered markdown content from a documentation URL.

Comparable tools

context7dgrepdocs-searchlibrarian

Installation

Installation

  1. **Automatic Setup (Recommended)**

``bash npx dgrep setup --cursor # For Cursor npx dgrep setup --claude # For Claude Code npx dgrep setup --opencode # For OpenCode ``

  1. **Manual Configuration for Claude Desktop**

Add to your Claude Desktop config: ``json { "mcpServers": { "docfork": { "url": "https://mcp.docfork.com/mcp", "headers": { "DOCFORK_API_KEY": "YOUR_API_KEY" } } } } ``

  1. **For Other MCP Clients**

Follow the setup guides for your specific client at [docfork.com/docs/mcp/setup](https://docfork.com/docs/mcp/setup)

FAQ

How is Docfork different from Context7?
Docfork provides stack scoping by reading your package.json, resolves package names once and caches mappings, and uses hybrid search combining semantic and BM25 with AST-aware chunking.
Does Docfork store my code or prompts?
No, your code and prompts never leave your machine. Only queries and library names are sent to Docfork at search time, and queries are not stored.

Compare docfork with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.