
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
Track your remaining Cursor fast-premium requests in the status bar, with usage-based spending shown when exhausted
Track your remaining Cursor fast-premium requests and usage-based spending directly in your Cursor's status bar with intelligent reset tracking and usage analytics.
This extension displays your remaining Cursor fast-premium requests count in Cursor's status bar, with usage-based spending information shown when you've exhausted your included requests. It now includes intelligent reset date tracking and daily usage analytics to help you better manage your AI usage. Think of it as your personal AI usage speedometer with financial tracking and predictive insights.
⚡ 247)$1.52/$150.00)The extension authenticates with Cursor's API using your browser session cookie and uses a two-tier approach to provide usage insights:
For Team Users: Fetches both individual user data (for reset dates and limits) and team usage data (for actual usage counts and spending), then combines them for comprehensive insights.
For Individual Users: Uses your personal usage data directly from Cursor's individual user API, showing request counts and reset dates.
The extension gracefully falls back to individual data if team information is unavailable, ensuring it works for all users regardless of their Cursor setup.
Visual Status Indicators:
When showing requests (remainingRequests > 0):
When showing spending (0 requests left):
Status Bar Display Logic:
⚡ 247 - 247 fast-premium requests remaining (normal state)⚠️ 15 - Warning: low requests remaining (≤10%)⚡ $1.52/$150.00 - No requests left, normal spending (green)⚠️ $120.50/$150.00 - No requests left, approaching limit (yellow)❌ $150.00/$150.00 - No requests left, limit reached (red)You'll need to extract your WorkosCursorSessionToken cookie from your browser:
https://cursor.comWorkosCursorSessionToken and copy its valueCursor Usage: Insert cookie valueFor Individual Users: If you don't belong to any Cursor teams, you can skip this step entirely. The extension will automatically use your individual usage data.
For Team Users: If you belong to multiple Cursor teams, you may want to specify which team to track. You can set this via the Cursor Usage: Set Team ID command or in your settings.
auto. The extension will use the first team it finds and cache the ID.id in the teams API request in your browser's network tab and enter it.If you don't set a team ID, the extension will automatically try to use your first team, or fall back to individual data if no teams are found.
| Setting | Default | Description |
|---|---|---|
cursorUsage.pollMinutes | 30 | How often to refresh the count (in minutes). |
cursorUsage.teamId | "" | Specific team ID to track. Leave empty or set to auto for auto-detection. |
All commands are available from the Command Palette (Cmd+Shift+P).
| Command | Description |
|---|---|
Refresh Usage | Manually refreshes the usage data. |
Insert cookie value | Prompts you to paste and store your session cookie. |
Set Team ID | Opens an input to set your Team ID. |
Set Poll Interval | Opens an input to configure the refresh interval. |
Force Re-initialize | Resets the extension, clears the cache, and forces a full data refresh. Useful if something seems stuck. |
Open Settings | Opens the extension's settings UI. |
Tip: Click the status bar item to quickly refresh your usage data.
Hover over the status bar item to see comprehensive information:
When you have requests remaining:
Resets in 23 days (2024-02-15) · 8.7 requests/day avg
Fast Premium Requests: 247/500 remaining (50.6% used)
Spending: $1.52 of $150.00 limit (1.0% used)
Remaining budget: $148.48
When requests are exhausted:
Resets in 23 days (2024-02-15) · 21.7 requests/day avg
Fast Premium Requests: 0/500 remaining (100% used)
Spending: $1.52 of $150.00 limit (1.0% used)
Remaining budget: $148.48
⚠️ No requests remaining
With predictive warnings:
Resets in 23 days (2024-02-15) · 25.0 requests/day avg
⚠️ At current rate, quota exhausted in ~10 days
Fast Premium Requests: 250/500 remaining (50.0% used)
Spending: $0.00 of $150.00 limit (0.0% used)
Remaining budget: $150.00
Key tooltip features:
Additional contextual warnings:
⚠️ Low on requests (≤10% remaining)⚠️ Approaching spend limit (≥80% of budget used)⚠️ No requests remaining⚠️ Spend limit reached!⚠️ At current rate, quota exhausted in ~X daysYour security is paramount, so here's exactly what happens with your data:
A fair question! Currently, Cursor's API only provides API tokens to users with "Admin" roles. This means that if you're a "Team Member," there's no official way to programmatically check your usage stats.
This extension bridges that gap by using the same session cookie your browser uses to talk to the Cursor dashboard. It's the only way to get you the usage data you need, right in your editor. We keep our fingers crossed that a more direct API will be available for everyone in the future!
Don't just take our word for it, though. This extension is fully open-source. Feel free to grab your magnifying glass, put on your detective hat, and inspect the code yourself :)
cursor.com/apiThe extension only makes authenticated requests to these Cursor endpoints:
/api/auth/me - to get your user information/api/usage?user=USER_ID - to get your individual usage data and reset dates/api/dashboard/teams - to get your team list/api/dashboard/team - to get your user ID within teams/api/dashboard/get-team-spend - to get team usage dataThat's it. No third parties, no external services, no funny business.
This extension is available on Open VSX Registry (not VS Code Marketplace, since it's specifically for Cursor users).
We welcome contributions! Here's how to get started:
This project uses Node.js v20. If you use nvm, you can run nvm use to automatically switch to the correct version.
Clone the repository
git clone https://github.com/YossiSaadi/cursor-usage-vscode-extension.git
cd cursor-usage-vscode-extension
Install dependencies
yarn install
Start the watcher
yarn watch
Launch the debugger
F5 in VS Code to open the Extension Development Host.# Compile TypeScript
yarn compile
# Package for distribution
vsce package
Cursor Usage: Insert cookie value command.Cursor Usage: Force Re-initialize command.spendCents and hardLimitOverrideDollars) may not be available for all teams. Ensure your team has usage-based billing configured.MIT License - feel free to fork, modify, and improve!
Made with ❤️ for the Cursor community. Because knowing your AI limits shouldn't require leaving your editor.
FAQs
Track your remaining Cursor fast-premium requests in the status bar, with usage-based spending shown when exhausted
We found that yossisa.cursor-usage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.