Show HN: Ledger – Claude Code Token Spend Analyzer
Category: devtools
Tags: claude-code, token-tracking, developer-tools
Score: 8.3/10 (Innovation: 8, Technical: 8, Documentation: 9, Utility: 8)
cc-ledger is a local-first token spend and activity tracker for Claude Code, capturing every edit and prompt cost via hooks into a local SQLite database with an optional cloud dashboard. Its innovative combination of agent-agnostic architecture, detailed cost computation with five token classes, and strong privacy guarantees makes it a compelling tool for developers managing AI coding assistant expenses.
Target audience: backend devs, devops, data engineers
Repository: https://github.com/delta-hq/cc-ledger · Rust · MIT · 3 stars
View on Hacker News