whereismyai
Context Tax
Context Tax analyzes Claude Code session transcripts to audit token costs and unused agent context.
Context Tax reads session transcripts from Claude Code to measure token costs, unused tools, and missed agent skills. It analyzes what the client sends on every turn before typing begins, including skill listings, tool names, and instruction files. The tool identifies what your agent never received, calculates the cost per use rather than per turn, and automatically writes configuration fixes to turn off unused items. It operates with zero runtime dependencies and requires no install, account, sign-up, telemetry, or external LLM calls. It is designed for developers using Claude Code who want to optimize their context window and reduce API costs.
Context Tax at a glance
Key features
- Reads actual session transcripts instead of guessing
- Calculates cost per use rather than per turn
- Detects skills your agent never received
- Writes automatic fixes for unused tools and servers
- Generates receipts and session charts for sharing
- Operates with zero runtime dependencies
- Requires no install, account, sign-up, or telemetry
Use it for
- Auditing context bloat and unused tools in Claude Code
- Calculating the actual cost of MCP servers per use
- Identifying skills crowded out by context window budgets
- Generating automated configuration diffs to prune waste
Companions
Tools that articles about Context Tax recommend using with it, each with its job.
- Claude Code — Built to work with Claude Code.
- Context7 — Provides up-to-date documentation for AI agents and code editors.
- Playwright MCP — Enables LLMs to interact with web pages using structured accessibility snapshots.
- GitHub MCP Server — Reads pull requests, issues and code search on GitHub.
- Superpowers — Brainstorm, plan and execute skills for bigger tasks.
- gstack — Skill bundle for planning, review and shipping.
Alternatives to Context Tax
- Claude Context — It reduces token costs and provides deep context for large codebases.
- Claude Code Session Tracker — Monitor Claude Code usage limits and token history in a single local interface.
- What Would It Cost — Tracks historical and live session costs against Anthropic list prices.
- Context Diet — Trims huge tool outputs into short digests so Claude avoids token bloat and keeps context clean.
- Lcc — Cuts token counts significantly without losing exact session details.
- Claude Code Usage Monitor — Tracks token usage, message counts, and session costs with local history and alerts.
- Compactly — Compacts sessions at natural breaks and shows turn costs and cache expiration.
- Cost X-Ray — It prices usage below the tool level by analyzing raw API request bytes.
- Claude DevTools — Restores visibility into Claude Code session logs and tool calls.
- Claude Code Mode — Reduces context token usage by returning only the final program result.
- claude-mem — It shares persistent, searchable agent memory across sessions and devices.
- My Claude Code Mods — Adds detailed session profiling, timeline snapshots, and loop detection to Claude Code.
All Context Tax alternatives