Show HN: Claude Code Usage Monitor – real-time tracker to dodge usage cut-offs
129 Maciej-roboblog 76 6/19/2025, 9:46:43 AM github.com ↗
I kept slamming into Claude Code limits mid-session and couldn’t find a quick way to see how close I was getting, so I hacked together a tiny local tracker.
Streams your prompt + completion usage in real time
Predicts whether you’ll hit the cap before the session ends
Runs 100 % locally (no auth, no server)
Presets for Pro, Max × 5, Max × 20 — tweak a JSON if your plan’s different
GitHub: https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor
It’s already spared me a few “why did my run just stop?” moments, but it’s still rough around the edges. Feedback, bug reports, and PRs welcome!
If I can offer any advice, it's that the high use of emojis in a project readme (at least for me) looks so unprofessional and makes me worry that a project was vibe -coded in the sense that the AI was possibly not babysat to the extent I think they should. That's just me, though
But hey — if it's stupid and it works, it ain't stupid.
Tool also says I used 198% of my max5 plan %)
https://ma.rtin.so/posts/monitoring-claude-code-with-datadog...
Or is this a Claude Code specific limit? I haven't used Claude Code extensively yet.
I think that's by design
How many tokens used in a heavy vibe coding day?
Average US daily per capita is like 40kg CO2
A single flight from JFK to LAX produces around 20,000kg of CO2. Using the 8.3g value means a flight is equivalent to 2.41 billion tokens.
For now, sure it might be ridiculously minor, but when it starts to ramp up who's to say it wont be just a ridiculous amount of energy ? Maybe not even measure the CO2, but I would love to graph the increase of energy spent over time.
Plastic bags, paper straws (wrapped in plastic), most realities of recycling, vehicle selections, etc.
Leads to a lot of unpopular things.
Ultimately, individual habits do add up. But with climate, one would be hard pressed to find evidence that conservation is the path forward. It does not work, unfortunately.
Repo is here if you're curious: https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor...
It produced a patch. Unfortunately it was for removing the emojis from the readme.
For $200 per month they’ll only use carbon-free power sources for your prompts. At $100 they’ll use nuclear, then $20 per month for coal, and then there will be a free tier where your prompts are powered by throwing baby seals into a furnace.
I'm of an age where I rarely watch short-form videos so would read the article but you'll miss an audience if that's all you produce.
https://github.com/Dwtexe/cursor-stats
But man do I just want a way to quickly glance at my API credits and to just occasionally chat with a model from those credits without librechat of openwebui. Or set some limits, or see some usage metrics.
And please please use "forever auth" with passkeys or something, what is up with that auth email that just takes ages for a quick glance?! It always takes me 3 attempts to find what address I used at sign-up...
Oh and make it clearer why you have that API/credits system and a subscription, why is it so difficult to understand when you start using Claude that it's 2 different unrelated worlds?? First time I started my subscription I just couldn't figure out where the API section was, until I realized it just wasn't there.
I feel like I'm "holding it wrong", but please make it easier to hold it right then.
As a person with the simple but brilliant technology of a freaking password manager, I LOATHE email to login/no-password websites. They are dreadful, we've somehow managed to come up with something worse in UX rather than move forward.
If you're working on a product that does this, or wants to do this, please please PLEASE reconsider, it's such a PITA for technical users and normies alike.
The email auth flow is a simplified and more efficient way to achieve the same outcome.
So when I open it up on a new machine or after months, you have to go through that magic link bs multiple times! For all your accounts/channels! I did that 2 or 3 times and then I just stopped using it.
I don't even remember what I signed up for over the years, I know some of it was nice (like an LoRa IOT channel, an "AWS professionals" channel, I set something up for the LoRaWan network in the previous city I lived in... All just tuned out because of the login bs.
Oops, when I saw the /install-github-app command, I assumed that since I'm on a max plan and Claude Code in my terminal is free, then the Github integration would be free.
So I hooked it up to my repo and tagged @claude in everything. It was a lot of fun tagging it in backburner issues and seeing it solve issues I couldn't be bothered to do for years. Or just seeing what it would come up with on really low effort poorly explained issues.
But not worth spending 50+ cents every time.
On another hand, you solved several years-old issues for under $50…which seems like a big win.
Currently in gray area but allowed as per anthropic comment on it - https://github.com/anthropics/claude-code-action/issues/4#is...
I'll try it out right now.
Isn't Claude and Anthropic API two separate platforms? How does it spend from your other account?
https://console.anthropic.com/settings/billing
Your link and my link are just two views into the same underlying account (unless you registered separate accounts of course). At your link, you can manage your Claude subscription. At my link, you can manage API keys and API credits.
But they aren't siloed like you (or I) think.
I got Claude Code when it launched and it always charged API credits until it was included in the $100 max subscription (and then in the cheap base subscription). It moves fast and it's not well communicated.
I guess I don't want to duplicate Python/Node for every tool, but I also don't want it to be fragile. And this wants a Node CLI tool installed globally, which I've found breaks easily with changing versions.
`uv tool install` doesn’t duplicate Python for every tool.