estimate_mcp_context_budget
Estimate how much of an LLM context window your MCP servers consume, and which tool definitions to cut first. Paste your MCP config. Returns per-server token cost, remaining budget, and ranked reduction advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"config": "<config>"
},
"name": "estimate_mcp_context_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Your MCP config as JSON. Either {"mcpServers":{...}} or a raw {name:{...}} map. Each server may declare "tools":[{name,description,inputSchema}]. Accepts a JSON object, or a JSON string containing one. | |
| contextWindow | No | Model context window in tokens (default 200000) | |
| reservedForConversation | No | Tokens you want to keep for the actual conversation (default 40000) |