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
- π₯ Team usage tracking with per-user statistics
- π Premium request tracking with startOfMonth support
- π° Usage-based pricing information with billing cycle awareness
- π Smart cooldown and update mechanisms
- π 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 with optimized performance
- π¨ 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


