{"repo":"itchernetski/claude-code-token-meter","free":true,"listed":false,"github":"https://github.com/itchernetski/claude-code-token-meter","clone":"git clone https://github.com/itchernetski/claude-code-token-meter.git","description":"Local-first dashboard for Claude Code token usage. Parses ~/.claude/projects/*.jsonl and serves an interactive viewer on localhost. No API calls.","language":"Python","stars":14,"topics":["analytics","claude","claude-code","dashboard","fastapi","python","tokens"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"claude-code-token-meter Local-first dashboard for Claude Code token usage. Parses your local session logs ( /.claude/projects/ / .jsonl ) and serves an interactive viewer on localhost . No API calls. Zero tokens spent on viewing. Why Claude Code writes a JSONL log per session under /.claude/projects/ . Those files contain everything you need to understand your usage — input, output, cache-read and cache-create tokens per message — but there's no built-in way to explore them. This tool parses them, aggregates per session, and exposes: - Daily breakdown — weighted tokens per day - Project breakdown — share of usage by project - Model share — opus / sonnet / haiku split - Top 30 sessions — biggest individual sessions, with the rest collapsed into a single \"other sessions beyond top 30\" line - Date filter — 24h / 3d / 7d / 14d / 30d, switched without page reload - Burn rate — rolling 5h / 24h / 7d weighted totals + 24h hourly sparkline - Quota calibration — anchor the dashboard to your plan via the /usage % you see in Claude Code (see below); also auto-calibrates from clustered rate-limit hits stored locally - Theme + lang — light / dark, EN / RU, persisted in localStorage The \"weighted\" number uses Anthropic's published cost ratios as a proxy: It's not a literal subscription-quota percentage (Anthropic doesn't publish that formula), but it gives the right relative ranking of sessions and days. Install Requires Python 3.10+. Or from source: Run The --projects-dir flag is useful i","default_branch":null,"files":null,"tree":[],"storefront":"/r/itchernetski","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/itchernetski/claude-code-token-meter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}