Skip to content

Copied Claude Code Setups: MCP Token Bloat and Skill Mismatch

Copied Claude Code setups fail in two ways: MCP servers cost tokens and tool-selection accuracy, and borrowed skills run someone else's process. Build to a budget.

Ayhan Sipahi Ayhan Sipahi

Cloning someone’s “awesome” Claude Code setup is tempting, and it is the wrong default. A copied setup fails in two separate ways. Its MCP servers are a token and accuracy problem: their tool definitions fill the context window, and a large tool library makes the model pick the wrong tool more often. Its skills are a process problem: they cost little context, but they steer the model through someone else’s workflow, which does not match your codebase.

The setup that works runs the other way. Start with zero MCP servers, add one only when a repeated friction point justifies it, and keep fixed configuration overhead under a budget of about 40K tokens. Write or adapt a skill only for a process you actually repeat. The token math below shows what copied MCP servers cost, and the evaluations show what a large tool library does to accuracy.

What a Copied Setup Costs#

Claude Code loads configuration from several sources every session. These include system prompt, tool definitions, MCP server schemas, CLAUDE.md files, skills, and memory files. Each source consumes tokens from a shared context window. The math is straightforward but often overlooked.

Two Setups Under /context#

The /context command breaks the window down by source. Two real setups, both on a 200K window with every MCP tool definition loaded upfront (tool search off, which was the default before Claude Code 2.1.7 and is what ENABLE_TOOL_SEARCH=false gives you today):

Minimal setup (2 MCP servers, focused CLAUDE.md):

System prompt:  2.6K tokens  (1.3%)
System tools:  11.6K tokens  (5.8%)
MCP tools:  5.7K tokens  (2.8%)
Custom agents:  69 tokens  (0.0%)
Memory files:  743 tokens  (0.4%)
Skills:  61 tokens  (0.0%)
Autocompact buffer: 33.0K tokens (16.5%)
Free space:  146.2K tokens (73.1%)

Bloated setup (8+ MCP servers, copy-pasted config):

System prompt:  2.6K tokens  (1.3%)
System tools:  17.6K tokens  (8.8%)
MCP tools:  82.0K tokens (41.0%)
Custom agents:  1.3K tokens  (0.7%)
Memory files:  7.4K tokens  (3.7%)
Skills:  1.0K tokens  (0.5%)
Autocompact buffer: 33.0K tokens (16.5%)
Free space:  55.1K tokens (27.5%)

The bloated setup loses 91K tokens to overhead. That is nearly half the context window consumed before the conversation starts. Those 91K tokens could have been your codebase, your error logs, or your documentation.

Almost all of that overhead is MCP. The Skills line stays at 1.0K tokens even in the bloated setup, because a session loads only each skill’s name and description; the body loads when the skill is invoked. Every listed description still rides along on every turn, so the line grows with the skill count, but slowly. A copied skill does its damage elsewhere: it steers the model through a process that is not yours, which the skills sections below deal with.

From Two Servers to an Awesome List#

The first three columns assume tool search is off, as in the samples above. The last column shows where the cost moves with tool search on, which current Claude Code docs describe as the default.

ConfigurationMCP Token Cost (tool search off)Available for WorkWith Tool Search On
Zero MCP servers0 tokens~155K tokensNothing to search
2-3 focused servers~6K tokens~149K tokensNames load upfront; a search step before a tool’s first use
8+ copy-pasted servers~82K tokens~73K tokensNames load upfront; more search steps and more look-alike descriptions to match against
15+ “awesome list” servers~145K tokens~10K tokensSame, with the largest pool of descriptions a search can match wrongly

With tool search off, the last row leaves the model barely enough room to hold a single file and your question. With it on, the upfront tokens mostly disappear, and the cost becomes latency and wrong matches: each search adds a step before the tool runs, and a weak description can surface the wrong tool.

Degradation Without a Stack Trace#

A misconfigured linter fails loudly. A misconfigured Claude Code session fails by degrees: answers get vaguer, a copied skill steers the model toward plausible-but-wrong suggestions, and with dozens of tools registered the wrong one gets picked more often. Nothing throws an exception, and no log points at the schema definitions sitting in the window. So the usual diagnosis is that the model is having a bad day, and the configuration never comes under suspicion.

Tool Count vs. Accuracy#

Two sources put numbers near this question, and they measure different things: an academic benchmark of multi-step tool chains, and Anthropic’s evaluations of tool selection from large libraries.

TaskBench (NeurIPS 2024)#

