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

design-doc-generator-mcp

v0.1.3

Published

Local MCP server for the Design Doc Generator - drafts and saves technical design docs from inside a Claude Code session, using your own Claude account. Your code never leaves your machine.

Readme

Design Doc Generator

One command in Claude Code. A polished design doc — Markdown and HTML, both saved straight into your repo.

npm version node license downloads


❌ Without it

  • Real work gets done. The design doc doesn't — it gets skipped, or rushed into a note nobody reads.
  • Diagrams get left out because drawing them takes longer than the fix did.
  • Three months later, nobody remembers why it was built that way. Not even you.

✅ With it

  • Run /design-doc. Claude turns the session you just had into a structured, professional doc.
  • Two diagrams, generated and styled automatically. Nobody drags a single box.
  • The reasoning gets captured while it's fresh — not reconstructed from memory later.

What you get

| Output | Where | | --- | --- | | Markdown file | docs/<title>.md in your project | | Interactive HTML | Same folder, docs/<title>.html — light/dark theme, sticky nav |

Both are always saved, every time — nothing to opt into.

Every doc includes:

  • Abstract, problem statement, architecture and flow diagrams, key decisions and trade-offs, risks — irrelevant sections are dropped, never padded
  • At least two Mermaid diagrams wherever the session supports them: a static architecture view and a runtime sequence view, sized and styled automatically
  • An auto-inserted table of contents
  • Two more doc shapes, detected automatically: a root-cause/bug-investigation report, and a comparison doc for "which approach" decisions

How it works

How Design Doc Generator works

Install

npx design-doc-generator-mcp init

Run once, inside the project you want to document — registers the MCP server and installs the /design-doc skill. Restart Claude Code, do real work, then run:

/design-doc

Usage

| Flag | What it does | | --- | --- | | (none) | Drafts the default design doc for whatever was just discussed | | --activate YOUR-KEY | Activates a Pro license key | | --help | Shows usage help |

Running it again on the same topic updates the same files — it never creates a duplicate.

Your code never leaves your machine

This tool never reads your source files. It never calls an LLM itself. It only reads lightweight git metadata — branch, git status, a git diff --stat summary, your last 15 commit messages. Claude drafts the document inside your own session, on your own account.

Two things ever reach a network: the section template request when drafting (a mode string, plus your license key if you've activated one), and your license key itself when you run --activate. Pro status is always verified against that key server-side, never assumed from anything the client claims.

Free vs. Pro

| | Free | Pro | | --- | --- | --- | | Design docs | 5 / day | Unlimited | | Content depth | Full | Full | | HTML export | Included | Included | | Signup required | No | No |

Pro removes the daily cap. That's the only difference.

License

Elastic License 2.0 — free to install and use for drafting your own design docs. You may not resell it as a hosted service, or bypass its license-key checks.