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

Claude Code Usage Dashboard

Man Vu

|
1,889 installs
| (2) | Free
| Sponsor
Monitor Claude Code rate limits, costs, and token usage directly in your VS Code status bar with an analytics dashboard
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Code Usage Dashboard

Monitor your Claude Code rate limits, API-equivalent costs, and token usage directly in VS Code — with a full analytics dashboard.

Dashboard Overview

Features

Status Bar & Hover Overlay

A single status bar item shows your current rate limit utilization at a glance. Hover for a detailed breakdown of rate limits, today's cost, tokens, cache performance, and model usage — all in one card.

Status Bar Status Bar Overlay

Analytics Dashboard

Press Ctrl+Alt+C (or click the status bar) to open the full dashboard:

KPI Cards, Cost Trend & Subscription Info

  • KPI Cards — Today's cost with per-model breakdown, token ring gauges (input/output/cache), sparklines
  • Subscription Banner — Shows your plan, projected monthly API cost vs. actual price, and value multiplier
  • Unified Cost/Token Trend — Toggle between Cost and Tokens view with smooth bezier curves, animated draw-in, and period tabs (1D / 1W / 1M / 1Y / ALL)
  • 1D Hourly View — When viewing Today, the chart shows 24 hourly data points with cost/token distribution
  • Interactive Tooltips — Hover any data point for cost (green), messages, tokens (peach), and per-model breakdown

Model Distribution, Cache & Projects

Dashboard Bottom

  • Model Distribution — Donut chart showing cost split across Opus, Sonnet, Haiku, and Thinking models
  • Cache Performance — Read/write volumes, hit rate, and estimated savings
  • Projects — Ranked by cost with progress bars, message counts — all filtered by period
  • Tool Usage — Top 15 tools ranked by frequency (Bash, Read, Edit, etc.) — filtered by period
  • Activity Heatmap — 24-hour activity pattern showing when you code with Claude

Period Filtering

All dashboard sections respond to the period tabs — switch between 1D, 1W, 1M, 1Y, and ALL to see data for any time range. The comparison badge adapts: "vs yesterday" for 1D, "vs prev week" for 1W, etc.

Subscription Awareness

Automatically detects your Claude subscription tier (Max 20x, Max 5x, Pro, Free) and displays an info banner explaining that costs shown are API-equivalent estimates — you are not charged these amounts on a subscription plan. Shows a value multiplier comparing projected API cost vs. what you actually pay.

Offline & Private

All usage data is computed locally by scanning Claude Code's JSONL conversation files (~/.claude/projects/). Zero network calls for cost/token data — the only API call is the rate limit check to api.anthropic.com.

Installation

From VS Code Marketplace

Search for "Claude Code Usage Dashboard" in the Extensions panel, or:

ext install man-vu.claude-code-usage-dashboard

From VSIX

  1. Download the .vsix file from Releases
  2. Ctrl+Shift+P → "Install from VSIX"

Requirements

  • Claude Code CLI installed and authenticated
  • VS Code 1.85+

Commands

Command Shortcut Description
Claude Usage: Show Dashboard Ctrl+Alt+C Open the full analytics dashboard
Claude Usage: Refresh All Ctrl+Alt+R Force refresh all data
Claude Usage: Toggle Status Bar Show/hide the status bar item
Claude Usage: Scan Today's Stats Re-scan JSONL files for today

Settings

Setting Default Description
claudeUsageBar.refreshInterval 300 Auto-refresh interval in seconds (minimum 60)
claudeUsageBar.warningThreshold 70 Usage % to show yellow warning
claudeUsageBar.criticalThreshold 90 Usage % to show red alert
claudeUsageBar.dailyBudget 0 Daily cost budget in USD (0 = disabled)

How It Works

  1. Rate limits — Fetched from api.anthropic.com/api/oauth/usage using your Claude Code OAuth token (cached aggressively with exponential backoff to avoid 429s)
  2. Cost & tokens — Computed locally by scanning ~/.claude/projects/*/*.jsonl conversation files. Each assistant message contains usage.input_tokens, usage.output_tokens, and the model name, which we multiply by API pricing
  3. Tool usage — Extracted from message.content[].type === "tool_use" entries in the same JSONL files
  4. Hourly activity — Derived from message timestamps
  5. Project breakdown — Grouped by the project directory in the JSONL file path

Privacy

  • All data stays on your machine
  • No telemetry, no tracking, no analytics
  • The only network request is the rate limit API call (using your existing Claude Code OAuth token)
  • Source code is fully open

Support

If this extension helps you, consider supporting development:

Buy Me A Coffee

License

MIT

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