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.2.0.tar.gz (10.2 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.2.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: claude_multi_usage-0.2.0.tar.gz
  • Upload date:
  • Size: 10.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 4e254fcefa3587bafa9f4ed2727562eacc8595751ad3b8fc107916bb31e874fc
MD5 4251ef9e27fbe7d72206abba730b359e
BLAKE2b-256 1ad89a0b5545be65344a77cf7401161528f73737d6b708276e1b642805ae3af0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for claude_multi_usage-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 602e03038a2852c5b5da6c69e66792c13b8f45ffaf7a6dca7b83a4ebd266e0f5
MD5 840d039f0717fa131f0508dce959334a
BLAKE2b-256 6d01a1e1f0309c4420813603203987910149c92da1e9db4d59443d062909ec90

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