[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-117248":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":13,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":15,"rankGlobal":10,"rankLanguage":10,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":19,"topics":20,"createdAt":10,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":10,"trendingCount":13,"starSnapshotCount":13,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},117248,"traxagent-claude-plugin","ccarter01011\u002Ftraxagent-claude-plugin","ccarter01011","Ask Claude, ChatGPT, Claude Code, Cursor or VS Code who spent your AI budget and what to fix. TraxAgent's read-only MCP server and Claude Code plugin.","https:\u002F\u002Fwww.traxagent.io",null,"Python",136,0,76,40,"MIT License",false,"main",true,[21,22,23,24,25,26,27,28,29,30,31,32,33,34],"ai-cost","ai-governance","anthropic","chatgpt","claude","claude-code","claude-code-plugin","cursor","finops","gemini","llm","mcp","model-context-protocol","openai","2026-11-20 16:10:01","2026-11-23 16:02:25","# TraxAgent: ask your AI tools about your AI spend across multiple AIs and teams\n\n[![MCP Registry](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMCP%20Registry-io.traxagent%2Ftraxagent-blue)](https:\u002F\u002Fregistry.modelcontextprotocol.io)  [![Listed on mcpservers.org](https:\u002F\u002Fmcpservers.org\u002Fbadge.svg)](https:\u002F\u002Fmcpservers.org\u002Fservers\u002Fccarter01011\u002Ftraxagent-claude-plugin)  [![check](https:\u002F\u002Fgithub.com\u002Fccarter01011\u002Ftraxagent-claude-plugin\u002Factions\u002Fworkflows\u002Fcheck.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fccarter01011\u002Ftraxagent-claude-plugin\u002Factions\u002Fworkflows\u002Fcheck.yml)  [![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-green)](LICENSE)  ![Read-only](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftools-read--only-blue)\n\n**Who spent your AI budget last month, and on what?** Ask Claude, ChatGPT, Claude Code, Cursor, Gemini or VS Code, and get the answer from your real usage.\n\n![Asking Claude what each team spent on AI last week, then which cost cuts it recommends, answered by TraxAgent](https:\u002F\u002Fraw.githubusercontent.com\u002Fccarter01011\u002Ftraxagent-claude-plugin\u002Fmain\u002Fassets\u002Fdemo.gif)\n\n*Two questions, answered from the sample company: what each team spent last week, then which cost cuts to make first. The second answer ranks the fixes by effort, not just by size, so the safe config changes come before the ones that need a quality test.*\n\nYour teams may pay for AI in 5 places or more: the Anthropic, OpenAI and Gemini APIs, Claude Code or Codex, Cursor, and Claude or ChatGPT seats. Each vendor's console is correct about its own slice and blind to the rest.\n\n[TraxAgent](https:\u002F\u002Fwww.traxagent.io\u002F?ref=github-plugin) pulls them into one place every night, by team and by person. Then an AI review goes through your usage and tells you where you're overpaying. Each fix comes with what it costs you per month and the exact change to make. You walk into the budget meeting with the full number, where it went, and what you've already done to bring it down.\n\nThis repo is the Claude Code plugin. The same read-only server, `https:\u002F\u002Fwww.traxagent.io\u002Fmcp`, also works in Claude, ChatGPT, Cursor, VS Code and any MCP client: see [Use it in other AI tools](#use-it-in-other-ai-tools).\n\n## Try it in 30 seconds, no account\n\nAfter installing (below):\n\n- **`\u002Ftraxagent:spend-audit`** shows what your own Claude Code use costs at API prices, by model, project, day and session, plus your cache hit rate and what one model tier down would save. Claude reads Claude Code's local logs with its own tools and sends nothing anywhere.\n- **Ask about a sample company:** \"Using TraxAgent demo, what did we spend on AI last week by team?\" The `ai-spend-demo` server answers from sample data with no sign-in, so you can see every tool before connecting your own.\n\n## What you can do\n\n- **Get a ranked savings plan.** \"What cost cuts do you recommend across our AI spend?\" TraxAgent groups every fix it found by kind, puts the no-risk changes first (Batch API for scheduled jobs, newer model versions at a lower price), then the bigger ones that need a check (prompt caching, a cheaper model where your own outcomes show it does as well), each with its monthly range.\n- **Ask about spend in plain English.** \"What did we spend on AI last week, by team?\" \"Which API key is using the most Opus?\" \"Why did spend jump on Tuesday?\"\n- **Ship the fixes.** \"What's the biggest cost fix, and can you ship it here?\" Claude pulls the fix's steps from TraxAgent, makes the change in your repo and opens a pull request that states the monthly saving.\n- **Check if the pricier model is worth it.** \"Does Sonnet do our code reviews as well as Opus?\" Tag tasks with an outcome, and TraxAgent compares each model's success rate and cost per success by task type.\n- **See spend while you work.** The spend status line shows this session's cost, your 5-hour and weekly Claude Code limit use, and, with an account, your spend cap and the day you'll reach it at your current pace.\n\n\u003Ca href=\"https:\u002F\u002Fwww.traxagent.io\u002Fdemodashboard?ref=github-plugin\">\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fccarter01011\u002Ftraxagent-claude-plugin\u002Fmain\u002Fassets\u002Fplatform.gif\" width=\"420\" align=\"right\" alt=\"The TraxAgent dashboard on sample data: overview, recommendations, cost explorer, developers, AI registry and the AI assistant\">\u003C\u002Fa>\n\n**Behind the plugin is a full dashboard.** The answers come from [TraxAgent](https:\u002F\u002Fwww.traxagent.io\u002F?ref=github-plugin), which also has a dashboard for your team: spend by team and person, fixes ranked in dollars, budgets and caps, an AI registry, and finance reports. [Click around the demo](https:\u002F\u002Fwww.traxagent.io\u002Fdemodashboard?ref=github-plugin), no sign-up.\n\n\u003Cbr clear=\"right\">\n\nExample answer:\n\n```\nAI spend, Nov 10–16: $1,842.47 total (about $263.21\u002Fday, list prices)\n\n| Team                 | Spend   |\n|----------------------|---------|\n| Backend Team         | $126.73 |\n| FrontEnd Team        |  $98.10 |\n| Data Science         | $214.06 |\n| Viper Team           | $231.67 |\n| Atlas Team           |  $11.13 |\n| APIs (Prod)          | $431.28 |\n| APIs (other)         | $218.42 |\n| AWS Bedrock Seats    | $511.08 |\n\nBiggest open cost fix: none right now.\n```\n\nAnd the savings question, on the sample company:\n\n```\nYou: Using TraxAgent: what cost cuts do you recommend across our AI spend?\n\n$9.2k–18.7k a month of $39.0k is avoidable. Ranked by effort, not size:\n\n1. Batch API for 2 nightly Data jobs   $2.8k–4.0k   runs at 01:00 UTC, no one waits\n2. Newer versions: Sonnet 4.6 → 5.5     $1.9k–3.4k   cheaper per token, same family\n3. Opus → Sonnet for CI code review     $772         85% vs 86% success, half the cost\n4. Prompt caching on 16 keys            $5.1k–14.1k  hit rate under 30% on most\n\nDo the first two this week: config changes with no quality risk.\nCaching is the big prize, and one key's cache broke on Nov 6.\n```\n\n### More questions worth asking\n\n| Ask | What you get |\n|---|---|\n| \"What cost cuts do you recommend across our AI spend?\" | Every fix grouped by kind and ranked by effort, with the monthly range and the safe ones first |\n| \"Which fix should we ship first, and can you do it here?\" | The steps for the top fix; Claude makes the change in this repo and opens a pull request with the saving |\n| \"Is Opus worth it for our code reviews, or would Sonnet do?\" | Success rate and cost per success for each model on that task, from your own outcomes |\n| \"Why did AI spend jump on Tuesday?\" | The key, model and team behind the jump, and whether a cache broke or a loop ran away |\n| \"Who are our top 10 AI spenders this month, across Claude Code, Codex and Cursor?\" | Spend per person with their team and a split by tool |\n| \"Which AI tools have no owner or aren't approved?\" | The AI registry: every key, coding agent, seat plan and app in use, with what needs a look |\n| \"Which API keys haven't been used in 30 days?\" | Keys to revoke, from the registry's last-used dates |\n| \"If we moved this traffic to Sonnet 5.5, what would it cost?\" | Last month's real usage replayed at the other model's list prices |\n\n## Install in Claude Code\n\nIn Claude Code:\n\n```\n\u002Fplugin marketplace add ccarter01011\u002Ftraxagent-claude-plugin\n\u002Fplugin install traxagent@traxagent\n```\n\nThen run `\u002Fmcp`, pick `plugin:traxagent:ai-spend`, choose **Authenticate** and sign in to TraxAgent in your browser. There's no token to copy. The MCP server is on TraxAgent's paid plans.\n\nIf this saved you a budget meeting, a ⭐ on this repo helps other teams find it.\n\nNo account yet? [Set one up in about 5 minutes](https:\u002F\u002Fwww.traxagent.io\u002Fsetup?ref=github-plugin) by pasting a read-only admin key. TraxAgent is free up to $100 a month of AI spend.\n\n## Use it in other AI tools\n\nEvery option below signs in with your TraxAgent account (OAuth). Access is read-only and there's no token to copy.\n\n| Tool | How to add TraxAgent |\n|---|---|\n| **Claude** (web, desktop) | [**Open TraxAgent in Claude's connector directory**](https:\u002F\u002Fclaude.ai\u002Fdirectory\u002Fconnectors\u002Ftraxagent), choose Connect, then sign in. |\n| **ChatGPT** | Plugins → **Add** → **Add custom MCP server**. URL: `https:\u002F\u002Fwww.traxagent.io\u002Fmcp`, Authentication: OAuth. Create it, sign in, then mention **@TraxAgent** in a chat. |\n| **Cursor** | [**Add to Cursor**](https:\u002F\u002Fcursor.com\u002Fen\u002Finstall-mcp?name=traxagent&config=eyJ1cmwiOiJodHRwczovL3d3dy50cmF4YWdlbnQuaW8vbWNwIn0=), then sign in when Cursor asks. Also on [Cursor Directory](https:\u002F\u002Fcursor.directory\u002Fplugins\u002Ftraxagent). |\n| **VS Code \u002F GitHub Copilot** | [**Add to VS Code**](https:\u002F\u002Fvscode.dev\u002Fredirect\u002Fmcp\u002Finstall?name=traxagent&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fwww.traxagent.io%2Fmcp%22%7D), sign in, then use it from Copilot chat in agent mode. |\n| **Any MCP client** (Codex, Gemini CLI, Windsurf…) | Add `https:\u002F\u002Fwww.traxagent.io\u002Fmcp` as a remote (streamable HTTP) MCP server. Clients that support OAuth sign in. Others can send a read-only API token from [API and MCP](https:\u002F\u002Fwww.traxagent.io\u002Fapp\u002Fapi). |\n\nIt's also listed in the official MCP Registry as `io.traxagent\u002Ftraxagent`.\n\n## Look first, no sign-up (about 2 minutes each)\n\n1. [Free audit](https:\u002F\u002Fwww.traxagent.io\u002Faudit?ref=github-plugin): upload a usage CSV, no admin key needed. You get the findings on the spot, each with its monthly cost and the exact fix.\n2. [Speed Index](https:\u002F\u002Fwww.traxagent.io\u002Fspeed?ref=github-plugin): race your own prompt across 10 Claude and OpenAI models.\n3. [Demo](https:\u002F\u002Fwww.traxagent.io\u002Fdemo?ref=github-plugin): see the whole product on sample data.\n\n## Spend caps\n\nSome companies now cap each engineer's AI spend by day, week or month. If leadership asks whether your teams need one, test a cap against your own numbers before you set it. TraxAgent shows who would hit it and how often, then warns people early, before they reach it, and again at 80% and 100%.\n\n## Trust and security\n\n- **Read-only.** TraxAgent reads usage reports with read-only admin keys. Neither the keys nor this plugin can change anything at your providers.\n- **No prompts or outputs.** TraxAgent never receives what you send to models, only usage and cost.\n- **OAuth sign-in.** The plugin connects with OAuth 2.1 (PKCE), using short-lived tokens. You can disconnect any app under **API and MCP → Connected apps**.\n- **Open plugin.** Everything this plugin does is in this repo: two MCP server addresses, two skills and one command, all plain Markdown and JSON you can read in `plugins\u002Ftraxagent\u002F`.\n\nMore detail: [Security](https:\u002F\u002Fwww.traxagent.io\u002Fsecurity?ref=github-plugin) · [Privacy](https:\u002F\u002Fwww.traxagent.io\u002Fprivacy?ref=github-plugin) · [How it works](https:\u002F\u002Fwww.traxagent.io\u002Fintegrations?ref=github-plugin)\n\n## What's in this plugin\n\n| Part | What it does |\n|---|---|\n| `\u002Fspend-audit` command | Local Claude Code cost report from your session logs. No account, nothing sent |\n| `ai-spend-demo` MCP server | The same tools on a sample company, no sign-in |\n| `ai-spend` MCP server | Read-only tools: `get_spend_summary`, `get_spend`, `get_people_spend`, `list_fixes`, `get_fix_prompt`, `get_task_quality`, `get_ai_registry`, `list_api_keys` |\n| `ai-spend` skill | Tells Claude how to answer spend questions and ship fixes as pull requests |\n| `spend-statusline` skill | Installs the TraxAgent status line, with your OK |\n\n## License\n\nMIT. Questions: [traxagent.io](https:\u002F\u002Fwww.traxagent.io\u002F?ref=github-plugin)\n\n## Security and privacy\n\nEvery tool is read-only, the plugin has no hooks, the plugin ships no scripts, and `\u002Fspend-audit` only reads local logs. TraxAgent never sees prompts or model outputs. CI checks these rules on every push. Details and how to report a problem: [SECURITY.md](SECURITY.md).\n",2,"2026-11-24 04:55:09","CREATED_QUERY"]