Docfork
Provides up-to-date documentation for over 9000 libraries directly within AI code editors.
Docfork MCP - Up-to-date Docs for AI Agents
Lock your agent's context to your stack.
Define a Docfork Cabinet — Next.js 16 + Drizzle ORM + Better Auth — and every query returns only docs from your stack. No more bloated results. No more hallucinations.
⚡ Built for Precision
Documentation context as precise as your dependency lockfile:
-
Cabinets — Lock your agent to a verified stack. Only your libraries. Fully isolated.
-
10,000+ libraries — Pre-chunked docs and code examples. ~200ms edge retrieval.
-
Team-ready — Share Cabinets and API keys across your org. Same context, every engineer.
Set a Cabinet:
Next.js 16+Drizzle ORM+Better Auth. Your agent only sees docs for your stack. No stray Express docs. No Prisma confusion.
🚀 Quick Start
1. Get your Free API Key
Sign up at docfork.com — free: 1,000 requests/month, 5 team seats.
2. Install MCP
Install in Cursor
Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server
Paste this into ~/.cursor/mcp.json. For project-scoped config, create .cursor/mcp.json in your project folder. See Cursor MCP docs for more info.
Since Cursor 1.0, click the buttons below to install instantly.
Cursor Remote Server Connection
{
"mcpServers": {
"docfork": {
"url": "https://mcp.docfork.com/mcp",
"headers": {
"DOCFORK_API_KEY": "YOUR_API_KEY"
}
}
}
}
Cursor Local Server Connection
{
"mcpServers": {
"docfork": {
"command": "npx",
"args": ["-y", "docfork", "--api-key", "YOUR_API_KEY"]
}
}
}
Install in Claude Code
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
Install in OpenCode
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,
},
},
}
Install in Cline
Add this to your Cline cline_mcp_settings.json file. To access it: Click the MCP Servers icon in the top navigation bar → Select the "Configure" tab → Click "Configure MCP Servers" at the bottom. See Cline MCP docs for more info.
Cline Remote Server Connection
{
"mcpServers": {
"docfork": {
"url": "https://mcp.docfork.com/mcp",
"type": "streamableHttp",
"headers": {
"DOCFORK_API_KEY": "YOUR_API_KEY"
},
"alwaysAllow": ["search_docs", "fetch_doc"],
"disabled": false
}
}
}
Cline Local Server Connection
{
"mcpServers": {
"docfork": {
"command": "npx",
"args": ["-y", "docfork", "--api-key", "YOUR_API_KEY"],
"alwaysAllow": ["search_docs", "fetch_doc"],
"disabled": false
}
}
}
Windsurf, Roo Code, and 40+ more →
OAuth Authentication
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. View OAuth Guide →
3. Just say use docfork
Add use docfork to any prompt:
Implement a secure authentication flow using Better Auth and Supabase. use docfork
4. Make it automatic
Add a rule so Docfork stays active — skip the prompt suffix.
[!NOTE] Add Rule to Cursor (One-Click)
Copy rule:
When writing or debugging code that involves third-party libraries, frameworks, or APIs, use Docfork MCP `search_docs` and `fetch_doc` tools rather than relying on training data.
**Two defaults to follow every time:**
- Start `library` with a short name or keyword (e.g., `nextjs`, `zod`). Use the `owner/repo` from the result URL for follow-up calls, never guess it upfront.
- After finding a relevant result, call `fetch_doc` to get the full content. Search results are summaries only.
Skip Docfork when:
- Language built-ins, general algorithms, syntax stable across versions
- Code or docs the user has already provided in context
When uncertain, default to using Docfork.
Now your AI fetches the latest docs automatically:
Add a Prisma schema for a multi-tenant SaaS and generate the client.
🔨 Tools
| Tool | Purpose |
|---|---|
search_docs | Context-Aware Search. Respects your DOCFORK_CABINET header to strictly limit results to your approved tech stack. |
fetch_doc | Fetch Doc. Fetches full Markdown content from a URL when chunks aren't enough. |
📖 Docs
- Search Public Libraries – Find libraries to add to your Cabinet.
- Installation Guides – Setup guides for every IDE.
- Cabinets – Lock your agent to specific libraries.
- Library Identifiers – Target exact repos with
owner/repo. - Troubleshooting – Fix connection or auth issues.
💬 Community
- Changelog – We ship constantly. Every release, documented.
- X (Twitter) – Product updates and what's next.
- Found an issue? Raise a GitHub issue or contact support.
Star History
Disclaimer
Docfork is an open, community-driven catalogue. We review submissions but can't guarantee accuracy for every project. Spot an issue? Raise a GitHub issue or contact support.
License
MIT
Máy chủ liên quan
Scout Monitoring MCP
nhà tài trợPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
nhà tài trợAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Docs Provider
Provides documentation context to LLMs from local markdown files via MCP.
MCP Time Server
Provides tools for getting the current time and date, and formatting timestamps in various formats and timezones.
Make
Execute make targets from any Makefile in a safe and controlled environment.
xpay✦
1000+ AI tools as MCP servers — finance, lead gen, web scraping, dev tools, media, research, competitive intel, social media, and more. 80+ providers in one endpoint. Starts at $0.01/call. Get your API key at app.xpay.sh or xpay.tools
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
MCP-Insomnia
An MCP server for AI agents to create and manage API collections in Insomnia-compatible format.
FastMCP ThreatIntel
An AI-powered threat intelligence analysis tool for multi-source IOC analysis, APT attribution, and interactive reporting.
GraphQL Schema
Exposes GraphQL schema information to LLMs, allowing them to explore and understand the schema using specialized tools.
Muster
A universal control plane for managing MCP servers and providing intelligent tool discovery for AI agents.
VoteShip
MCP server for VoteShip - manage feature requests, votes, roadmaps, and changelogs from any MCP client. 22 tools, 5 resources, 4 workflow prompts. Triage feedback, detect duplicates, plan sprints, and generate changelogs with AI.
