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

@todayworks/undoc-cli

v1.6.0

Published

Deterministic installer for the undoc MCP server, skills, and hooks across Claude Code, Cursor, Codex, and Claude Desktop.

Readme

@todayworks/undoc-cli

Deterministic installer for the undoc MCP server, skills, and hooks across Claude Code, Cursor, Codex, and Claude Desktop.

npx @todayworks/undoc-cli@latest install

A browser tab opens. Pick a workspace, click Authorize. The CLI writes a per-folder .mcp.json, plus skills + hooks at the user level (Claude Code only). Re-running is idempotent — same folder + workspace reuses the same API key.

Commands

| Command | What it does | |---|---| | install | Detect installed clients, authorize, write configs (default). | | add <client> | Install for one additional client. | | status | Show what the manifest claims is installed. | | rebind | Revoke the current folder's key and re-run install. | | upgrade | Re-run install at the latest CLI version (npx @todayworks/undoc-cli@latest install). | | uninstall | Remove everything tracked in the manifest. Revokes keys it created; leaves user-supplied (UNDOC_API_KEY) alone. |

Flags

| Flag | What it does | |---|---| | --client=a,b,c | Restrict to a subset. Valid: claude-code, cursor, codex, claude-desktop. | | --no-browser | Skip the browser flow; require UNDOC_API_KEY in env. Implicit when no TTY. | | --scope-mcp=project\|user | Override MCP entry scope. Default: project (claude-desktop forced to user). | | --scope-skills=project\|user | Override skills install scope. Default: user. | | --scope-hooks=project\|user | Override hooks install scope. Default: user. | | --no-hooks | Skip the Claude Code hook entries. MCP + skills still install. | | --yes, -y | Skip the multi-client checklist when 2+ clients are detected. Implicit when no TTY. | | --help, -h | Print usage. | | --version, -V | Print the CLI version. |

Environment

| Variable | What it does | |---|---| | UNDOC_API_KEY | Required when --no-browser is set (or when there's no TTY). Recorded as user-supplied — uninstall won't auto-revoke. | | UNDOC_APP_URL | Override https://www.getundoc.ai (dev/staging). | | CI=true | Force headless mode (same as no TTY). |

Common invocations

# Default — interactive, browser auth
npx @todayworks/undoc-cli@latest install

# CI / scripted
UNDOC_API_KEY=undoc_… npx @todayworks/undoc-cli@latest install --no-browser

# One client only
npx @todayworks/undoc-cli@latest install --client=cursor

# Re-issue the key for this folder
npx @todayworks/undoc-cli@latest rebind

# Tear down everything
npx @todayworks/undoc-cli@latest uninstall

What gets written

| Scope | Where | Owned | |---|---|---| | Per-folder MCP entry | ./.mcp.json, ./.cursor/mcp.json, etc. | undoc-<workspace-slug> key only | | Per-user skills (Claude Code) | ~/.claude/skills/undoc*/ | The 5 directories the CLI ships | | Per-user hooks (Claude Code) | ~/.claude/settings.json | The 3 hook entries with __undoc_* ids | | Manifest | ~/.cache/undoc/installed.json | Source of truth for uninstall |

Re-runs and uninstall touch only what the manifest claims — sibling MCP servers and unrelated skill/hook entries in the same files stay put.

License

MIT.