Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SH Claude MonitorNew to Visual Studio Code? Get it now.
SH Claude Monitor

SH Claude Monitor

Scriptshub

|
2 installs
| (0) | Free
Shows Claude Code session cost and context usage in the VS Code status bar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Statusline

Shows per-session cost and context window usage for Claude Code directly in the VS Code status bar.

What it shows

🤖 sonnet-4-6   $0.042   3.2%
Item Description
🤖 sonnet-4-6 Active Claude model
$0.042 / ₹3.52 Cumulative cost for the current session
3.2% Context window fill percentage

Context turns orange with a ⚠️ warning at ≥ 80%.
Click any item for a full breakdown popup.

How it works

Reads Claude Code's local session transcript files (~/.claude/projects/…/*.jsonl) directly — no network requests, no telemetry, no Claude Code configuration needed.

Settings

Setting Default Description
claudeStatusline.currency USD USD or INR
claudeStatusline.inrExchangeRate 95 USD → INR rate (update to current rate)
claudeStatusline.contextWindowTokens 200000 Fallback only — context window is auto-detected from your Claude Code settings ([1m] plan detected automatically)

Publishing / Performance

  • Zero network calls — reads only local files already written by Claude Code
  • Uses fs.watch for live updates; polls every 5 s only to detect new sessions
  • CPU and memory overhead is negligible
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft