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

@whenlabs/when

v0.12.3

Published

The WhenLabs developer toolkit — 6 tools, one install

Readme

@whenlabs/when

Six tools. One install.

A single installable toolkit that brings six WhenLabs developer tools into your Claude Code workflow. After install, the tools are exposed over a single MCP server and Claude calls them automatically when relevant.

Install

npx @whenlabs/when install

One-time setup. The installer:

  1. Registers a single MCP server (whenlabs) in your Claude Code configuration
  2. Injects a CLAUDE.md block so Claude knows when to use each tool
  3. Cleans up any legacy velocity-mcp registration (velocity is now bundled)

The six tools

| Tool | Purpose | |---|---| | aware | Auto-detect stack and generate AI context files (CLAUDE.md, .cursorrules, …) | | berth | Detect port conflicts before starting dev servers | | envalid | Validate .env files against a schema | | stale | Detect documentation drift between docs and code | | vow | Scan dependency licenses and validate against policy | | velocity | Time coding tasks and learn from historical data |

MCP tools

Seven endpoints across the six tools:

| Endpoint | What it does | |---|---| | aware_sync | Detect stack and regenerate AI context files | | berth_check | Scan project for port conflicts | | envalid_validate | Validate .env files against schema | | stale_scan | Detect documentation drift | | vow_scan | Scan licenses and validate against policy | | velocity_start_task | Start timing a coding task | | velocity_end_task | End timing and record results |

All seven are served by the single whenlabs MCP server (stdio, Node 20+). Fix/init/auxiliary commands remain available via each tool's CLI (npx @whenlabs/<tool> --help).

CLI

when init       # Onboard a project — detect stack, bootstrap configs, run all checks
when doctor     # Run all six tools and show a unified health report
when install    # Register MCP server in Claude Code
when uninstall  # Remove MCP server

For per-tool operations, use the tool directly:

npx @whenlabs/stale scan
npx @whenlabs/envalid validate
npx @whenlabs/berth check
npx @whenlabs/aware sync
npx @whenlabs/vow scan

Manual MCP configuration

If you're not using the install command, add this to your Claude Code MCP config:

{
  "mcpServers": {
    "whenlabs": {
      "command": "npx",
      "args": ["-y", "-p", "@whenlabs/when@latest", "when-mcp"]
    }
  }
}

The -p flag is required — @whenlabs/when ships two bins (when and when-mcp), and npx @whenlabs/when when-mcp runs the default when bin with when-mcp as an unknown subcommand.

License

MIT — see LICENSE


Built by Siddharth at WhenLabs