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

claude-watcher

v1.0.0

Published

Understand your Claude Code costs and usage patterns. Data never leaves your machine.

Readme

claude-watcher

Understand your Claude Code costs and usage patterns. Your data never leaves your machine — everything reads from ~/.claude/ locally.

Run

npx claude-watcher

That's it. No install step. npx downloads and runs the tool in one command.

Requires Python 3 (any version ≥ 3.8) — the tool installs streamlit and pandas automatically if they're missing.

Opens a dashboard at http://localhost:7755.

To use a different port:

PORT=8080 npx claude-watcher

Or install globally

If you run it often:

npm install -g claude-watcher
claude-watcher

What it shows

  • How you use Claude — which tools Claude invokes most, what you ask about, when you're most active
  • Where the money goes — cost breakdown by token type and model
  • Key cost drivers — automatically flagged patterns that are inflating your bill
  • Break & continue — sessions where you returned after a break and carried old context forward
  • Idle resets — turns where the cache expired and had to be rewritten at full price
  • Large early content — files or logs pasted early that rode in context for the whole session
  • By project / day — spend across your different codebases

Privacy

This tool reads only the JSONL files Claude Code writes to ~/.claude/ on your local machine. No data is sent anywhere. No API calls are made. No telemetry (Streamlit's usage stats are disabled).

How costs are calculated

Costs are API-equivalent estimates based on token counts logged by Claude Code and Anthropic's published pricing. If you're on a subscription plan (Pro/Max), you are not billed per token — but these numbers show what your usage would cost at API rates, and where the heaviest usage is concentrated.