Skip to content
In progressMethod v0.1Started 10 Nov 2026

The tool tax: what MCP tool definitions cost per session

An agent with many MCP tools sends every tool schema on every request. What does that cost over a 30-turn session on Claude, with and without prompt caching, and with tools loaded on demand?

Every turn pays for every toolturn 1turn 2turn 3turn 4turn 5turn 6tool schemasyour messageCaching and on-demand loading change what the plum blocks cost.

Status

This study is running. Results publish here with the raw data and the code. Until then, this page shows the question and the method only.

Why it matters

Teams add MCP servers one at a time. Each server adds its tool schemas to every request, so the bill grows before the agent does any work. Caching and on-demand loading change that cost, but nobody has priced it across a real session.

Method

  1. 01Count schema tokens with Claude's count_tokens endpoint, not a proxy tokenizer.
  2. 02Measure REA (Reverse Engineer Anything, about 170 tools) beside the GitHub, Linear and Supabase MCP servers.
  3. 03Run a scripted 30-turn session per configuration: no cache, prompt cache, and tools loaded on demand.
  4. 04Record input, cached and output tokens per turn. Price them at the list price on the run date.
  5. 05Run REA only against open-source software, as its disclaimer requires.

Prior work

  • PolicyLayer MCP token cost

    Counts schema tokens for 15,192 MCP servers with OpenAI's o200k tokenizer. We add Claude's counts, session cost and caching.

Data and code