Skip to main content
Glama
docfork
by docfork

Docfork cover

Docfork MCP - Up-to-date Docs for AI Agents.

  

    

Stop hallucinations, context bloat, and outdated APIs.

Professional developers use Docfork to enforce context isolation with project-specific Cabinets. By hard-locking your LLM to a verified stack, you ensure deterministic accuracy and minimal token overhead, eliminating the latency and context bloat of general-purpose indexes.

⚡ The Docfork Difference

Other context MCPs treat docs like a general search engine; Docfork treats it like a deterministic build artifact:

  • ✅ Context Isolation: Use Cabinets to hard-lock your agent to a verified stack (e.g. Next.js + Better Auth) to stop context poisoning from unwanted libraries.

  • ✅ SOTA Index: 10,000+ libraries, pre-chunked and ready. ~200ms global edge-cached retrieval for Markdown docs & code snippets.

  • ✅ Team-First: Standardize your organization's context with API keys & Cabinets so every engineer—and agent—is on the same page.

Related MCP server: PAELLADOC

🚀 Quick Start

1. Get your Free API Key

Grab a free key at docfork.com.

  • Free Tier: 1,000 requests/month (per org).

  • Team: 5 free seats included per org.

  • Pro Tier & Private Docs: Coming soon 🚀

2. Install MCP

Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server

Pasting the following configuration into your Cursor ~/.cursor/mcp.json file is the recommended approach. You may also install in a specific project by creating .cursor/mcp.json in your project folder. See Cursor MCP docs for more info.

Since Cursor 1.0, you can click the install buttons below for instant one-click installation.

Cursor Remote Server Connection

Install MCP Server

{ "mcpServers": { "docfork": { "url": "https://mcp.docfork.com/mcp", "headers": { "DOCFORK_API_KEY": "YOUR_API_KEY" } } } }

Cursor Local Server Connection

Install MCP Server

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

Run this command. See Claude Code MCP docs for more info.

Claude Code Local Server Connection

claude mcp add docfork -- npx -y docfork --api-key YOUR_API_KEY

Claude Code Remote Server Connection

claude mcp add --header "DOCFORK_API_KEY: YOUR_API_KEY" --transport http docfork https://mcp.docfork.com/mcp

Add this to your OpenCode configuration file. See OpenCode MCP docs for more info.

OpenCode Remote Server Connection

{ "$schema": "https://opencode.ai/config.json", "mcp": { "docfork": { "type": "remote", "url": "https://mcp.docfork.com/mcp", "headers": { "DOCFORK_API_KEY": "YOUR_API_KEY", }, "enabled": true, }, }, }

OpenCode Local Server Connection

{ "$schema": "https://opencode.ai/config.json", "mcp": { "docfork": { "type": "local", "command": ["npx", "-y", "docfork", "--api-key", "YOUR_API_KEY"], "enabled": true, }, }, }

See Setup for Windsurf, Roo Code, and 40+ others →

Docfork supports MCP OAuth specs. Change your endpoint to use OAuth:

- "url": "https://mcp.docfork.com/mcp" + "url": "https://mcp.docfork.com/mcp/oauth"

Note: OAuth is for remote HTTP connections only.

3. Use Docfork

Tell your AI to fetch specific, version-accurate documentation for your stack:

Implement a secure authentication flow using Better Auth and Supabase. use docfork

4. Add a rule to auto-invoke Docfork MCP

Don't want to type use docfork every time? Add a rule to make your AI fetch docs automatically.

Once enabled, your AI will automatically fetch the latest docs when you ask questions like:

Add a Prisma schema for a multi-tenant SaaS and generate the client.

🔨 Available Tools

Tool

Purpose

docfork_search_docs

Context-Aware Search. Respects your DOCFORK_CABINET header to strictly limit results to your approved tech stack.

docfork_read_url

The Deep Dive. Fetches full Markdown content from a search result URL when the snippet isn't enough.

📖 Documentation

💬 Connect with Us

Star History

Star History Chart

Disclaimer

Docfork is an open, community-driven catalogue. While we review submissions, we cannot guarantee accuracy for every project listed. If you spot an issue, raise a GitHub issue or contact support.

License

MIT

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/docfork/docfork-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server