Analyzing Claude Code Usage with ccusage CLI Tool
By
kristianp
Fresh out the oven, still warm. Top of the tray.
Summary
ccusage is a CLI tool designed for analyzing Claude Code usage from local JSONL files. It offers fast and informative insights into token usage and costs. The tool has a small bundle size, allowing for easy installation and quick start without the need for installation. Full documentation is available at ccusage.com.
Key quotes
· 3 pulledAnalyze your Claude Code token usage and costs from local JSONL files — incredibly fast and informative!
Thanks to ccusage's incredibly small bundle size, you can run it directly without installation.
We recommend using bunx instead of npx for a massive speed improvement!
You might also wanna read
Guide to Using ccusage CLI Tool for Claude Code Token Usage Analysis
The article introduces ccusage, a command-line interface (CLI) tool for analyzing Claude Code token usage and costs. It provides tutorials a
claude-devtools: Open-source tool visualizes hidden Claude Code session data
claude-devtools is an open-source tool that reads raw Claude Code session logs from a user's machine and reconstructs all the information th
CCgather: A Tool to Document and Preserve Your Claude Code Journey
CCgather is a tool designed to help users document and preserve their Claude Code journey, as Claude Code automatically deletes session hist
Claude Code History Viewer: macOS App for Browsing and Analyzing Claude Code Conversations
The article introduces Claude Code History Viewer, a macOS application that provides a user-friendly interface for browsing and analyzing Cl
Claude Usage Tracker: Monitor AI Spending Across Multiple Development Tools
Claude Usage Tracker is a free, open-source tool that helps users monitor their total spending on Claude AI across multiple development tool
WOZCODE: An Efficiency Layer to Reduce Claude Code Token Costs by Up to 50%
WOZCODE is a lightweight efficiency layer for Claude Code that helps developers reduce token usage, complete tasks faster, and improve AI ag
