General skillFinance, legal and compliance

cc-usage

Calculates Claude Code token usage and pay-as-you-go API-equivalent cost locally.

Stars
1
Forks
0
License
MIT
Updated
Updated Jul 3, 2026

Checking live repository facts…

Project overview

cc-usage reads Claude Code’s local JSONL transcripts and reports token totals, daily or weekly breakdowns, model-based pricing, and summary statistics across projects. It uses only Python’s standard library and does not access a subscription dashboard. The dollar figure is an API-price reference for the recorded usage, not what a subscription actually charged.

Repository facts

Primary language
Python
License
MIT
Repository updated
Jul 3, 2026
Default branch
main

Resource types

General skill

Use cases

Finance, legal and compliance

Platforms

Claude Code, Codex, and more

Runtime

Local

Related projects

Browse more similar projects