ccarter01011/traxagent-claude-plugin
Read-only MCP for tracking and reducing AI spend across vendors
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This is a thin client integration for a hosted AI cost platform, not the analytics backend. plugins/traxagent/ packages two remote MCP targets, two skills, and one command as Markdown and JSON. TraxAgent collects provider usage nightly and serves organization data through ai-spend; ai-spend-demo exposes sample data without authentication. Production uses streamable HTTP at https://www.traxagent.io/mcp, with OAuth 2.1 and PKCE for interactive sign-in.
The local /traxagent:spend-audit command follows a separate path: Claude Code reads its own session logs using host tools without sending them to TraxAgent. The plugin ships no hooks or scripts, and MCP tools do not write to provider accounts. If the spend skill guides a code change or pull request, the host agent performs it under its own permissions. The service's read-only scope does not constrain those permissions.
Key Capabilities & Differentiators
TraxAgent brings Anthropic, OpenAI, and Gemini API usage, coding agents such as Claude Code, Codex, and Cursor, and seat plans into a common view. get_spend_summary, get_spend, and get_people_spend support spend investigations at different levels. list_fixes and get_fix_prompt surface estimated monthly savings and implementation steps, separating straightforward configuration changes from model changes that warrant quality checks. get_task_quality compares success rates and cost per success by task type using tagged outcomes.
get_ai_registry adds ownership and approval status for AI assets, while list_api_keys provides a key inventory. check_ship_policy flags clauses in .claude/approvals.yml that start billed model work, including in observe mode. It is a policy check, not direct Claude Ship billing telemetry. The status line shows session cost and 5-hour and weekly Claude Code limit usage; a connected account adds cap and pacing information.
Trade-offs & Limitations
Provider billing consoles remain useful for reconciling each vendor's charges. TraxAgent's advantage is attributing spend across vendors and tools without building that ingestion layer yourself. The trade-off is reliance on a hosted service and nightly collection: treat the result as a periodic decision aid, not a live meter. The local audit values sessions at API list prices; that estimate is not necessarily the amount charged under a seat plan or negotiated agreement. Model substitutions also need representative tagged outcomes before cost-per-success comparisons can guide a rollout.
An internal pipeline takes more integration and maintenance work, but gives you control over data residency, refresh cadence, and attribution logic. The MIT license covers the plugin, not the hosted backend or production MCP access. Organization queries still expose usage and cost metadata to the service and connected client. Review who should be able to query individual spend and keep approval for agent-generated changes separate from permission to read costs.
Hardware & Deployment Guide
In Claude Code, run /plugin marketplace add ccarter01011/traxagent-claude-plugin and /plugin install traxagent@traxagent, then use /mcp to authenticate plugin:traxagent:ai-spend in a browser. The local audit and sample-data server are available without a TraxAgent sign-in. Querying live organization data requires a paid TraxAgent plan; connecting provider usage requires read-only admin credentials for the relevant integration.
Claude, ChatGPT, Cursor, VS Code, and other compatible clients can connect to the hosted streamable HTTP endpoint. Clients without OAuth support can use a TraxAgent read-only API token. There is no separate Python, Docker, database, or GPU runtime to provision for the plugin, and no self-hosted analytics deployment is supplied. Release v1.1.2 added per-person spend; v1.3.0 added task-quality comparisons; v1.4.0 added the AI registry and documented the plugin's access scope in SECURITY.md.
get_people_spend breaks down API and coding-agent spend by person and tool, including Claude Code, Codex, and Cursor.list_fixes and get_fix_prompt expose estimated monthly savings and implementation details; edits and pull requests are performed by the client, not MCP.get_task_quality compares success rates and cost per success by task type using tagged outcomes.get_ai_registry surfaces ownership and approval status for keys, coding agents, and seat plans./traxagent:spend-audit uses Claude Code session logs to estimate API-equivalent costs and cache hit rates without connecting a TraxAgent account.Engineering and FinOps teams that need to explain spend across providers, attribute it by team or person, and bring concrete fixes into a coding agent's workflow.
You need an offline or self-hosted organization-wide backend, real-time invoice-grade reconciliation, or a server that enforces budgets and applies changes itself.
Quick Start & Installation
AI spend, Nov 10–16: $1,842.47 total (about $263.21/day, list prices) | Team | Spend | |----------------------|---------| | Backend Team | $126.73 | | FrontEnd Team | $98.10 | | Data Science | $214.06 | | Viper Team | $231.67 | | Atlas Team | $11.13 | | APIs (Prod) | $431.28 | | APIs (other) | $218.42 | | AWS Bedrock Seats | $511.08 | Biggest open cost fix: none right now.
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| traxagent-claude-plugin ★ | 236 | +89 | Python | MIT | Read-only MCP for tracking and reducing AI spend across vendors |
| ECC | 314.1k | +3.8k | JavaScript | MIT | Plugins and CLI workflows for planning, reviewing, and verifying agent-written c |
| claude-plugins-official | 48.9k | +730 | Python | Apache-2.0 | Claude Code’s official marketplace for installing plugins and curated skill bund |
| ffmpeg-skill | 13.2k | +2.4k | Python | MIT | A contract-driven FFmpeg skill and MCP server for verified local video edits |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ccarter01011/traxagent-claude-plugin.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about traxagent-claude-plugin
How does the plugin connect to TraxAgent, and can another MCP client use it?
ai-spend for authenticated organization data and ai-spend-demo for sample data without sign-in. The production endpoint is https://www.traxagent.io/mcp over streamable HTTP. Use OAuth where supported, or a TraxAgent read-only API token for a client that cannot complete the OAuth flow.Does this add a local runtime or require GPU capacity?
What does MIT cover, and can we self-host the service for commercial use?
When is this a better fit than provider consoles or an internal cost pipeline?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy