Claude Code usage
ccusage
CLI that analyses Claude Code's local JSONL logs to report token usage and cost by day, month and session.
Install
npx ccusage@latestgit clone https://github.com/ccusage/ccusage.gitFrom the README
./apps/ccusage/README.md
Details
- Repository
- ccusage/ccusage
- Website
- ccusage.com
- Language
- Rust
- Last updated
- 3 November 2026
- Listed in
- awesome-claude-code
FAQ
What is ccusage?
CLI that analyses Claude Code's local JSONL logs to report token usage and cost by day, month and session. It is a usage for Claude Code, from ccusage/ccusage on GitHub.
How do I install ccusage?
Run npx ccusage@latest, then follow the setup in the README.
Is ccusage popular?
ccusage/ccusage has 19,315 GitHub stars and 907 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.
More usage & cost trackers
Claude Code Usage Monitor
8.8kMaciek-roboblog/Claude-Code-Usage-Monitor
Real-time terminal monitor for Claude Code token usage with burn-rate predictions and limit warnings.
CodeBurn
12kgetagentseal/codeburn
Local tool that tracks token usage and cost across Claude Code and dozens of other coding agents.
CodexBar
23ksteipete/CodexBar
macOS menu bar app showing Claude Code and Codex usage limits without logging in.
cost-xray
5.8ktigerless-labs/cost-xray
Shows what Claude Code sends to the API and what each part of the request costs.
Loop Engineering
12kcobusgreyling/loop-engineering
Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.
Failproofai
7.8kFailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.