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

mcp-agentdocs

v0.1.3

Published

Fresh, curated, source-verified docs for building MCP servers and Claude agents — served to your AI coding agent over MCP.

Readme

agentdocs

Fresh, source-verified docs for building MCP servers and Claude agents — served straight to your AI coding agent over MCP.

npm license: MIT Model Context Protocol

Coding agents hallucinate on fast-moving APIs like the Model Context Protocol and the Claude Agent SDK: training data lags the spec, so you get plausible-but-wrong imports, deprecated patterns, and invented options. agentdocs is a local MCP server that gives your agent a curated, source-verified corpus to search instead of guessing.

  • 🔎 Three tools: list_topics, search_docs, get_doc
  • 📎 Every answer is attributed to its upstream source URL
  • 🏠 Runs locally over stdio — no account, no hosting, no data leaves your machine
  • ✅ Each doc carries a verified flag set only after human review against the source

Install & connect

Requires Node.js 18+.

Claude Code

claude mcp add agentdocs -- npx -y mcp-agentdocs@latest

Cursor / other MCP clients (mcp.json)

{
  "mcpServers": {
    "agentdocs": {
      "command": "npx",
      "args": ["-y", "mcp-agentdocs@latest"]
    }
  }
}

Then ask your agent things like "check agentdocs for how MCP stdio handles logging" or "search agentdocs for the Streamable HTTP session header" — it will call the tools and answer from the verified corpus.

Tools

| Tool | Use it to | |------|-----------| | list_topics | See every curated doc, its topic, source URL, and verified status | | search_docs(query, topic?) | Get ranked, source-attributed snippets for a question | | get_doc(id) | Read the full verified markdown of one document |

What's covered (v1)

The Model Context Protocol (spec 2025-11-25) and building MCP servers / Claude agents. Corpus grows over time; run list_topics for the current set.

Freshness

Every document records the date it was last verified against its primary source. Sources are diffed on a regular cadence; when one drifts, the affected doc is re-verified and a new version is published. Using mcp-agentdocs@latest (as above) keeps you on the current corpus. See CHANGELOG.md for what changed and when.

Development

npm install
npm run build      # tsc -> dist/
npm test           # vitest: retrieval, manifest integrity, unicode safety
npm run ingest     # refresh sources into corpus/_staging/ for human review

Curation is the point: npm run ingest fetches upstream sources for review but never silently overwrites a curated doc — a human diffs, promotes, and sets verified: true in corpus/manifest.json only after checking the content against its source. Run npm run check-freshness to flag docs that have drifted or are due for re-verification.

License

MIT