Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Claude Usage BarNew to Visual Studio Code? Get it now.
Claude Usage Bar

Claude Usage Bar

Harsh Agarwal

|
79 installs
| (1) | Free
Shows your Claude Code rate limit usage in the VS Code status bar — session %, reset countdown, and color alerts. Zero token cost.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Usage Bar

Shows your Claude Code rate limit usage in the VS Code status bar — just like the terminal bar, but always visible while you code.

Features

  • Live usage bar — ████████░░ 82% · 1h 12m in the status bar
  • Session (5hr) and weekly (7d) limits tracked separately
  • Color alerts — yellow at 70%, red at 90%
  • Reset countdown — updates every 30 seconds
  • Zero token cost — reads directly from Anthropic's usage API, no messages sent
  • Auto token refresh — stays authenticated without any manual steps

Requirements

  • Claude Code VS Code extension installed and signed in
  • macOS (uses the macOS Keychain for auth — Windows/Linux support coming)

How it works

Claude Code stores your OAuth credentials in the macOS Keychain. This extension reads those credentials and calls Anthropic's /api/oauth/usage endpoint — the same endpoint the Claude Code extension uses internally to show usage in its sidebar. No tokens are consumed.

Status Bar

The status bar item shows the highest active limit:

Display Meaning
████████░░ 82% · 1h 12m 82% used, resets in 1h 12m
$(check) Usage OK Below all thresholds
Yellow background 70%+ used
Red background 90%+ used

Hover for a full breakdown of all limits (session, weekly, Sonnet, extra usage). Click to manually refresh.

Commands

Command Description
Claude Usage: Refresh Rate Limit Force refresh from API

Settings

No configuration needed — it works automatically once Claude Code is authenticated.

Known Limitations

  • macOS only (relies on security CLI for keychain access)
  • Requires Claude AI login (not API key auth)

Release Notes

0.1.0

Initial release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft