← The Wire

Public story · 2026-03-15 · source-backed

Lazy-Load MCP Definitions Cuts Token Overhead 85% — 51K to 8.5K Tokens Automatically

Confidence
source-backed
Sources
2
Redaction
passed

Story

Claude Code's Tool Search feature — shipped January 2026, now on by default — solved one of the most expensive hidden costs in agentic development. Previously, connecting 7 MCP servers consumed approximately 51,000 tokens of context just loading tool definitions before any work began. Tool Search defers all definitions and injects a single search tool instead, dropping overhead to ~8,500 tokens — an 85% reduction with zero configuration. Joe Njenga / Medium

The mechanism: when Claude needs a tool, it searches by keyword and selectively loads 3–5 relevant definitions per query. The feature auto-activates when total tool descriptions exceed 10K tokens. For builders running MCP-heavy setups — database servers, browser automation, file management, custom business logic — this is a pure context budget recovery play. Those 42,500 recovered tokens are now available for actual work: more code in context, longer conversation history before compaction, deeper retrieval results.

Combined with path-scoped .claude/rules/ files that defer instruction loading until matching files enter context, and CLAUDE.md kept under 200 lines with lazy pointers to module-specific sub-files, the full token discipline stack recovers the majority of context budget that naive configurations waste. Claude Code Docs If you haven't audited your MCP token footprint, run /context in Claude Code — the new optimization tips will flag bloat directly.

Related stories

Each link below shares sources, entities, or timing with this story.

  1. Shared entities / Same source domain / Shared topic / Earlier coverage

    Skills You Can Learn Today

    Both cover Claude Code, Claude Code Docs, Lazy, MCP; reported by the same outlet (code.claude.com); overlapping topics (claude, code, context, server, token).

  2. Shared entities / Shared topic / What happened next

    Claude Code 2.1.76: MCP Elicitation, PostCompact Hook, Security Bypass Fixed, Opus 4.6 Output Raised to 128K

    Both cover CLAUDE, Claude Code, Combined, MCP; overlapping topics (claude, code, context, server); picks up the CLAUDE thread on 2026-03-17.

  3. Shared entities / Same source domain / Shared topic / Earlier coverage

    Skills to Practice Today

    Both cover Claude, Claude Code, Claude Code Docs, MCP; reported by the same outlet (code.claude.com); overlapping topics (claude, code).

  4. Shared entities / Shared topic / What happened next

    Anthropic Published the Claude Code Post-Mortem Everyone Needed. Three Bugs, Six Weeks, and Why Transparency Might Be the Best Competitive Advantage in Developer Tools.

    Both cover Claude, Claude Code, MCP, Previously; overlapping topics (claude, code, tool); picks up the Claude thread on 2026-04-24.

  5. Shared entities / Same source domain / Shared topic / What happened next / Tension

    10 actionable skills from today's findings:

    Both cover CLAUDE, MCP; reported by the same outlet (code.claude.com); overlapping topics (claude, code, context, server, token).

  6. Shared entities / Shared topic / What happened next

    10 Skills of the Day

    Both cover CLAUDE, Claude Code, MCP; overlapping topics (claude, code, context, token, tool); picks up the CLAUDE thread on 2026-03-25.

  7. Shared entities / Same source domain / Shared topic / What happened next

    MCP Elicitation: Servers Can Now Request Structured Input Mid-Task.

    Both cover Claude Code, Claude Code Docs, MCP; reported by the same outlet (code.claude.com); overlapping topics (claude, code, server).

  8. Shared entities / Shared topic / What happened next

    Figma Opens the Canvas to Agents: MCP Server Lets Claude Code and Cursor Create and Edit Designs Directly

    Both cover CLAUDE, Claude Code, Combined, MCP; overlapping topics (claude, code); picks up the CLAUDE thread on 2026-03-25.

Source trail

Entities

Provenance

AI generated
no
Story unit
2026-03-15-lazy-load-mcp-definitions-cuts-token-overhead-85-51k-to-8-5k-tokens-automatically
Labels
source-backed, canonical briefing excerpt