Skip to content

browser extension that visualizes your Cursor activity, including agent messages, accepted code suggestions, and token usage. Provides interactive charts and calendars to help you track your productivity and usage patterns over time.

License

Notifications You must be signed in to change notification settings

alexerm/cursor-stats-extension

Repository files navigation

Cursor Stats Extension

Chrome Web Store MIT License

Overview

Cursor Stats Extension is a browser extension that visualizes your activity on Cursor. It provides interactive charts and calendars to help you track agent messages, accepted code suggestions, token usage, and budget consumption over time. This tool is designed to help developers understand and optimize their productivity within the Cursor environment.

✨ Features

🆕 New in v0.3.0

  • Year Switcher: Navigate through your coding history from 2023 onwards with intuitive prev/next buttons
  • 📊 Monthly Budget Tracker: Real-time progress bar showing usage vs. plan limits with automatic plan detection (Pro, Pro Plus, Ultra)
  • Performance Optimized: 96% faster data loading for historical years with smart data fetching

Core Features

  • 📅 Agent Messages Calendar: Visualize your daily AI chat requests by year
  • Accepted Lines Calendar: Track accepted code suggestions over time
  • 🔢 Token Usage Charts: Monitor your token consumption for the last 14 days
  • 💰 Cost Analytics: Daily cost breakdown with subscription and usage-based tracking
  • 📈 Usage Insights: Average tokens and cost per request analytics
  • 📊 Days of Week Distribution: See your activity patterns throughout the week
  • Live Data Fetching: Progressively loads and updates your usage data
  • 🎨 Modern UI: Clean, dark-themed dashboard for easy insights

Screenshots

Screenshot

🚀 Quick Install

Install from Chrome Web Store →

One-click installation - no setup required!


Alternative Installation Methods

📦 Manual Installation (for developers)
  1. Clone the repository:

    git clone git@github.com:alexerm/cursor-stats-extension.git
    cd cursor-stats-extension
  2. Install dependencies:

    pnpm install
    # or
    npm install
  3. Build the extension:

    pnpm build
    # or
    npm run build
  4. Load into your browser:

    • Open your browser's extensions page.
    • Enable "Developer mode".
    • Click "Load unpacked" and select the dist or build directory.

Usage

  • Open the extension popup to view your activity dashboard.
  • The extension fetches your Cursor analytics and usage data automatically.
  • Hover over charts for detailed statistics.

🗺️ Roadmap

Check out our Product Roadmap to see what's coming next!

Planned for v0.4.0:

  • Custom date range picker
  • Model usage breakdown
  • Budget alerts & notifications
  • Export functionality (CSV/JSON)

See the full roadmap for long-term plans and how you can influence future development.

Contributing

Contributions are welcome! Please open issues or pull requests for new features, bug fixes, or suggestions.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/YourFeature)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature/YourFeature)
  5. Open a pull request

License

This project is licensed under the MIT License.


Author: Oleksandr Erm (alexerm@gmail.com)

About

browser extension that visualizes your Cursor activity, including agent messages, accepted code suggestions, and token usage. Provides interactive charts and calendars to help you track your productivity and usage patterns over time.

Topics

Resources

License

Stars

Watchers

Forks