TaskBench asks a model to plan a task as a graph of tool calls and scores the whole graph by exact match. For GPT-4, graph accuracy falls as the task needs more tools:

  • 1 tool in the chain: 96.16%
  • 6 tools in the chain: 39.31%
  • 8 tools in the chain: 25.00%

The count is the number of tools a task needs, not the number registered. Every task in a domain draws from the same tool graph of 23 to 40 tools. So TaskBench measures how fragile long chains are: one wrong pick or wrong ordering fails the whole plan. An agentic coding session is a long chain, which raises the price of each wrong pick that a crowded tool list causes.

Anthropic’s Tool Search Evaluations#

Anthropic reports accuracy on internal MCP evaluations with large tool libraries, with and without its Tool Search Tool:

  • Opus 4: 49% without, 74% with
  • Opus 4.5: 79.5% without, 88.1% with

In both pairs, deferring definitions raised accuracy on the same large-library evaluation. Even the best result still gets about one selection in eight wrong. Anthropic’s context engineering guidance points the same way: it names bloated tool sets, with ambiguous decision points about which tool to use, as one of the most common failure modes it sees.

Neither source names a number of tools that stays safe. The working rule is relative: fewer tools with distinct descriptions give the model fewer ambiguous choices, and every server you add should earn its place.

How Far Tool Search Goes#

Claude Code 2.1.7 (January 2026) turned MCP tool search on by default in auto mode: when MCP tool descriptions passed 10% of the context window, they were deferred and discovered through a search tool. Current docs go further. Tool search is on by default, only tool names and server instructions load at session start, and the 10% threshold survives as the opt-in ENABLE_TOOL_SEARCH=auto mode. In Anthropic’s multi-server example, the API version of the feature cut token usage by 85%, and the accuracy gains are the ones listed above.

Tool Search lowers the bill without removing the reasons to keep the list short:

  • The model still searches through tool descriptions to find matches
  • Each search step costs tokens and adds latency
  • Incorrect search matches waste a turn
  • The model must still understand which server has the right tool

Anthropic’s own guidance says the feature pays off when the context savings and accuracy gains outweigh the added latency, and that it helps least with a small library (under 10 tools), tools used in every session, and compact definitions.

Think of Tool Search like a garbage collector: it manages memory pressure, but you would not write memory-leaking code just because the GC exists. The practical ceiling stays where it was, fewer than 10 servers with focused tool sets, and the quality of each tool description matters more once matching happens through search.

Building Up from Zero#

The sequence is a loop:

No

Yes

Yes

No

Start with zero MCP servers

Hit a repeated friction point?

Continue working

Add one MCP server or write one skill

Audit with /context

Overhead over 40K tokens?

Remove least-used tool or server

A CLAUDE.md That Earns Its Lines#

Start with zero MCP servers and a minimal CLAUDE.md. Include only:

  • Build, test, and lint commands for your project
  • Architecture decisions Claude cannot infer from code
  • Coding style rules specific to your team
  • File naming conventions

Anthropic recommends keeping CLAUDE.md under 200 lines, ideally under 100. Every line is read every session.

When a Server Pays for Itself#

Add an MCP server only when you find yourself repeatedly describing the same external system to Claude.

The 3-server rule is a useful starting point:

  1. One for version control (GitHub/GitLab)
  2. One for your primary data source (database, API, cloud provider)
  3. One domain-specific (project management, documentation, monitoring)

Skills Come from Repetition#

Write skills only for tasks you have done 5+ times with similar prompts. A generic “code review” skill copied from a community list adds nothing Claude cannot already do; a skill that walks through your team’s review process, reading the test requirements and architectural rules from CLAUDE.md, is a different tool entirely. The test for a skill draft is whether it describes a process you actually follow. If it reads like a reusable prompt with no process in it, use a prompt.

Read, Adapt, Measure#

The strongest case against starting from zero is that community skills and MCP sets often carry practices a newcomer does not know yet: a review checklist, a safer migration sequence, a server worth having. Starting empty delays finding them. That cost is real, so the default needs a way in for borrowed material:

  1. Read the whole skill or config and name the problem it solves. If you have not hit that problem, bookmark it and move on.
  2. Adapt it to your process: replace its commands, paths, and conventions with yours, and cut the steps you do not follow. Project facts stay in CLAUDE.md or path-scoped rules, and the skill reads them there.
  3. Measure with /context before and after, and check a week later whether the friction it targets went away. Keep it only if it did.

Borrowed material then enters through the same loop as everything else, one piece at a time.

Keeping the Budget Honest#

