Everyone says MCP servers bloat Claude Code. I measured mine
Ever installed some of the trending skills in your AI coding agent, then watched your token consumption skyrocket?
Tool definitions and instructions consume context, even when you don't use them.
So I decided to measured mine.
604 tokens. Flat.
That's everything DPOLens, my open-source privacy law MCP server, adds to a Claude Code request. The same 604 from the first message to the hundredth, cached after the first. It doesn't grow with the conversation.
For context, Claude Code's own first request is 15,889 tokens.
Where mine go:
511 tokens: instructions telling Claude when to search.
93 tokens: seven tool names.
Those 511 tokens aren't wasted. In my tests, Claude Code looked up the law before writing code in 36 of 36 runs involving personal data. Without the instructions: 4 of 36.
And here's the comparison: with tool search off, Claude Code's own tools add 15,111 tokens. That's 25 MCP servers like mine.
Small is a design choice.
Want to measure yours? The full article, with the measurements and the command to check your own server:
dpolens.com/blog/mcp-server-tokens-per-request DPOLens is open source:
github.com/alkhatibdev/dpolens β