Announced December 8, 2025 by Anthropic engineer @catherinewu
MCP servers load full tool definitions into the system prompt at session start. Power users with multiple MCPs (supabase, tabz, shadcn, docker-mcp, etc.) can burn 40-50k tokens before typing anything.
export ENABLE_EXPERIMENTAL_MCP_CLI=trueThis enables on-demand MCP tool loading via mcp-cli commands instead of upfront.
| Metric | Before | After |
|---|---|---|
| Context used at start | 63% (126k/200k) | 11% (21k/200k) |
| MCP tools tokens | 43.8k | 0 (on-demand) |
| Free space | 74k (37%) | 179k (89%) |
~105k tokens reclaimed for actual work.
Instead of loading all tool schemas upfront, Claude uses bash commands:
# Get tool info on-demand
mcp-cli info supabase/list_tables
# Execute the tool
mcp-cli call supabase/list_tables '{}'Large outputs can be piped to files via jq, keeping bulky data out of context.
# Bash
echo 'export ENABLE_EXPERIMENTAL_MCP_CLI=true' >> ~/.bashrc
source ~/.bashrc
# Zsh
echo 'export ENABLE_EXPERIMENTAL_MCP_CLI=true' >> ~/.zshrc
source ~/.zshrc
# Fish
echo 'set -gx ENABLE_EXPERIMENTAL_MCP_CLI true' >> ~/.config/fish/config.fishENABLE_EXPERIMENTAL_MCP_CLI=true claudeRun /context in Claude Code. You should see:
- No "MCP tools" section (or minimal tokens)
- Much higher "Free space" percentage
# Disable for one session
ENABLE_EXPERIMENTAL_MCP_CLI=false claude
# Or remove from shell config
# Delete the export line from ~/.bashrc- GitHub Issue #12836 - Original feature request
- Anthropic Announcement Comment - catherinewu's announcement
Super helpful - has saved me and several coworkers a lot of tokens while increasing response quality.
Thank you 😄