Claude Usage CLI

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

  • 2,266 ★ on the repository
  • Last commit
  • MIT
CLI

Minimal access

Why this level

  • Reads Claude Code's local logs
  • Changes nothing in projects
All reasons and checks

phuryn/claude-usage

Install

Works in

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 accessThe 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.

Discussion

No questions or reviews yet.

CLI tools

Claude Code Tools

claude-code-tools

A set of practical tools for Claude Code, Codex CLI and similar agents: utilities, skills, agents, hooks and plugins for terminal work

CLIExtended access2KRepository stars

Continuous Claude

continuous-claude

Claude Code in a continuous loop: iteration, pull request, waiting for checks and merge. Stops on several completion signals. jq and gh are needed

WorkflowBroad access1.4KRepository stars
Editors’ pick

A GitHub Action that runs Claude Code in pull requests and issues: answers mentions, reviews and makes changes

PluginBroad access9.5KRepository stars

Token Monitor

token-monitor

A desktop widget for tracking tokens, cost and limits across 43 or more tools: Claude Code, Codex, Cursor, OpenRouter and others, for Windows and macOS

CLIExtended access2.9KRepository stars

OpenTelemetry-based CLI tracing for Claude Code, Cursor and Codex sessions, showing what the agent actually did and what it cost

CLIExtended access2.8KRepository stars

TerraVision

terravision

Cloud architecture diagrams for AWS, Azure and GCP from a description to an agent or from Terraform code. AGPL-3.0 license, Graphviz and uv needed

CLIExtended access1.6KRepository stars

Comparison with similar tools

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

EntryOfficialRepository starsMain difference
Claude Usage (this entry)no2,266
Token Optimizerno2,541a plugin that trims wasted tokens and keeps work across sessions
cost-xrayno4,696captures local API traffic and splits tokens and cost by source
Token Monitorno2,949a 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

Foxx AIClaude Usage
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.