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

claudemon

v0.4.0

Published

Claude Usage Monitor TUI - monitor your Claude usage in real-time

Readme

Claudemon

Claude Usage Monitor TUI - monitor your Claude Pro/Max plan quota in real-time.

claudemon-demo

npm version npm downloads Open Source maintenance-status License: MIT

claudemon-demo

Install

# Run without installing
npx claudemon

# Or install globally
npm i -g claudemon
pnpm add -g claudemon

Requires Node.js 18+.

Setup

claudemon setup

This detects your Claude Code OAuth credentials automatically. If you haven't logged in to Claude Code yet, it will guide you through the process.

Commands

| Command | Description | |---------|-------------| | claudemon | Launch the TUI dashboard | | claudemon setup | Interactive OAuth setup (skips if already authenticated) | | claudemon setup --re | Force re-authentication, overwriting existing token | | claudemon --help, -h | Show help message | | claudemon --version | Show version |

Keybindings (in TUI)

| Key | Action | |-----|--------| | q | Quit | | r | Force refresh | | ? | Toggle help |

Configuration

Config file: ~/.config/claudemon/config.toml

| Key | Type | Default | Description | |-----|------|---------|-------------| | plan_type | string | "pro" | Claude plan type (pro or max) | | refresh_interval | number | 30 | Auto-refresh interval in seconds |

| Key | Type | Default | Description | |-----|------|---------|-------------| | oauth_client_id | string | "9d1c250a-..." | Public OAuth client ID for Anthropic PKCE flow | | oauth_authorize_url | string | "https://claude.ai/oauth/authorize" | Authorization endpoint | | oauth_token_url | string | "https://console.anthropic.com/v1/oauth/token" | Token exchange endpoint | | oauth_redirect_uri | string | "https://console.anthropic.com/oauth/code/callback" | OAuth redirect URI | | oauth_scopes | string | "org:create_api_key user:profile user:inference" | OAuth scopes | | oauth_usage_url | string | "https://api.anthropic.com/api/oauth/usage" | Usage/quota API endpoint | | oauth_beta_header | string | "oauth-2025-04-20" | Required beta header for the usage API |

Pi Integration

Claudemon is also available as a pi extension, so you can check your Claude quota without leaving your coding session.

Install

# From npm
pi install npm:claudemon

# From git
pi install https://github.com/anistark/claudemon

# Try without installing
pi -e npm:claudemon

claudemon-skill

Usage

| Command | Description | |---------|-------------| | /claudemon | Show quota usage inline (5-hour, 7-day windows, per-model breakdown) | | /claudemon --tui | Launch the full TUI dashboard | | "Check my Claude usage" | The LLM calls the claudemon tool automatically |

Uninstall

pi remove npm:claudemon

Development

# Install dependencies
pnpm install

# Build and run with args
just run
just run setup
just run --help

# Build
just build

# Watch mode
just dev

# Type check
just lint

MIT License