A VS Code extension that provides real-time statistics about your Cursor usage, including premium requests and usage-based pricing information.
- 🚀 Real-time monitoring of Cursor usage
- 📊 Premium request tracking with startOfMonth support
- 💰 Usage-based pricing information with billing cycle awareness
- 🔔 Smart notification system with configurable thresholds
- 💸 Spending alerts with dollar amount thresholds
- 💳 Mid-month payment tracking and invoice notifications
- 🔒 Stripe integration for billing portal access
- 🖥️ Focus-aware updates (pauses when window minimized)
- 🎨 Customizable status bar display with optional colors
- 📝 Detailed tooltips with usage statistics
- 📈 Total request counter (fast + usage-based requests)
- ⚡ Command palette integration
- 🌙 Support for both regular and nightly Cursor versions
- 🔄 Enhanced GitHub release updates with markdown support
Stay tuned for these exciting new features coming soon:
- 📊 Session based request tracking
- 📈 Visual analytics with graphs for historical request usage
- 🎯 Project-specific request usage monitoring
- 🎨 Dedicated activity bar section for enhanced statistics view
- 🔄 Smart API error handling:
- Automatic retry reduction during outages
- Intelligent refresh rate adjustment
- User-friendly error notifications
- ⚙️ Enhanced customization features:
- Configurable quota display options
- Hide/show specific model statistics
- Customizable status bar information
![]() |
![]() |
![]() |
UI | UI | Settings |
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Cursor Stats"
- Click Install
- Or install from VS Code Marketplace
- Download the latest .vsix file from Releases
- Open Cursor
- Press Ctrl+Shift+P (Cmd+Shift+P on macOS)
- Type 'Install from VSIX' and select it
- Choose the downloaded VSIX file
The project is organized into the following directories:
cursor-stats/
├── src/
│ ├── interfaces/ # TypeScript interfaces and types
│ │ └── types.ts
│ ├── services/ # Core services for different functionalities
│ │ ├── api.ts # API communication with Cursor servers
│ │ ├── database.ts # SQLite database operations
│ │ └── github.ts # GitHub release checking
│ ├── handlers/ # UI and event handlers
│ │ ├── statusBar.ts # Status bar UI management
│ │ └── notifications.ts # Smart notification system
│ ├── utils/ # Utility functions
│ │ └── logger.ts # Logging functionality
│ └── extension.ts # Main extension file
The extension can be configured through VS Code settings:
cursorStats.enableLogging
: Enable detailed logging for debuggingcursorStats.enableStatusBarColors
: Toggle colored status bar based on usagecursorStats.enableAlerts
: Enable usage alert notificationscursorStats.showTotalRequests
: Display total requests instead of current usagecursorStats.usageAlertThresholds
: Configure percentage thresholds for alertscursorStats.refreshInterval
: Set update frequencycursorStats.spendingAlertThreshold
: Configure dollar amount thresholds for spending alerts
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
If you encounter any issues or have suggestions, please:
- Check our Known Issues
- Submit a new issue if needed
- Join the discussion in existing issues