The audit takes minutes. Run /context and read the breakdown; MCP tools plus system prompt plus memory should stay under about 40K tokens. Run /mcp for per-server tool counts and disable anything you have not touched in a week. Reread each CLAUDE.md, global and project-level, and cut every instruction Claude does not need for the tasks you actually do. Then open .claude/skills/ and ask of each file: did I write this, or copy it? Copied skills get adapted to your own process, or deleted.

The budget is in tokens because windows differ. On a 200K window, 40K tokens is 20%. Claude Code also supports a 1M window, and several current models run with it by default; there the same 40K is 4%, and the bloated setup’s 91K is about 9%. The percentage shrinks, but the cost stays. Anthropic describes this as context rot: as the number of tokens in the window grows, the model’s ability to recall information from that context declines. Every definition loaded upfront is text the model reads past on every turn, whatever the window size.

Watch compaction frequency too. If auto-compaction triggers often mid-session, overhead is crowding out the work.

Re-run /context after each change.

What Earns a Slot#

MCP Servers#

SignalAction
You describe the same external system to Claude 3+ times/weekAdd a focused MCP server for it
You saw it on an awesome list and it looks interestingSkip it
Your team all needs the same external tool accessAdd it to project config
You used it once in the last monthDisable or remove it
A single server registers 50+ toolsLook for a more focused alternative

Skill or Plain Prompt#

SignalAction
You have done this task 5+ times with similar promptsWrite a custom skill
Someone shared a skill that matches your workflowAdapt it to your conventions, do not copy it
The task is generic (e.g., “review this code”)Use Claude’s built-in capabilities
The task requires your project’s specific conventionsPut the conventions in CLAUDE.md or a path-scoped rule; the skill names them and reads them there (why this row changed)
The skill would exceed 200 linesSplit into focused sub-skills

CLAUDE.md Lines#

SignalAction
Claude keeps making the same mistakeAdd a specific rule to prevent it
The instruction applies to every task in this projectKeep it in root CLAUDE.md
The instruction applies to one subdirectory onlyMove it to a scoped CLAUDE.md
You copied it from another project’s CLAUDE.mdRemove it unless it applies to your project
Your CLAUDE.md exceeds 200 linesAudit; move rules that matter for one part of the codebase into path-scoped rules and multi-step procedures into skills; keep facts out of skills

The Rationalizations#

”I’ll Need It Eventually”#

With tool search off, a single broad server is expensive: in Anthropic’s tool search write-up, the GitHub server alone lists 35 tools at about 26K tokens, and five common servers reach 58 tools and about 55K tokens before the conversation starts. Reserving that for a tool you use twice a week eats a large share of a 200K window, and on a 1M window it is still text the model reads past on every turn. With tool search on, the cost moves to search steps and look-alike descriptions. Either way, the answer is session scoping. Toggle the server on with /mcp for the sessions that need it and leave it off everywhere else.

”My CLAUDE.md Covers Everything”#

A comprehensive CLAUDE.md gets read every session, but only a fraction of it applies to any given task; the rest is paid-for noise. Scoped files exist for this. Keep the root CLAUDE.md to universal rules; move facts that matter for one part of the codebase into subdirectory CLAUDE.md files or path-scoped rules, and multi-step procedures into skills.

A viral configuration was built for its author’s needs, over weeks of iteration you did not see. Read each skill and config before adopting it, and ask when you last needed what it does. If the answer is not within the last week, leave it out.

The CLAUDE.md Scoping Problem#

CLAUDE.md files follow a hierarchy:

  • ~/.claude/CLAUDE.md (global): loaded in every project
  • ./CLAUDE.md (project root): loaded for this project
  • ./packages/api/CLAUDE.md (subdirectory): loaded when working here

Copy someone’s global CLAUDE.md and their React component rules follow you into Go microservices, the “always use pnpm” line fights your yarn workspace, and the Vitest instructions do nothing for a Jest suite.

What belongs is the same short list from the minimal foundation above; the scoping question is which file each line lives in. What does not belong, at any level:

  • Generic programming advice (“write clean code”)
  • Tool instructions that belong in skills
  • Rules for stacks you are not using
  • Verbose explanations. Claude reads code well.

When to Override the Default#

The zero-then-evidence default holds whenever you are the one paying the context bill: your own repository, a small team, a codebase whose conventions you already carry in your head. Two situations justify overriding it. A platform team that maintains one vetted MCP set for twenty repositories buys consistency that is worth the tokens. A single external system that dominates your working day pays back its server in the first hour. Community skills, shared dotfiles, and awesome lists stay a good source of practices in both cases, as long as they come in through read, adapt, measure; the cost appears when they arrive as a block.

Run /context today and write the overhead number down. Every configuration change after that has a number to beat.

References#

Related posts