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

AI Status Bar

Tolbxela

|
76 installs
| (0) | Free
Track Codex, Claude Code, and Devin usage in the status bar and expose saved usage to agents over MCP.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Status Bar

Track Codex, Claude Code, and Devin usage in your editor's status bar. Hover over an agent to see its usage limits, reset times, and available plan or credit details.

Features

  • Usage and limit warnings for each detected agent.
  • Local usage history for up to 365 days, including peak usage, quota consumed, and observed limit hits.
  • Optional forecasts that estimate when you may reach a limit.
  • Optional usage hints based on local Claude token metadata.
  • Shared polling across editor windows to avoid duplicate requests.
  • An optional read-only MCP server for agents to inspect saved usage.

Usage forecast and hints

Example usage data.

Getting started

Install a local VSIX, then reload the editor:

code --install-extension ai-status-bar-1.3.2.vsix --force

Sign in to the agents you want to monitor:

Agent Requirement
Codex codex app-server must run locally.
Claude Code An existing Claude Code sign-in.
Devin Open Devin IDE at least once to create its local usage cache. API access is optional.

Detected agents appear automatically. Codex shows remaining usage by default; Claude and Devin show used usage. Change aiStatusBar.presentationMode to use one mode for all agents.

On first start, choose Enable forecasts + hints, Enable forecasts only, or Not now. Forecasting starts disabled. Forecasts only also disables hint display and Claude transcript metadata reading. The prompt appears once; preferences can be changed later in settings.

MCP has a separate first-start opt-in and remains disabled unless enabled.

Forecasts and history

Forecasts use recorded usage without extra API requests. Short-window estimates start after two readings over five minutes, with early estimates labeled until another reading confirms them. The popup shows collection progress. Estimates pause when data is stale; weekly estimates need seven completed days of history. Estimates are approximate; provider limits remain authoritative. Forecast warnings offer Show hints and Mute until reset.

Open Usage history from an agent's popup or run AI Status Bar: Show Usage History. Review 7, 30, 90, or 365 days, grouped by day, week, or month. With forecasting enabled, Current window shows current readings and estimates.

History stays on this device under ~/.ai-status-bar/history and survives reinstalls. Disabling history or forecasting preserves saved data. History uses UTC days and records observed usage, so offline gaps can leave consumption uncounted. AI Status Bar: Clear Usage History removes the selected provider's history and forecast data after confirmation.

See the usage-history guide for details.

Settings

Find AI Status Bar in the editor's Settings. All keys below have the aiStatusBar. prefix.

Setting Default Purpose
presentationMode agentDefault Show native, used, or remaining percentages.
pollSeconds 300 Shared polling interval; minimum 60 seconds.
history.enabled true Record local usage history.
forecast.enabled false Enable forecasts and the Current window view.
forecast.notify true Show forecast notifications when forecasting is enabled.
forecast.hints true Show hints in the popup and history page.
claude.transcriptHints true Read local transcript token metadata while forecasting is enabled.
mcp.enabled false Enable the read-only MCP server.

Hiding hints does not disable forecasting or transcript metadata reading; those have separate settings. Disable history in all open editors to pause shared recording.

See the full settings reference for provider settings and other options.

MCP for agents

MCP requires Node.js 18 or newer on PATH. Enable aiStatusBar.mcp.enabled, then run AI Status Bar: Install MCP config and select your hosts. Supported hosts include Codex, Claude Code, Cursor, Devin IDE, and Windsurf. Unrelated configuration entries are preserved.

  • ai_tools lists detected AI tools.
  • ai_tool_usage reports saved usage, reset times, plan/credit details, and freshness information.

The server reads saved data only. It cannot refresh providers, stop an agent, or enforce a spending limit. Cursor and ChatGPT are inventory-only; their usage is not supported. Disabling MCP blocks the server but preserves installed host configuration entries.

Privacy

No telemetry is collected. Credentials remain with the providers; Claude's existing token is kept in memory and is not saved in the usage cache. Optional Claude hints retain local token summaries and discard message content. Hints are not sent to a model or exposed through MCP.

See Privacy for data sources, storage, and deletion details.

Troubleshooting and limitations

  • Reload the editor after installing or updating.
  • The info icon shows whether automatic polling is active, when the next check is planned, and any connection or polling errors for enabled tools only. Its hover groups tool status and data timestamps in a table, with links to check usage and open Settings. Switching a tool off hides it immediately. Clicking the info icon starts polling if stopped. Polling runs automatically while the editor is open, respects shared intervals and provider rate limits, and backs off after errors.
  • AI Status Bar: Refresh remains available in the Command Palette to check whether usage is due; opening Update Info does not request usage again.
  • If Codex is missing, run codex app-server in a terminal or set aiStatusBar.codex.command to its executable path.
  • If Devin usage is missing, open Devin IDE to update its local cache.
  • If MCP cannot start, check Node.js is on PATH, then run the installer again.
  • This extension is unofficial. Claude's usage endpoint and Codex's local app-server protocol may change.
  • Windows is locally verified. Linux/macOS paths are supported, but native integration verification is pending. macOS may ask for access to Claude's existing Keychain login.

Build

npm install
npm run pack

This builds the extension and creates a VSIX. See version history for release changes.

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