ccusage

Analyze Claude Code usage statistics from local JSONL log files

brewmacoslinux
Try with needOr install directly
Source

About

CLI tool for analyzing Claude Code usage from local JSONL files

Commands

ccusage

Examples

Display usage summary from a JSONL log file$ ccusage logs.jsonl
Generate detailed statistics with filtering by date range$ ccusage logs.jsonl --start 2024-01-01 --end 2024-01-31
Export usage analysis to JSON format for further processing$ ccusage logs.jsonl --format json > usage_report.json