npx ccusage

ccusage or Claude Code Manager?

Both read the usage data Claude Code leaves on your machine. ccusage turns it into reports in your terminal; Claude Code Manager shows it in your editor next to your limits. Here's how to pick.

The short version

ccusage is a command-line tool that reads the usage data coding agents leave on your machine and prints daily, weekly, monthly and per-session reports. It's the most widely used tool for this — about 19,000 GitHub stars on 2026-10-11 — and it covers many agents besides Claude Code. Claude Code Manager shows Claude Code usage inside VS Code, next to your live 5-hour and weekly limits and the rest of your Claude Code setup.

Side by side

ccusageClaude Code Manager
Where it runsYour terminal (npx ccusage)A VS Code sidebar and the status bar
ReportsDaily, weekly, monthly and per-session tables7-day, 30-day and all-time totals; breakdowns by model, project, tool and MCP server; a heatmap
Agents coveredClaude Code plus many others (Codex, OpenCode, Gemini CLI, Copilot CLI and more)Claude Code only
5-hour and weekly limits—Yes, from Claude Code's statusline data (opt-in)
Scripting and CIYes — a CLI you can pipe and scheduleNo
Also doesUsage reporting, focusedSessions, accounts, MCP, skills, hooks, agents, plugins, checkpoints
LicenceSee the repositoryApache-2.0

Which to pick

Free, open source, and it stays on your machine.

Apache-2.0. No telemetry, no account, no network client. Works with the Claude Code CLI and the official extension.

code --install-extension vishalguptax.claude-manager