Claude Code usage
claude-usage
Local dashboard for Claude Code token usage, costs and session history, with plan-limit progress.
Install
brew install phuryn/claude-usage/claude-usagegit clone https://github.com/phuryn/claude-usage.gitFrom the README
Claude Code Usage Dashboard Pro and Max subscribers get a progress bar. This gives you the full picture. Claude Code writes detailed usage logs locally — token counts, models, sessions, projects — regardless of your plan. This dashboard reads those logs and turns them into charts and cost estimates. Works on API, Pro, and Max plans. Available as a web app (python cli.py dashboard) and as a VS Code extension. Created by: The Product Compass Newsletter What this tracks Works on API, Pro, and Max plans — Claude Code writes local usage logs regardless of subscription type. This tool reads those logs and gives you visibility that Anthropic's UI doesn't provide. Captures usage from: - Claude Code CLI (claude command in terminal) - VS Code extension (Claude Code sidebar) - Dispatched Code sessions (sessions routed through Claude Code) Not captured: - Cowork sessions — these run server-side and do not write local JSONL transcripts Requirements - Python 3.8+ - No third-party packages — uses only the standard library (sqlite3, http.server, json, pathlib) Anyone running Claude Code already has Python installed. Quick Start No pip install, no virtual environment, no build step. macOS / Linux (Homebrew) Homebrew has disabled installing a formula from an arbitrary raw URL, so tap the repo first (thanks @adrianlungu for the working incantation in #46). After install, the claude-usage command is on your PATH and accepts the same subcommands as python cli.py (scan, today, stats, dashboard). Any OS (uv tool / pipx) Installs the claude-usage command without a clone (works with pipx too: pipx install git+https://github.com/phuryn/claude-usage). The tool stays dependency-free — this only adds packaging metadata, no third-party runtime deps (#144). macOS / Linux…
Details
- Repository
- phuryn/claude-usage
- Website
- www.productcompass.pm
- Language
- Python
- License
- MIT
- Last updated
- 10 July 2026
- Topics
- claude-code
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is claude-usage?
Local dashboard for Claude Code token usage, costs and session history, with plan-limit progress. It is a usage for Claude Code, from phuryn/claude-usage on GitHub.
How do I install claude-usage?
Run brew install phuryn/claude-usage/claude-usage, then follow the setup in the README.
Is claude-usage popular?
phuryn/claude-usage has 2,285 GitHub stars and 410 forks, and is included in 1 curated Claude Code list. It was last updated on 10 July 2026.
More usage & cost trackers
Openusage
4.5krobinebers/openusage
Burning through your subscriptions too fast? Paying for stuff you never use? Stop guessing. OpenUsage is free and open source.
Sniffly
1.3kchiphuyen/sniffly
Claude Code dashboard with usage stats, error analysis and shareable reports.
Quotio
4.9knguyenphutrong/quotio
Stop juggling AI accounts. Quotio is a beautiful native macOS menu bar app that unifies your Claude, Gemini, OpenAI, Qwen, and Antigravity subscriptions – with real-time quota tracking and smart auto-failover for AI coding tools like Claude Code, OpenCode, and Droid.
Clawdmeter
2.3kHermannBjorgvin/Clawdmeter
ESP32 hardware display that shows your Claude Code usage on your desk.
Pxpipe
7.6kteamchong/pxpipe
cut Claude Code token usage by rendering text context as images
ClaudeBar
1.6ktddworks/ClaudeBar
macOS menu bar app that monitors Claude and other AI coding assistant quotas.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.