Compares AI coding tool spend before and after a migration via MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Install β’ Usage β’ Features β’ Compare β’ FAQ β’ Contributing
Your AI coding tools will never tell you if switching between them actually saved money. teamspend does, in one command.

The recording above uses claude-code-personal (credential-free, reads local session logs) so the install-to-first-run flow plays end to end with no admin API keys required; the live output shape is identical whichever adapter you point it at.
Six tools now, not two: Cursor, Claude Code, GitHub Copilot, OpenCode, and Codex CLI, plus a credential-free personal mode for anyone without admin access. More teams are running more than one AI coding tool at once, or moving between them, than ever before. Every one of those tools has a dashboard that's perfectly accurate about itself and structurally incapable of showing you anything else. teamspend is the missing piece: one real number, pulled straight from both tools' own APIs, showing exactly what changed.
Example output (shape shown below; your real numbers come from your own org's API data):
That's the whole product. One command, one honest number, zero spreadsheets.
$0 for a user with real token activity. teamspend detects that pattern and marks the number estimated rather than showing a misleading zero.fetch, native argument parsing, native file I/O.teamspend ships two independent, equally first-class packages -- pick whichever fits your toolchain, or install both. They talk to the same six data sources and compute the same before/after delta.
Both packages are named teamspend-cli (the older plain teamspend name
was renamed to match this project's other packages, then fully unpublished
from both registries as of 2026-08-03 -- same maintainer, same repo, but
no longer installable under any version). Either way, the installed
command is teamspend.
Give it the two API keys for the tools you're comparing:
Both need org-admin-level access on their platform. If you can already see billing for your org, you have what you need.
Add --json to print the full JSON report to stdout instead of the
human-readable summary above -- useful for piping into another script or a
CI step. The JSON report file on disk is written either way; --json only
changes what prints to the terminal.
Comparing against GitHub Copilot instead? See "GitHub Copilot support" below -- it needs two more environment variables than Cursor/Claude Code do, for reasons that are worth reading before you point it at a real org.
Both CLIs accept the same comparison flags (--tools, --before, --after,
--json, --before-csv, --after-csv, --breakdown, --help/-h,
--version/-V) and print the same output shape. See the
Commands section below for the full flag reference,
python/README.md for the Python package's library API,
and docs/getting-started.md for the full guide
covering both distributions.
A tool that touches your team's spend and email data should earn that trust in the open. Here's what's actually true about this codebase, checked on every commit, not asserted in a marketing paragraph:
| Runtime dependencies | Zero |
| Package size | 56.8 kB packed, 193.1 kB unpacked |
| Cold install to first response | Under 1 second, measured with a cleared npm/npx cache |
| Tests | 102 passing (npm), 116 passing (PyPI), 97% line coverage on the TypeScript suite |
| Known vulnerabilities | Zero, per npm audit |
| File permissions | Report files are owner-only (0600) and auto-gitignored, since they hold per-user emails and spend |
Credential: TEAMSPEND_COPILOT_TOKEN needs the read:org scope (a
classic PAT) or the fine-grained "View Organization Copilot Metrics"
permission, and the org must be on Copilot Business or Enterprise.
TEAMSPEND_COPILOT_ORG is required too -- unlike Cursor's and Claude
Code's admin APIs, GitHub's Copilot metrics endpoint is scoped to a specific
org login in the URL path itself, not just the token.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/teamspend)<a href="https://allmcps.com/mcp/teamspend"><img src="https://allmcps.com/api/badge/teamspend?style=directory" alt="Teamspend on AllMCPs" /></a>