# Repository Briefing: ccarter01011/traxagent-claude-plugin
> Source: https://repoforai.com/repo/ccarter01011/traxagent-claude-plugin (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/ccarter01011/traxagent-claude-plugin
- **Official Docs / Website**: https://www.traxagent.io
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A (77/100 · Maintenance 35/35 · Adoption 2/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.4.0 (2026-11-20) — https://github.com/ccarter01011/traxagent-claude-plugin/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: MCP
- **Momentum**: 236 ★ total (+71 24h / +89 7d) · 1 forks
- **Topics**: `ai-cost`, `ai-governance`, `anthropic`, `chatgpt`, `claude`, `claude-code`, `claude-code-plugin`, `cursor`, `finops`, `gemini`, `llm`, `mcp`
- **When to Use**: Best for: 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. Skip if: 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.

## Overview
```text
### Architecture & 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`.
```

## Key Capabilities
```text
- Integration: Production and demo use separate remote MCP targets; the production endpoint supports streamable HTTP and OAuth 2.1 with PKCE.
- Attribution: `get_people_spend` breaks down API and coding-agent spend by person and tool, including Claude Code, Codex, and Cursor.
- Remediation: `list_fixes` and `get_fix_prompt` expose estimated monthly savings and implementation details; edits and pull requests are performed by the client, not MCP.
- Model selection: `get_task_quality` compares success rates and cost per success by task type using tagged outcomes.
- Governance: `get_ai_registry` surfaces ownership and approval status for keys, coding agents, and seat plans.
- Local audit: `/traxagent:spend-audit` uses Claude Code session logs to estimate API-equivalent costs and cache hit rates without connecting a TraxAgent account.
```

## Quick Start / Clone
```bash
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.
```
