Cursor Token TrackerSee your Cursor AI spend and token usage right in the status bar — no more opening the web dashboard. OverviewCursor Token Tracker is a lightweight extension for Cursor / VS Code that surfaces your AI usage — spend and tokens — directly on the status bar (bottom-right). It reads your session automatically from Cursor's local storage, so there's nothing to configure to get started.
Features
InstallationFrom a
|
| Command | Description |
|---|---|
Cursor Usage: Refresh |
Refresh usage data immediately |
Cursor Usage: Show Details |
Open the detail panel |
Cursor Usage: Open Dashboard |
Open the detail panel |
Cursor Usage: Reset Chat Session |
Reset the chat session counter |
Cursor Usage: Diagnose Auth |
Check token auto-detection |
Cursor Usage: Set Session Token |
Enter a token manually |
Cursor Usage: Clear Saved Token |
Clear the manually saved token |
Settings
| Setting | Default | Description |
|---|---|---|
cursorUsage.monthlyBudget |
100 |
Monthly budget (USD) shown on the status bar |
cursorUsage.showBudgetPercent |
true |
Show budget usage percentage on the status bar |
cursorUsage.refreshIntervalSeconds |
60 |
Refresh interval in seconds (minimum 30) |
cursorUsage.activeChatRefreshSeconds |
10 |
Refresh interval while a chat is active (minimum 5) |
cursorUsage.autoDetectToken |
true |
Auto-read the token from state.vscdb |
cursorUsage.showTokens |
true |
Show token counts in the tooltip and detail panel |
cursorUsage.stateDbPath |
"" |
Custom path to state.vscdb (empty = auto-detect) |
Budget can also be adjusted directly in the detail panel — click the status bar.
Notes & limitations
- Uses an unofficial API reverse-engineered from the Cursor dashboard — it may change at any time.
- Chat session cost is heuristic (it tracks agent transcripts) and may not exactly match internal Composer threads.
- Monthly usage follows Cursor's billing cycle, not the calendar month.
Contributing / Development
Building and packaging instructions live in README.dev.md.
License
MIT — Copyright © 2026 nguyenvinhtieng.vn