Show HN: ClaudeStatsBar: your session is 486k deep and nothing told you
A developer built ClaudeStatsBar to track Claude API token usage in real time during conversations.
A developer posted ClaudeStatsBar, a tool that displays live token usage statistics during Claude conversations, on Hacker News. The project addresses a friction point for Claude API users: the platform does not surface token consumption within a session, leaving developers uncertain about how deep they are in their context window or how much a conversation is costing until the session ends.
The tool hooks into Claude API responses to extract and display token metrics in real time. According to the GitHub repository, it shows users exactly where they stand in their session—the headline example references a 486,000-token conversation—without requiring external monitoring or waiting for billing summaries. The creator released the code as open source on GitHub, making it available for other developers to install and extend.
Claude's context window has grown substantially over the past year, with the latest model supporting up to 200,000 tokens. However, the web interface and API provide minimal real-time feedback on token usage, which matters both for cost optimization and for understanding when a conversation is approaching the window limit. This gap has created room for third-party tooling; ClaudeStatsBar is one solution in a category that includes various API wrappers and dashboards for Claude usage tracking.
The post gained modest early traction on Hacker News, reaching the front page with 6 points and 3 comments at time of posting. The reception suggests developer interest in better observability into Claude API sessions, though whether this translates to widespread adoption or inspires competing projects remains to be seen.
No comments yet — start the thread.