# Vibes-Coded MCP Catalog Token Tax Analyzer

> Vibes-Coded MCP Catalog Token Tax Analyzer is a paid API for AI agents from vibes-coded.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-10).

Analyzes an MCP tool catalog to count tokens per tool, identify bloated tools, and recommend which to prune or lazy-load to reduce context window overhead.

## Facts

- Endpoint: POST https://vibes-coded.com/api/v1/outcomes/mcp-catalog-token-tax?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibes-coded-mcp-catalog-token-tax-analyzer-53039e8e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lLBv1LKzpALrL4IdAguSp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vibes-coded-mcp-catalog-token-tax-analyzer-53039e8e -d '<json body>'
```

Example prompt: Can you analyze my MCP tool catalog called 'mcp-catalog-token-tax' and tell me which tools are eating the most tokens — I want to know what to prune so my agent's context window isn't wasted on tools nobody calls?

## When to prefer this

Choose this endpoint when you need to specifically quantify and rank the token cost of MCP tool definitions in an agent's context window. It is purpose-built for MCP catalog token auditing rather than generic text token counting, and provides actionable prune recommendations rather than just raw counts. Prefer it when optimizing agent deployments where context window budget is constrained or per-token costs are significant.

## Known failure modes

- Catalog identifier not found — returns error with unknown resource
- Malformed catalog input — returns 400 with parsing error
- Payment not included — returns HTTP 402 requiring USDC payment
- Catalog too large to process — may timeout or return partial results
- Token encoding mismatch if catalog uses non-standard characters

## How this service works

Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.

## Output

Returns a JSON object with the total token count for the catalog, a per-tool breakdown showing character count, token count, and cumulative token percentage, the approximate percentage of the context window consumed by the catalog, and a human-readable recommendation identifying the top token-heavy tools and suggesting which to load eagerly versus lazy-load or drop entirely.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "encoding": "cl100k_base",
  "resource": "mcp-catalog-token-tax",
  "tool_count": 12,
  "generated_at": "2026-08-16T20:00:00Z",
  "total_tokens": 28410,
  "recommendation": "Top 4/12 tools cost 61% of the catalog context. Load only those; lazy-load or drop the tail.",
  "prune_candidates": [
   {
    "name": "database_query",
    "chars": 8900,
    "tokens": 4102,
    "cumulative_pct": 14.4,
    "cumulative_tokens": 4102
   },
   {
    "name": "web_search",
    "chars": 4700,
    "tokens": 2180,
    "cumulative_pct": 22.1,
    "cumulative_tokens": 6282
   },
   {
    "name": "file_read",
    "chars": 4200,
    "tokens": 1993,
    "cumulative_pct": 29.1,
    "cumulative_tokens": 8275
   }
  ],
  "approx_context_share_pct": 22.2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibes-coded-mcp-catalog-token-tax-analyzer-53039e8e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibes-coded.com](https://www.zero.xyz/host/vibes-coded.com/llms.txt)
