# phuryn/claude-usage

A local dashboard for tracking your Claude Code token usage, costs, and session history. Pro and Max subscribers get a progress bar. This gives you the full picture.

Repository: https://github.com/phuryn/claude-usage
Canonical: https://ross.abutalabs.com/products/claude-usage
Homepage: https://www.productcompass.pm/
Language: Python
License: MIT
License Family: permissive
Topics: claude-code
Last push: 2026-07-10T10:08:48+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 92, longevity 10
- inputs: {"age_days": 148, "days_push": 54, "days_rel": 54, "gap_med": 0, "n_releases_24m": 16}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2179, forks 400 (observed 2026-08-28T04:06:22.968249+00:00)

## What it is
A local dashboard that parses Claude Code's local JSONL usage logs to show token usage, cost estimates, and session history via a web dashboard and CLI. It works across API, Pro, and Max plans and is also available as a VS Code extension.

## Use cases
- track my Claude Code token usage
- estimate costs of my Claude Code sessions
- see how much of my Claude Max quota I've used
- view session history for Claude Code projects
- monitor LLM API spend locally
- dashboard for Claude Code usage logs

## When to choose
- you use Claude Code and want visibility into token consumption and costs beyond Anthropic's UI
- you want a zero-dependency, local-only tool with no data leaving your machine
- you want a quick install via Homebrew, pipx, or uv with a web dashboard

## When to avoid
- you need to track Cowork sessions, which run server-side and write no local logs
- you need usage tracking for tools other than Claude Code
- you need team-wide or cloud-synced usage analytics

## Facets
- artifact type: cli-tool
- maturity: active
- function: analytics, data-visualization, cli, developer-tools, monitoring
- domain: developer-tools, analytics, large-language-models
- platform: python, cli, cross-platform, windows
- tags: claude-code, token-usage, cost-tracking, usage-dashboard, llm-usage, vscode-extension, zero-dependency, command-line, macos, linux, docker

## Member repositories
- phuryn/claude-usage (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:22.968249+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:48:46.618178+00:00, confidence not recorded.
  - readme: https://github.com/phuryn/claude-usage (fetched 2026-08-28T04:06:22.968249+00:00, sha 8fab60f77016)
  - homepage: https://www.productcompass.pm/ (fetched 2026-08-29T10:28:39.773681+00:00, sha f0a4a8e4967e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
