Skip to main content

Claude Code usage dashboard across multiple devices

Project description

claude-multi-usage (cmu)

CLI dashboard for Claude Code usage tracking across multiple devices.

Parses local ~/.claude data and displays usage stats in your terminal — sessions, tokens, projects, models, and more.

Install

pipx install claude-multi-usage

Requires pipx. Install with brew install pipx (macOS) or pip install pipx.

Usage

cmu                    # Full dashboard
cmu today              # Today's usage
cmu projects           # Usage by project
cmu models             # Usage by model
cmu dashboard -d 30    # Last 30 days

claude-multi-usage also works as a command alias.

Dashboard Preview

── Claude Usage Dashboard  ──  my-macbook.local  ──  2026-03-07 ──

╭──────────── Summary ────────────╮  ╭────────── Model Usage ──────────╮
│  Hostname       my-macbook      │  │  Model           Output  Cache  │
│  Total Sessions 132             │  │  claude-opus-4-6  780K   519M   │
│  Total Messages 35,330          │  │  claude-sonnet    867K   424M   │
│  Output Tokens  1.6M            │  ╰─────────────────────────────────╯
╰─────────────────────────────────╯

╭──────────────── Daily Tokens (last 14 days) ─────────────────╮
│  02-23  ████░░░░░░░░░░░░░░░░   60.3K  (1233 msgs, 9 sess)   │
│  02-24  █░░░░░░░░░░░░░░░░░░░   24.8K  (909 msgs, 4 sess)    │
│  03-03  ███████░░░░░░░░░░░░░   96.6K  (633 msgs, 4 sess)    │
╰──────────────────────────────────────────────────────────────╯

╭──────────────── Hourly Sessions (all time) ──────────────────╮
│  00 01 02 .. 09 10 .. 16 17 18 19 20 21 22 23               │
│  ▒▒ ░░ ░░    ░░ ▒▒    ▓▓ ▒▒ ░░ ▒▒ ▓▓ ▓▓ ██ ▓▓               │
╰──────────────────────────────────────────────────────────────╯

╭──────────────── Top Projects ────────────────────────────────╮
│  1. apr-backend-assignment   45 sessions   2026-02-10       │
│  2. wemade-assignment        23 sessions   2026-03-04       │
│  3. url-jarvis               17 sessions   2026-03-07       │
╰──────────────────────────────────────────────────────────────╯

How It Works

Reads local Claude Code data from ~/.claude/:

  • stats-cache.json — daily activity, model tokens, hourly counts
  • projects/ — session files per project

No API keys or network access required. All data stays local.

Roadmap

  • Multi-device sync via central server (#2)
  • Web dashboard (#3)
  • Homebrew support

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_multi_usage-0.3.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_multi_usage-0.3.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file claude_multi_usage-0.3.0.tar.gz.

File metadata

  • Download URL: claude_multi_usage-0.3.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for claude_multi_usage-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fb0491f59aff0f0acbfb92c220b0c8ee5affa2ca076826df1db38348de58207a
MD5 dec1a07f93939766947c145545c21d5d
BLAKE2b-256 bd33bd86cc05c3848560d75854ed5f965dd493285f976e78f75e0718f0b0697a

See more details on using hashes here.

File details

Details for the file claude_multi_usage-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_multi_usage-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ac0af99539b1c7eb86129b18a0519c9b7bfe4c3dff0ae447cf8eb01d89b3c98
MD5 b52cceae15f198eeced090daedd3ebdb
BLAKE2b-256 e857920821087e24e11c62acf947d0e1169f316e92cdc518154d8958130da31c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page