How do I measure the impact of Claude Code and Cursor on my engineering team?
To measure the impact of Claude Code, Cursor, and/or any other AI coding tools, pull usage data out of the tools, link it to the pull requests each tool touched, and compare those pull requests against your team’s own baseline on cycle time, review time, and quality. Then add developer experience surveys and token cost, because each vendor’s dashboard covers only its own tool and can’t tell you whether work reached production faster.
The key steps are:
- Pull usage data out of both tools
- Link usage to pull requests
- Compare against your own baseline
- Watch review load and quality
- Ask engineers what changed
- Put token cost next to output
If both tools are already rolled out, you haven’t missed your baseline. Your source code hosting and issue tracker history from before adoption is still there.
Pull usage data out of both tools
Both tools report usage, but they count different things. Claude Code’s Team and Enterprise analytics count merged pull requests with at least one Claude Code line, and skip code an engineer rewrote by more than 20%. Cursor’s analytics report the share of committed lines it can match to Tab or Agent suggestions, and count Tab completions as suggestions, not lines. Add the two line counts together and you get a number neither vendor would stand behind.
So start with what does compare: licenses assigned and weekly active users, per tool and per team. Check plan limits early. Cursor’s Analytics and AI Code Tracking APIs are Enterprise-only, and Claude Code’s pull request metrics don’t include usage through the Claude Console or third-party platforms. Swarmia’s AI adoption and cost, for example, shows Claude Code, Cursor, GitHub Copilot, and Codex licenses next to actual usage, team by team, so idle seats show up fast.
Link usage to pull requests
Impact shows up in pull requests, not sessions, so tag each pull request with the tool that touched it. The strongest signals are commits authored or co-authored by an AI tool, Cursor’s Made-with: Cursor Git trailer, and the claude-code-assisted label that Claude Code’s analytics add to merged pull requests. Each has a catch. Cursor’s trailer depends on local attribution settings, and the Claude Code label only appears once an owner turns on contribution metrics, which aren’t available to organizations with zero data retention.
When those signals are missing, the fallback is time-based: did the author use the tool in the previous 24 hours? That overcounts. An engineer who used Claude Code on task A gets task B tagged too. Swarmia, for example, reads all four signals and lets you switch to high-confidence matches only, so you see both the floor and the ceiling.
Compare against your own baseline
Compare each team with itself: the months before Claude Code or Cursor arrived against the months after, and AI-assisted pull requests against the rest in the same period. Team-versus-team comparisons mostly show who adopted first, because early adopters tend to be strong engineers already. Done carefully, the comparison can show a real effect. Microsoft’s study of its early-2026 rollout of Claude Code and GitHub Copilot CLI found adopters merged roughly 24% more pull requests than they would have otherwise, and the lift held for four months.
Watch the unit, too. Across 1,450+ engineering organizations in Swarmia, median batch size roughly doubled between Q1 2025 and Q1 2026, so last year’s pull request counts and cycle times aren’t a like-for-like comparison. Check batch size first.
Both vendors ship a usage leaderboard. We’d use it to find people who can teach others, not to rank anyone.
Watch review load and quality
Faster coding moves work into review. Track review time, change failure rate, and reverted pull requests for AI-assisted work separately from the rest. If coding time drops while review time climbs, the bottleneck moved rather than disappeared. Don’t expect vendor line counts to catch this: Claude Code’s lines-accepted count, for example, doesn’t track code deleted later, so rework never shows up in it.
A Carnegie Mellon study of 806 open-source repositories that adopted Cursor found that velocity gains faded after two months, while static analysis warnings rose 30% and code complexity 41%, and both stayed up. That’s open-source code and early agent tooling, so read it as a reason to watch your own numbers, not a forecast.
Speed and quality can rise together, but you need data to show it. PrescriberPoint’s 15-person engineering team tripled weekly pull request throughput after moving to fully agentic development, and used Swarmia’s investment balance to confirm that rework stayed low.
Ask engineers what changed
Surveys catch what usage data can’t: whether engineers trust the code they review, and which tasks the tools help with. Ask directly, with statements like “I feel confident reviewing AI-generated code on my team” and “The quality of AI-generated code reaching production concerns me.” Engineers tend to spot quality problems before the bug backlog does.
Don’t use surveys to measure speed, though. In METR’s 2025 trial, 16 experienced open-source developers worked mostly in Cursor with Claude 3.5 and 3.7 Sonnet. They took 19% longer when AI was allowed, yet afterwards estimated it had made them 20% faster. Those were early-2025 tools, but the gap between felt and measured speed still holds true.
Swarmia’s developer experience surveys sit next to system metrics, so a team’s answers about review load can be read against its actual review times.
Put token cost next to output
Your invoice mixes seats and usage, so it can’t tell you which team’s work the money went to. Claude Code reports estimated cost per user through OpenTelemetry or a spend report export, and Cursor’s Admin API exposes usage and spending data on Enterprise plans. Convert both to one unit, such as the list price of tokens used. Raw token counts don’t compare, because models price and tokenize differently.
Then read cost against the output numbers from the earlier steps. Rising spend is fine while impact rises with it. Spend climbing while delivery and quality metrics stay flat is the signal to act on.
Swarmia’s AI cost view, for example, spreads each person’s daily token usage across the issues and pull requests they worked on that day, so you can see what an epic cost in tokens as well as engineer time.
