Unused MCP server tools silently inflate AI agent costs by up to 28%
A developer benchmarked two otherwise identical AI agents — one connected to a single MCP server and another connected to four — on the same simple question about GitHub repositories. Both agents answered correctly and called only one tool, yet the agent with four MCP servers cost 28% more per query. The cost difference stemmed entirely from extra tool schema definitions being serialized into every API request, adding roughly 4,839 input tokens regardless of whether those tools were ever used. The experiment used an open-source test bench called MAVERIK and ran on Claude Haiku, with results consistent across multiple repetitions. The findings suggest that developers should audit and trim unused MCP server connections to avoid paying a hidden, per-request token tax.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in