Tool Connect: Cursor

Tool Connect: Cursor

Allstacks now supports Cursor, providing rich AI development insights through key metrics. This guide outlines what data is available, how we connect to Cursor, and important limitations.


Important Notes

  • 90-Day Window: Allstacks is currently showing 90 days worth of data.

  • Live Data: Metrics refresh every time you reload the page, as the API fetches fresh data on each load.


How We Connect

Allstacks connects to Cursor using a Cursor API Key.

Only Cursor Admins can create API Keys.
Please refer to the Cursor Admin API documentation for instructions.

  1. Log into your Allstacks platform > Top-Right Corner, click your Tenant Name > Click Tools

  2. Once on the Tools page > Top-right, click the Add Tools button

  3. Once the Add Tool or Service window pops-up > On the top-left of the panel, type in Cursor > Click on the Cursor tool > enter your API token > Click Add Tool

    image-20250806-175248.png
  4. Once the tool has been added, you can than connect the Cursor tool to your workspaces.

  5. You should now see AI Usage Metrics become available in your Configure section to navigate to.

We use the following endpoint to pull data which you can also validate to ensure Allstacks is representing the same data you are seeing in Cursor.


Metrics We Show from Cursor

Once configuration is completed, Allstacks displays the following metrics sourced from Cursor:

image-20250717-195339.png

1. Code Acceptance Rate Over Time

Tracks how often developers accept AI code suggestions (tabs/applies) daily.
Why it matters: Shows trends in AI suggestion quality and developer trust.

2. Net Code Contribution by AI

Compares AI-generated lines added vs deleted to measure true code impact.
Why it matters: Reveals if AI is driving new features or just refactoring.

3. Feature Usage Distribution

Monitors daily use of different Cursor features.
Why it matters: Understand which AI tools developers rely on most.

4. File Type Analysis

Breaks down lines of code added by file extension.
Why it matters: Shows activity across programming languages.