VS Code / Cursor extension that reads your session from Cursor’s local SQLite database and calls Cursor’s dashboard HTTP APIs to show Fast / Premium usage in the status bar, with a progress bar, color thresholds, and a detailed hover tooltip.
This extension uses undocumented storage keys and cursor.com routes that may change at any time. It may stop working after a Cursor update. See SECURITY.md for what is read and where requests go, and POLICY.md before publishing or redistributing.
Tested on macOS and Windows. Linux should work if Cursor stores data under the usual ~/.config/Cursor/... layout.
- Minimal setup: Reads
cursorAuth/accessTokenfrom Cursor’sstate.vscdbusing sql.js (SQLite in WebAssembly). No systemsqlite3CLI is required, so Windows works out of the box (macOS/Linux often hadsqlite3onPATHbefore; this approach is consistent everywhere). - Color coding: Warning near high usage, error color at very high usage.
- Progress bar: ASCII bar in the status text.
- Tooltip: Premium vs Auto/Composer-style breakdown when available from the API.
- Dashboard panel: Clicking the extension status bar item (or running the command) opens the in-editor Cursor usage dashboard panel.
- Quick links: The panel includes links to open the Cursor dashboard and spending page in your browser.
- Cursor (or a VS Code build where Cursor’s data paths apply) with a logged-in account.
- No extra system tools: the extension bundles sql.js to read the local SQLite file.
- Run
npm installandnpm run compile, thennpm run vsixto producecursor-limits-<version>.vsix(version frompackage.json). - In Cursor: Extensions → … → Install from VSIX… and select the file.
cursor-limitsis published on Open VSX: naumanmoazzam/cursor-limits
npm installnpm run compile(ornpm run watch)- Open this folder in Cursor/VS Code and press F5 (Extension Development Host).
See CONTRIBUTING.md for guidelines.
- SECURITY.md — data access and reporting issues.
- POLICY.md — marketplace and terms-of-use checklist for maintainers.
MIT — see LICENSE.

