Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Claude Usage MeterNew to Visual Studio Code? Get it now.
Claude Usage Meter

Claude Usage Meter

SKKokkula

|
83 installs
| (0) | Free
Unofficial. Session, weekly and per-model Claude usage in the status bar, read from Anthropic's API. Needs a Claude Code OAuth token on the machine; an editor's own AI sign-in does not leave one. A stale reading shows its age instead of posing as current.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Usage Meter

Your real Claude usage in the status bar — and when the number stops being current, it says so instead of pretending.

⟳ 21% (resets in 2h 11m) · 24% (resets in 4d 4h) · Fable 12%

The rolling 5-hour session window, then the rolling 7-day window, each with its reset countdown — then Fable, Anthropic's weekly sub-cap on Max/Premium plans, shown by name when your account has one. Every percentage is read straight from Anthropic's own usage endpoint, not estimated locally.

Open VSX Licence: MIT

Unofficial. This is an independent, community-built extension. It is not made by, endorsed by, or affiliated with Anthropic. "Claude" is Anthropic's trademark and is used here only to describe what the extension reads.

Screenshots

All three images below are real captures — the maintainer's own usage at one point in time, not a live reading of yours.

The Claude usage meter in the VS Code status bar, reading Session 4% (resets in 1h 44m), Weekly 97% (resets in 3d 11h) shown in a warning colour, and Fable 75% shown in a warning colour. A real capture from the maintainer's account at one point in time, not a live reading of your own usage.

The meter's hover card, showing Session 4%, Weekly 97% flagged as at or over the 90% warning level and critical, and Fable 75% flagged as a warning, each with reset times and an explanation of how Fable draws from the weekly limit. A real capture, not a live reading of your own usage.

The same usage shown in Claude's own account usage panel, confirming the meter's Session 4%, Weekly 97%, and Fable 75% match Anthropic's own numbers. A real capture, not a live reading of your own usage.

What makes this one different

  • A stale reading says so. Past its age limit or a throttle, the bar shows the reading's age (12m old) instead of a frozen number pretending to be current.
  • It never shows a number it did not get. A failed request renders —, never 0%. No demo mode, no simulated data.
  • One reading per machine. Every open editor window shares a single request and a single backoff instead of polling separately.
  • The one derived figure is off by default, and always labelled est. — every other number here is one Anthropic reported.
  • It reads only a Claude Code OAuth token — sent to exactly one host, never logged or persisted. See Authentication.
  • Ships a terminal status line too, for zero extra requests, reusing the same snapshot.

Install

Search Claude Usage Meter in the Extensions view, or:

code --install-extension shivakrishnakokkula.claude-usage-meter

Also on Open VSX, so Cursor, Windsurf and VSCodium can install it too. Whichever editor you use, it reads a Claude Code sign-in — not that editor's own AI sign-in.

Settings

Setting Default Meaning
claudeUsageMeter.refreshIntervalSeconds 300 How often to poll, machine-wide (minimum 60).
claudeUsageMeter.models ["Fable"] Per-model windows to show, by the API's own names. ["*"] for all, [] for none.
claudeUsageMeter.showProjection false Estimate when a window will fill at your current rate, labelled est..
claudeUsageMeter.warnAtPercent 90 Amber-highlight a figure at or above this percentage.
claudeUsageMeter.notify false Raise a notification the first time a window crosses the warning threshold.
claudeUsageMeter.compact true Drop the 5h/7d labels when a figure's position already says which is which.
claudeUsageMeter.alignment / .priority "right" / 100 Status bar placement.

In your terminal

Installs a matching Claude Code status line: run Claude Usage Meter: Install Claude Code Status Line from the Command Palette. It reads the same shared snapshot the status bar already maintains, so it costs zero extra API requests.

Commands

  • Show Details — full breakdown, plus network diagnostics
  • Refresh Now
  • Open Official Usage Page
  • Send Feedback
  • Install Claude Code Status Line

Authentication

Reads the OAuth token Claude Code already stores locally (an environment variable, its credentials file, or — on macOS — its keychain item). Sent as a bearer header to api.anthropic.com and nowhere else: no telemetry, no analytics, no update check of its own. The token is never logged, never written to the output channel, and never persisted by this extension — it is only ever read, never written or refreshed.

Feedback

Use the Send Feedback command, or the Q & A tab of this listing — this repository is private, so there is no public issue tracker.

Licence

MIT.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft