SuperAPI AI Directory

cursor-usage

AI coding usage analytics: track spend, model usage and costs across Cursor and Claude Code sessions.

Open website

About this tool

Cursor Usage is an MCP (Model Context Protocol) server plugin for tracking a team's AI coding spend, usage, and model adoption on Cursor Enterprise. It wraps the complete Cursor Enterprise Admin API and Analytics API, enabling AI agents to directly answer questions about team spending. This plugin is part of the cursor-usage-tracker ecosystem.

Purpose This plugin is mainly aimed at users managing a Cursor Enterprise team, helping them understand the spending of team members, which models are being used, and whether the AI investment is delivering value. Users do not need to log in to a dashboard; they only need to ask the AI agent questions such as:

  • "How much did my team spend this week?"
  • "Who is using the most expensive models?"
  • "Give me a full usage report for the current billing cycle."

Main Capabilities The plugin wraps the complete Cursor Enterprise Admin and Analytics API, providing agents with tools and knowledge to directly answer the above questions. It supports Cursor, Claude Code, and any MCP-compatible client. The provided tools include composite tools, as well as tools that may be used for in-depth analysis (such as get_team_overview, get_user_deep_dive, get_model_usage, get_spending, get_agent_edits, etc., as can be seen from the example conversations).

How to Use

  1. Install in Cursor: Install via the Marketplace, then set the API key in Cursor settings: open Settings → MCP, find cursor-usage, and set CURSOR_API_KEY to the Cursor Enterprise Admin API key.
  2. Manual configuration: Add to the MCP configuration (the specific format of the configuration content is not provided in the material).
  3. Use as a skill only: Copy the skills/ directory to the project's .cursor/skills/ or .claude/skills/ folder. Even without the MCP server, the skill can work independently as reference material.

Obtaining an API Key Go to Cursor team settings (Settings → Team → API Keys) and generate an Admin API key. For analytics endpoints, an Analytics API key may also be needed. The API key provides read access to team usage data; the only write operation is set_spend_limit.

Use Cases Suitable for scenarios that require quickly querying team Cursor spending in the IDE. For example: quick spend checks, user deep dives, model audits, etc. The example conversations show how the agent calls tools and gives detailed answers.

Limitations

  • The plugin itself only provides quick Q&A functionality; if you need historical trends (the API is limited to 30 days), automatic anomaly detection, Slack/email alerts, incident tracking (MTTD/MTTI/MTTR lifecycle), and a web dashboard with charts and visualizations, you need to use the cursor-usage-tracker open-source dashboard.
  • Prerequisites: A Cursor Enterprise team with API access, and an Admin API key (optionally an Analytics API key).

Other Information This plugin follows the MIT license, and the author is Ofer Shapira.