MCP Token Cost Calculator

Estimate how much MCP tool definitions add to every agent call — before you connect 10 servers. Measure schema tax and compare full-load vs deferred loading.

MCP Schema Cost Calculator
Quick presets
MCP Setup
Total: 20 tools = 8.0k schema tokens
Or paste tools JSON
Agent Parameters
Model
Optimization
Schema tax / call
$0.0160
Schema tax / run
$0.2400
Schema tax / day
$24.00
Schema tax / month
$720.00
Schema overhead: 8.0k tokens sent on every call. With a typical 500-token prompt, tool schemas are 94.1% of input tokens and 80.0% of the total call cost.
Input token breakdown (per call)
Tool schemas
Tool schemas: 94.1%Prompt + context: 5.9%
Cumulative schema cost per step (first 15 steps)
$0.0160
S1
$0.0320
S2
$0.0480
S3
$0.0640
S4
$0.0800
S5
$0.0960
S6
$0.1120
S7
$0.1280
S8
$0.1440
S9
$0.1600
S10
$0.1760
S11
$0.1920
S12
$0.2080
S13
$0.2240
S14
$0.2400
S15
Same MCP setup across models (cheapest monthly first)
ModelProviderInput $/MSchema $/month
text-embedding-3-small OpenAI$0.02$7.20
text-embedding-3-large OpenAI$0.13$46.80
GPT-4o mini OpenAI$0.15$54.00
GPT-5 mini OpenAI$0.25$90.00
o4-mini OpenAI$1.1$396.00
GPT-5.4 OpenAI$2.5$900.00
GPT-4o OpenAI$2.5$900.00
o3 OpenAI$20$7,200.00

Prices verified 2026-11-18 · Download dataset · Methodology

How to Use

Configure your MCP setup

Enter the number of MCP servers and tools per server, or paste your tools JSON to auto-detect tool count and estimate tokens per tool.

Set agent parameters

Configure how many steps per run and runs per day. Each step re-sends all tool schemas to the model, so more steps = more schema tax.

Choose a model

Select from live-priced models. Enable prompt caching and deferred loading to see potential savings on schema overhead.

Read the results

See schema tax per call, per run, per day, and per month. The overhead % shows how much of your bill is just tool definitions.

What is MCP tool schema overhead?

The Model Context Protocol (MCP) standardizes how AI agents connect to external tools — file systems, databases, APIs, and more. Each tool is described by a JSON schema that specifies its name, parameters, types, and descriptions. These schemas are sent as input tokens on every API call that makes the tools available.

The problem: tool schemas are sent whether the agent uses them or not. With 5 tools this is barely noticeable. With 20–50 tools across multiple MCP servers, schema overhead can account for 30–60% of your total input tokens — an invisible tax on every call.

Why schema overhead compounds in agent loops

In a multi-step agent, tool schemas are re-sent on every step. A 20-tool setup (8,000 schema tokens) running a 15-step task sends 120,000 tokens of schema overhead per run — just for tool definitions. At 100 runs per day, that is 12 million tokens of pure overhead daily. This is why MCP cost optimization is critical for 2026 agent workflows.

Schema tax per run = tools × tokens_per_tool × steps_per_run

Example: 20 tools × 400 tokens × 15 steps = 120,000 tokens
At $3/M input: $0.36 per run just for schemas
At 100 runs/day: $1,080/month in schema overhead alone

Three ways to reduce MCP schema costs

1. Deferred / tool-search loading: Instead of registering all tools upfront, use a tool-search pattern. The agent describes what it needs, a lightweight search finds matching tools, and only those schemas are loaded. This cuts schema tokens by 60–90% when you have many tools but use few per step.

2. Prompt caching: Tool schemas are static — they don't change between calls. This makes them ideal for prompt caching. Anthropic charges 10% of input price for cache reads; OpenAI charges ~25%. With high cache hit rates, schema overhead cost drops dramatically.

3. Schema pruning: Remove tools you don't use, shorten descriptions, and consolidate overlapping tools. Each 100 tokens removed from your total schema saves that amount on every call, every step, every run. Use the AI Token Calculator to measure your schema size.

How this calculator works

Enter your MCP server configuration (or paste your tools JSON), set agent parameters, and select a model. The calculator uses live pricing from our weekly-verified dataset to show schema cost per call, per run, per day, and per month. Toggle deferred loading and caching to see how much you can save. The model comparison table shows the same setup across different models so you can find the cheapest option.

All calculations run in your browser. Your tool definitions and configuration stay on your device. See the methodology page for the full formula.

How to Cut This Cost

60–90%

Use deferred/tool-search loading — only send schemas the agent actually needs on each step.

70–90%

Enable prompt caching — static tool schemas are ideal cache candidates, read at 10–25% of input price.

20–50%

Remove unused tools from MCP config — every registered tool costs tokens on every call, even if never used.

10–30%

Group related tools into fewer servers and consolidate overlapping tool definitions to reduce total schema size.

FAQ

Have more questions? Contact us

Last verified: 2026-11-18 · methodology · data sources