ccusage
« Back to VersTracker
Description:
CLI tool for analyzing Claude Code usage from local JSONL files
Type: Formula  |  Latest Version: 17.2.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: claude ai usage analytics cost-tracking
Install: brew install ccusage
About:
ccusage is a command-line interface tool that analyzes Claude Code usage by parsing local JSONL log files. It provides detailed insights into token consumption, API costs, and usage patterns. This helps developers monitor and optimize their spending when using Anthropic's Claude models.
Key Features:
  • Parses local Claude Code JSONL log files
  • Calculates token usage and estimated costs
  • Generates usage reports and statistics
  • Supports filtering by date and project
Use Cases:
  • Tracking monthly Claude Code API spending
  • Identifying high-usage conversations or prompts
  • Auditing token consumption for cost optimization
Alternatives:
  • Claude Web Interface – Provides basic usage stats but lacks detailed cost analysis and local log parsing.
Version History
Detected Version Rev Change Commit
Dec 11, 2025 10:55pm 0 VERSION_BUMP afc5ea83
Dec 8, 2025 10:54pm 0 VERSION_BUMP c55c3d4d
Nov 8, 2025 10:52am 0 VERSION_BUMP 10cb9ef0
Oct 7, 2025 1:57pm 0 VERSION_BUMP 148e0f61
Oct 4, 2025 10:51am 0 VERSION_BUMP e10a7883
Sep 25, 2025 1:56pm 0 VERSION_BUMP 753d0f65
Sep 16, 2025 1:55am 0 VERSION_BUMP c176e8c3
Sep 11, 2025 2:26pm 0 VERSION_BUMP 8234bf95