# mcp-tax

> Measure how many tokens your MCP servers burn before you type, then get a concrete plan to reclaim the space.

mcp-tax is a paid AI agent skill on Agensi by Prince Jain, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Prince Jain](https://www.agensi.io/creators/prince-jain)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-10-17
- Security: scan passed (2026-10-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/mcp-tax
- Tags: llm-ops, mcp, claude-code, cursor, context-window

## About this skill

Every tool, prompt and resource an MCP server exposes is serialized into your model's context window on every turn. Add a few servers and the meter is already running: a 30k token MCP setup on a 128k window leaves under 100k for the actual conversation.

mcp-tax measures that cost against your real configs (Claude Desktop, Claude Code, Cursor, project `.mcp.json`, `.vscode/mcp.json`) by spawning each server over stdio exactly like your client does, then produces a ranked digest: tokens per server, the biggest single tools, how much of each tool's cost is description text vs schema, and your total as a share of 200k / 128k / 32k windows.

The skill then turns the digest into a reclaim plan with estimates per action: which servers to gate per-project, which tool descriptions are bloated, and where the savings actually are.

**What's inside**

- `scripts/audit.mjs` runs `mcp-tax-cli` over your live configs and prints a ranked digest with reclaim estimates
- `reference/context-budget.md` is the playbook: per-project gating, description trimming, near-duplicate servers, on-demand heavy servers
- Works with Claude Code, Cursor, Codex CLI, Gemini CLI and other SKILL.md-compatible agents

**Honest limits**

- Token counts approximate the serialized payload; real cost varies by client and tokenizer
- It measures the static manifest. Tools a server reveals only at runtime are invisible to it
- Requires Node.js 18+ and permission to spawn your configured servers locally

## Requires

- Tax Cli MCP
- Node.js

## Known limitations

Requires Node 18+. Reports are approximations of serialized payloads. Cannot measure servers that fail to start over stdio.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the mcp-tax skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does 'mcp tax' help improve my AI agent's performance?

This skill identifies 'context rot' caused by MCP servers that silently consume your token limit with bloated tool descriptions, helping you reclaim space for actual conversation and reducing agent sluggishness.

### Which AI agents and editors are supported by this audit?

The skill is compatible with any environment using the Model Context Protocol, including Claude Desktop, Claude Code, Cursor, and custom projects utilizing local .mcp.json configurations.

### What exactly is included in the purchase of this skill?

You will receive the full skill package, including the audit agent instructions, access to the mcp-tax-cli tool for local execution, and a specialized context budget playbook for optimization strategies.

### Do I need to manually configure each of my MCP servers for this to work?

Setup is minimal; as long as you have Node 18+ installed, the skill uses npx to interface with your existing MCP configurations without requiring manual server re-installation.

### Can this skill audit project-specific MCP configurations, or just global ones?

Yes, the audit script is designed to scan both global configurations (like Claude Desktop) and project-specific .mcp.json files to provide a comprehensive view of your total token overhead.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
