1. Conduid
  2. Developer Tools
  3. Docfork
MCP server · Developer Tools

Docfork

Up-to-date docs for AI Agents. Sign up for free API key at https://docfork.com

Unclaimed MIT last commit 6 months ago rag
85Excellent

Scored 4 months ago · breakdown

About Docfork

Docfork is an MCP server published by docfork in the Developer Tools category: up-to-date docs for AI Agents. Sign up for free API key at https://docfork.com. It has been installed 0 times through Conduid.

The repository has 430 stars and 29 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx docfork

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Docfork

Powered by Claude · Grounded in docs

I know everything about Docfork. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

dgrep-v0.2.2dgrep: v0.2.2 · 25 May 2026[0.2.2](https://github.com/docfork/docfork/compare/dgrep-v0.2.1...dgrep-v0.2.2) (2026-05-25) Features dgrep:** typed agent registry + OAuth-first setup + 6 editors ([#166](https://github.com/docfork/docfork/issues/166))…
docfork-v2.2.5docfork: v2.2.5 · 25 May 2026[2.2.5](https://github.com/docfork/docfork/compare/docfork-v2.2.4...docfork-v2.2.5) (2026-05-25) Bug Fixes mcp:** return 403 on disallowed Origin header (DOC-370) ([#164](https://github.com/docfork/docfork/issues/164))…
docfork-v2.2.4docfork: v2.2.4 · 24 May 2026[2.2.4](https://github.com/docfork/docfork/compare/docfork-v2.2.3...docfork-v2.2.4) (2026-05-24) Bug Fixes mcp:** validate token audience (aud) in jwt verification ([#161](https://github.com/docfork/docfork/issues/161))…
docfork-v2.2.3docfork: v2.2.3 · 24 May 2026[2.2.3](https://github.com/docfork/docfork/compare/docfork-v2.2.2...docfork-v2.2.3) (2026-05-24) Bug Fixes mcp:** serve RFC 9728 path-aware OAuth discovery metadata ([#155](https://github.com/docfork/docfork/issues/155))…
sdk-v0.0.1sdk: v0.0.1 · 24 May 20260.0.1 (2026-05-24) Features sdk:** publish @docfork/sdk v0.0.1 from frozen /v1 spec ([#144](https://github.com/docfork/docfork/issues/144)) ([36c8181](https://github.com/docfork/docfork/commit/36c81818c3b145449a2f37e5792ef0dae360218e))…

README

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

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

With Docfork

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

Get Started

npx dgrep setup --cursor

Installs the Docfork MCP server in your IDE. Detects your dependencies, provisions an API key, and writes the config file. Also supports --claude and --opencode.

Your agent now has two tools:

Tool Returns
search_docs Ranked documentation sections with titles, URLs, and relevance scores.
fetch_doc Full 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:

dgrep search "middleware redirect based on authentication" -l vercel/next.js
dgrep 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:

// .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 --cursor (or --claude, --opencode) to install automatically. Manual config below for other clients.

Cursor

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

Claude Code

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

OpenCode

{
  "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:

- "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:

## 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.
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 mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About Docfork

How do I install Docfork?

Run npx docfork, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Docfork safe to use with an AI agent?

Its trust score is 85 out of 100 (excellent). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Docfork still maintained?

Yes — the latest release is dgrep-v0.2.2 (25 May 2026), and the last commit was 6 months ago. The repository has 430 stars and 0 open issues.