Docfork Mcp

com.docforkPublished by docfork.comOfficial publisherv1.3.3Updated Oct 24, 2026

Up-to-date docs for AI. DEPRECATED: Use io.github.docfork/docfork instead.

VerifiedStreamable HTTPWeb executableKnowledge & MemoryDeveloper Tools

Overview

AI-generated overview

Deprecated documentation-lookup MCP server that let coding agents search and fetch up-to-date library docs; the service has shut down and its endpoints are gone

What you can do
Search library documentation and get ranked sections with titles, URLs and relevance scores (search_docs). Fetch full rendered markdown content from a documentation URL (fetch_doc). Index public or private GitHub repositories as custom libraries so internal APIs and runbooks become searchable. Scope searches to a project's declared dependencies and version-pin libraries across a team.
When to use it
Not for new installs: the README states the service shut down on June 14, 2026, and the MCP server, CLI and hosted endpoints are offline. The registry description marks it deprecated and points to a replacement server.
Requirements
A remote endpoint or the npm package docfork over stdio. The README describes signing in on first use or supplying a DOCFORK_API_KEY header, and OAuth for remote HTTP connections. None of this works now: API keys no longer work and the setup command fails.
Before you install
The service is discontinued, so the tools cannot return results and setup will fail. The README says API keys no longer work. Its team configuration example places an API key in a committed config file, which would expose the secret to anyone with repository access.

Installation

In SourceWeft

  1. Open Docfork Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.docfork%2Fdocfork-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "docfork": {
      "type": "http",
      "url": "https://mcp.docfork.com/"
    }
  }
}

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

Source: README.md at commit 3cb4ba2

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.3.3LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Docfork integrations