Claude Usage — CLI for Claude Code

claude-usage

A local dashboard from Claude Code logs: tokens, models, sessions and projects. For Pro and Max subscribers it shows the full picture instead of a gauge

Install in Claude Code

Manual install

brew tap phuryn/claude-usage https://github.com/phuryn/claude-usage
brew install phuryn/claude-usage/claude-usage

Or pipx install git+https://github.com/phuryn/claude-usage. No pip, no environment and no build.

Access and checks

How we review

Minimal access. The tool runs nothing and makes no network calls.

  • Reads Claude Code's local logs
  • Changes nothing in projects

This is third-party code. Review the repository files before installing.

What it does

Claude Usage builds a local dashboard from Claude Code logs: how many tokens went, which models and sessions, on which projects. For Pro and Max subscribers it shows the full picture instead of a single spending gauge. Installation on macOS and Linux through Homebrew: `brew tap phuryn/claude-usage https://github.com/phuryn/claude-usage` and `brew install phuryn/claude-usage/claude-usage`, with no pip and no build. The command can also be installed through `pipx install git+https://github.com/phuryn/claude-usage`. Version 1.5.5 from 10.07.2026, MIT license.

Who it is for. For Claude Pro and Max subscribers who want to see where the limit goes: by models, sessions and projects.

Good fit when

  • You need to understand which projects and sessions eat the subscription limit
  • You need a token dashboard with no cloud and accounts
  • You need a simple way to install tracking through Homebrew

Not a fit when

  • You need tracking for several different agents: the utility is about Claude Code
  • You are not ready for a utility to read local logs

Example request

Show which projects spent the most tokens this month and which model was used the most

Limitations

The utility reads Claude Code's local logs, so it has access to usage data but changes nothing in projects. The latest release v1.5.5 came out on 10.07.2026. It works with Claude Code, and other agents need other tools.

How to disable. Remove the command (brew uninstall claude-usage or pipx uninstall claude-usage). The Claude Code logs stay in place.

FAQ

What does the dashboard show?

Tokens, models, sessions and projects from Claude Code's local logs.

How do I install it?

Through Homebrew (brew tap and brew install) or pipx install git+https://github.com/phuryn/claude-usage.

Is an account needed?

No, the utility works locally from logs.

Which agents does Claude Usage work with?

Claude Usage works in Claude Code.

Is Claude Usage safe to install?

Minimal access. The tool runs nothing and makes no network calls.

What license does Claude Usage use?

MIT, according to the repository.

Discussion

No questions or reviews yet.

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialRepository starsMain difference
Claude Usage (this card)no2,331
Token Optimizerno3,179a plugin that trims wasted tokens and keeps work across sessions
cost-xrayno5,375captures local API traffic and splits tokens and cost by source
Token Monitorno3,939a desktop widget tracking tokens, cost and limits for many tools

README in short

The README describes a local dashboard from Claude Code logs for Pro and Max subscribers, installation through Homebrew and pipx. MIT license.

README badge

Report a problem