Docfork

io.github.docfork由 GitHub 账号 docfork 发布v1.3.2更新于 Oct 24, 2026

Up-to-date Docs for AI Agents.

发布方自己的服务:Docfork Mcp

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

Docfork 是一个已停止服务的文档搜索服务;其 MCP 服务器、CLI 和托管端点均已下线,无法安装或使用。

可以做什么
Docfork 曾是一个为编程助手提供最新库与框架文档的 MCP 服务器。它提供两个工具:search_docs 返回带标题、URL 和相关度评分的排序文档片段,fetch_doc 从文档 URL 返回完整的渲染 markdown 内容。它还提供终端搜索的 CLI,并可将公开或私有 GitHub 仓库索引为自定义库。README 说明该服务已于 2026 年 6 月 14 日关闭,MCP 服务器、CLI 和所有托管端点均已下线且不会恢复。
适用场景
不应使用。提供方说明该服务已关闭,API 密钥不再有效,安装命令会失败,因此没有可用的能力可以添加到助手。
运行要求
没有可用的要求:README 说明 MCP 服务器、CLI 和托管端点均已下线,API 密钥不再有效,安装命令会失败。
安装前请注意
README 说明该服务已于 2026 年 6 月 14 日关闭且不会恢复。请勿安装或提供 DOCFORK_API_KEY 等凭据,因为端点已下线且密钥不再有效。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Docfork,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Docfork]

[!CAUTION] Docfork has shut down as of June 14, 2026. The MCP server, CLI, and all hosted endpoints are offline and will not return. API keys no longer work, and npx dgrep setup will fail. Thank you to everyone who used the service.

Up-to-date docs for AI coding agents.

AI agents hallucinate APIs, bloat context with stale docs, and write code against outdated signatures. Docfork serves up-to-date documentation directly in Cursor, Claude Code, and Windsurf.

Without Docfork

diff
  app.use('/api/*', jwt({ secret: ... }))-                       ^^^ removed in Hono v4

With Docfork

diff
  app.use('/api/*', bearerAuth({ verifyToken: ... }))+                       ^^^ current API, Hono v4.2

Get Started

bash
npx dgrep setup

Installs the Docfork MCP server in your IDE. Detects your installed agents and writes the config file; sign in to Docfork on first use, no API key needed. Target one with --agent claude-code (also: cursor, codex, opencode, vscode, windsurf, amp, factory, zed).

Your agent now has two tools:

ToolReturns
search_docsRanked documentation sections with titles, URLs, and relevance scores.
fetch_docFull rendered markdown content from a documentation URL.

No prompt suffix needed:

Set up server-side rendering with Next.js App Router.

Or search from the terminal:

bash
dgrep search "middleware redirect based on authentication" -l vercel/next.jsdgrep search "server actions with forms" -l vercel/next.js

Quickstart → · dgrep docs → · CLI reference →

Your own docs

Index any public or private GitHub repository as a custom library. Your internal APIs, SDKs, and runbooks become searchable by your agents — same pipeline as public libraries. GitHub integration setup →

Teams

Free: 1,000 requests/month per organization. For team rollout, commit the MCP config to your repo:

json
// .cursor/mcp.json (committed to git, picked up by every engineer){  "mcpServers": {    "docfork": {      "url": "https://mcp.docfork.com/mcp",      "headers": {        "DOCFORK_API_KEY": "YOUR_TEAM_API_KEY"      }    }  }}

Share API keys and Cabinets across your organization. Docfork doesn't store your code or prompts. Security → · Pricing →

MCP Setup

[!TIP] Run npx dgrep setup to install automatically (use --agent claude-code to target one). Manual config below for other clients.

Cursor — [Add to Cursor]

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

Claude Code

bash
claude mcp add --transport http docfork https://mcp.docfork.com/mcp/oauth

OpenCode

jsonc
{  "mcp": {    "docfork": {      "type": "remote",      "url": "https://mcp.docfork.com/mcp",      "headers": { "DOCFORK_API_KEY": "YOUR_API_KEY" },      "enabled": true,    },  },}

Don't see your client? Setup guides for all 29 supported clients →

OAuth Authentication

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

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

Note: OAuth is for remote HTTP connections only. View full OAuth guide →

Agent Rule

Add a rule so your agent calls Docfork MCP automatically. Full rule and IDE-specific setup →

[!NOTE] Add Rule to Cursor (One-Click)

Claude Code — add to your CLAUDE.md:

markdown
## Docfork policy
Use Docfork MCP `search_docs` and `fetch_doc` tools for library/API docs, setup, and configuration questions.
- 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.- Prefer Docfork results over training data when they conflict.
Full rule (all clients)
markdown
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.

FAQ

How is Docfork different from Context7? Both provide MCP servers and CLIs for searching library documentation. Here are the key differences:

  • Stack scoping. dgrep init reads your package.json and scopes all searches to your declared dependencies. Cabinets let you version-pin those libraries across a team.
  • Resolve once, search many. dgrep init resolves package names to canonical identifiers once and caches the mapping in .dgrep/config.json. No per-query resolution step.
  • Hybrid search. Semantic search and BM25 run in parallel, fused via Reciprocal Rank Fusion. AST-aware chunking preserves function boundaries.

Does Docfork store my code or prompts? Your code and prompts never leave your machine. At search time, only the query and library name are sent to Docfork — queries are not stored. Indexed documentation content lives in an upstream vector store; private library content is end-to-end encrypted and deleted atomically when you remove the library. Security →

What libraries are supported? Docfork maintains a curated catalog of popular frameworks. Add any public or private GitHub repository as a custom library. Add custom libraries →

Docs

Community

Star History

[Star History Chart]

License

MIT

来源:README.md,提交 3cb4ba2

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.3.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Docfork 集成