VS Code Extensions
SH Claude Monitor

SH Claude Monitor

by scriptshub

Shows Claude Code session cost and context usage in the VS Code status bar

Downloads

18

Rating

— (0)

Version

0.1.0

Last updated

Jun 02, 2026

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

Related extensions