Claude Code usage

CCMeter

Deep analytics and session insights for your Claude Code usage

Install

Install
brew install hmenzagh/tap/ccmeter

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/hmenzagh/CCMeter.git

From the README

A terminal dashboard for Claude Code usage analytics
  Track tokens, costs, code generation, and efficiency, all from your terminal.

Quick start

Overview

CCMeter reads your local Claude Code session data and renders an interactive TUI dashboard. Data refreshes every 5 minutes (manual reload with r).

Metrics & analytics
- Cost tracking — per-model USD breakdown (Opus, Sonnet, Haiku) via built-in pricing tables
- Token analytics — input, output, and prompt cache usage over time
- Code metrics — lines suggested, accepted, added, and deleted, with acceptance rate
- Active time estimation — approximates how long you actually spent working on each project from session activity
- Efficiency score — tokens per line of code changed (tok/ln, lower is better); each card has a quartile gauge (green → yellow → red) comparing it to other projects
- KPI banner — total cost, current streak, active days, avg tokens/day, and efficiency score at a glance

Visualizations
- Heatmaps — four GitHub-style contribution grids (input, output, lines changed, acceptance rate) with trend sparklines; minute-level granularity on 1h / 12h / Today filters
- Project cards — scrollable grid with per-project sparklines colored by model usage
- Per-project detail — dedicated charts, model distribution, cost sparklines, and estimated active time
- Time filters — 1h, 12h, Today, Last week, Last month, All

Rate limit tracking (press t to toggle)
- Live usage monitor — polls /api/oauth/usage for each Claude OAuth account and shows 5h, 7d, Opus, Sonnet, and Cowork window utilization in real time
- Credential cards — one per source root with subscription tier, expiry, and current usage bars
- Session forecast — extrapolates when you'll hit each rate limit window based on current token velocity
- Session…
Read the full README on GitHub

Details

Language
Rust
Last updated
9 May 2026
Topics
analyticsclaudeclaude-codecost-trackingdashboardmetricstoken-counter

FAQ

What is CCMeter?

Deep analytics and session insights for your Claude Code usage It is a usage for Claude Code, from hmenzagh/CCMeter on GitHub.

How do I install CCMeter?

Run brew install hmenzagh/tap/ccmeter, then follow the setup in the README.

Is CCMeter popular?

hmenzagh/CCMeter has 116 GitHub stars and 6 forks. It was last updated on 9 May 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.