npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

docfork

v1.4.0

Published

Up-to-date code documentation for AI agents.

Readme

Docfork cover

Docfork MCP

Stop hallucinations, context bloat, and outdated APIs.

    

NPM Downloads NPM Version License

⚡ Why Docfork?

Standard AI models (Claude 4.5, GPT-5.1) have a knowledge cutoff. They don't know about the framework changes released last week.

The Problem:

  • ❌ AI hallucinates syntax from year-old docs.
  • ❌ AI guesses APIs that don't exist.
  • ❌ Valuable coding time is lost debugging deprecated patterns.

The Solution:

  • Live Sync: We pull documentation from the source automatically.
  • Private Cabinets: Scope your search to your specific tech stack (Next.js + Supabase + Tailwind), avoiding generic results.
  • Team Ready: Share context with your whole organization.

🚀 Quick Start

1. Get your Free API Key

Grab a free key at app.docfork.com.

  • Free Tier: 1,000 requests/month (per organization).
  • Team: 5 free seats included per org.
  • Pro Tier & Private Docs: Coming soon 🚀

2. Install MCP

Option A: One-Click

Install MCP Server

Option B: Manual (Remote)

Add to Cursor Settings > Tools & MCP:

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

Option C: Manual (Local)

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

Remote:

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

Local:

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

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 →

See Setup for Opencode, Windsurf, and 30+ others →

3. Usage

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

Implement a secure authentication flow using Better Auth and Supabase. use docfork
Create a responsive dashboard layout with Tailwind CSS and shadcn/ui. use docfork

4. Automate (Step 4)

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

Add Rule to Cursor (One-Click) — or configure manually.

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.

🛡️ The Docfork Difference: Cabinets

Stop searching the entire internet. Other MCP servers treat documentation like a noisy Google search. Docfork Cabinets hard-lock your AI to your specific stack (e.g., "Only use Tailwind v4 and React 19").

  1. Create a Cabinet in your Dashboard.
  2. Add the DOCFORK_CABINET header to your config:
{
  "mcpServers": {
    "docfork": {
      "url": "https://mcp.docfork.com/mcp",
      "headers": {
        "DOCFORK_API_KEY": "YOUR_API_KEY",
        "DOCFORK_CABINET": "my-project-stack"
      }
    }
  }
}

Learn more about Cabinet Scoping →

🔨 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. |

[!TIP] Identity First: Use the docforkIdentifier (e.g., vercel/next.js) for 10x more accurate results. See usage guide →

📖 Documentation & Community

Found an issue? Raise a GitHub issue or contact support.

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