Claude Usage Tracker

It tells you before you ask.

A pixel Claude character that appears on your screen when you hit 50%, 70%, 90% and 100% of your Claude usage limits. Linux tray app, official usage API, one file to download.

Free and open source (MIT) · ~70 MiB · Linux x86-64 · no account, no API key

Claude Usage Tracker greeting overlay showing remaining Claude usage with five-hour and weekly gauges
What you see when a Claude Code session starts — unprompted.

The problem with every other usage tool

They all have the same shape: a bar chart you have to open, or a number you have to hover over. Which means you only learn your usage when you already thought to check — and the moment that actually matters is the one where you weren't looking, mid-refactor, about to lose your session.

This inverts it. The app sits in your tray, polls the usage API, and when you cross a threshold the character comes to you. You do nothing.

What it does

Tells you first

Appears at 50 / 70 / 90 / 100% of your five-hour and weekly limits. Thresholds are configurable.

Waits until you're there

If you're away from the keyboard or the screen is locked, it holds the message. An alert you didn't see didn't happen.

Every monitor

On Wayland an app can't ask where you're looking. So it doesn't guess — it draws on all screens. You can't be wrong if you don't guess.

Session greetings

Optional Claude Code SessionStart hook: know what's left before you begin.

Never in the way

Transparent click-through overlay. No taskbar entry, never steals focus, gone in 3 seconds.

Tray at a glance

The tray icon is generated from the character and changes expression with your usage level.

In VS Code too

A companion extension puts the same character in the sidebar beside the Claude Code panel. Only one of the two speaks at a time.

As the limit approaches

Claude usage at 90 percent — character looking worried with a red five-hour gauge
90% — worried
Claude usage limit reached at 100 percent — character fainted, showing reset time
100% — out, with the reset time

Install

One file. No installer, no root, no package manager.

chmod +x claude-usage-tracker-*-x86_64.AppImage
./claude-usage-tracker-*-x86_64.AppImage

No window opens — that's correct. Look for the tray icon; a window-less tray app is this program's normal state. To uninstall, delete the file and ~/.config/claude-usage-tracker/.

VS Code extension

Optional. The same alerts in the sidebar, next to the Claude Code panel:

code --install-extension hosungjoo.claude-usage-tracker-vscode

Claude Usage Tracker for Claude Code on the Marketplace. It works on its own; with the tray app running, the panel takes the alert while it's visible and the overlay takes it otherwise.

How it reads your usage

It calls the same endpoint Claude Code itself uses:

GET https://api.anthropic.com/api/oauth/usage
Authorization: Bearer <token from ~/.claude/.credentials.json>
anthropic-beta: oauth-2025-04-20

The response carries real utilization percentages for the five-hour window, the seven-day window and any model-scoped limits — not token counts you have to convert yourself.

Your token never leaves your machine and is never written to a log. The logger scrubs anything resembling a credential, deliberately over-eagerly, because a log file is what you send to a stranger when you ask for help.

Compared with the alternatives

 This appBar-chart dashboards/status in the CLI
Tells you unpromptedyesnono
Works while you're in another appyesnono
Waits until you're at the keyboardyes——
Multi-monitorall screens——
Official usage API (real %)yesvariesyes

Questions

How do I check my Claude usage on Linux?

Install this app. It runs in your tray, polls the official usage API and shows a character on screen when you cross 50%, 70%, 90% or 100% of your five-hour or weekly limit. You don't have to open anything.

Does it need an API key?

No. It reuses the OAuth token Claude Code already stored in ~/.claude/.credentials.json. If you're signed in to Claude Code, there's nothing to configure.

Does checking usage cost tokens?

No. The usage endpoint returns account metadata, not model inference, so polling it consumes none of your quota.

What are the five-hour and weekly limits?

Claude subscriptions meter usage over a rolling five-hour session window and a seven-day window. The usage API reports utilization as a percentage for each, plus any model-scoped limits, along with when each one resets.

Does it work on macOS or Windows?

Not yet. The overlay, autostart and idle detection are written against Linux/XDG and GNOME interfaces. The core is portable; the shell is not.

Will it interrupt me?

It draws a click-through overlay that never takes focus and disappears after 3 seconds. If you're away it waits rather than showing to an empty chair.

Why a character instead of a desktop notification?

Desktop notifications are the thing you have trained yourself to ignore. That's precisely the wrong medium for "you are about to lose your working session."