Which MCP servers are actually worth connecting to Claude Code?
The short answer: fewer than most lists suggest, and only the ones that earn their keep. Where an MCP server's cost comes from has shifted. Claude Code used to inject every connected server's full tool manifest into every turn; since tool search became the default for Claude 4.5 and later models, it keeps only tool names in context and loads a tool's schema when the agent needs it. The idle-server problem is largely solved inside the agent (the exceptions, such as third-party API proxies and alwaysLoad servers, are covered in lazy MCP loading).
What tool search doesn't touch is what a server sends back. A GitHub PR listing, a Playwright page snapshot or a database query result lands in the context window in full and rides along in history on every later turn. That is now where heavy MCP servers spend your tokens, and almost no publisher documents it: you have to measure it on your own sessions.
This is the trade-off almost every "best MCP servers" round-up ignores. You want capability without burning the context you actually code in. So this ranking is built around one question: does the value this server adds outweigh the tokens it costs, mostly through what it returns?
TL;DR — the picks:
- GitHub — keeps the PR/issue loop inside the agent; worth its heavy responses if you live in GitHub.
- Context7 — pulls version-correct library docs on demand; situational but high-value.
- Playwright — the only way to give Claude Code a real browser.
- Tokenade — the one entry on this list that reduces token cost, by compacting what the other servers return.
- Fetch — a lightweight web-content lookup; low overhead, low setup.
- Sequential Thinking — a structured reasoning scratchpad; earns it on genuinely complex problems.
How we ranked these
Every server is scored on four criteria:
- Usefulness — how often it's the right tool during a real Claude Code session, not a demo.
- Token cost — how much does it put into context, mostly through the size of what its tools return, or does it actively reduce tokens? This is the criterion most lists omit entirely.
- Setup effort — how much friction to install, authenticate, and keep running.
- Maintenance — how stable it is in practice; does it break when upstream APIs change?
A server only makes the list if its usefulness clearly outweighs the token overhead it adds. Servers that add overhead comparable to their value (or where the same job is better done another way) are called out rather than included to fill a round number.
1. GitHub — repo context without leaving the agent
GitHub MCP is the best pick for anyone whose Claude Code workflow revolves around pull requests, code review, and issue triage — it collapses "find that PR, read that diff, open that issue" into a single agent turn. The official server from GitHub covers repositories, PRs, issues, code search, and comments, which means the read-act-verify loop for review work stays entirely inside the agent.
- What it is: the official GitHub MCP server (
github/github-mcp-server), maintained by GitHub. - Strengths: covers the full PR/issue lifecycle; deep repo navigation; keeps context-switching out of your workflow.
- Limitations: its responses are among the heaviest of any server: issue and PR listings come back as pages of JSON full of URLs, IDs and nested user objects, and they stay in history once they land. The manifest is large too. The README on
maindocuments around 82 tools across 20 toolsets, though only five (context,issues,pull_requests,repos,users) are enabled by default. GitHub has never published a token cost for that manifest, and third-party estimates disagree badly (42,000, 55,000 and 64,600 tokens all circulate), but with Claude Code's tool search on by default it is deferred rather than paid on every turn. What is vendor-confirmed: a January 2026 consolidation collapsed the Projects toolset into three tools and saved "around 23,000 tokens" — that's the Projects toolset specifically, not a halving of the whole server. If your setup loads tools upfront, trim with--toolsets/GITHUB_TOOLSETS,--exclude-toolsor--read-only. Don't reach for--dynamic-toolsets: it was removed in May 2026. - Best for: developers living in GitHub — PR review, issue triage, code search, and repo context lookups.
2. Context7 — current library docs on demand
Context7 is the right add when Claude keeps reaching for outdated APIs or hallucinating method signatures — it pulls version-correct documentation for the library you're using directly into context, on demand. Built by Upstash, it exposes two tools: resolve-library-id (map a library name to a Context7 ID) and get-library-docs (fetch current, version-specific docs). You can use it without an API key at basic rate limits, or grab a free key at context7.com for higher throughput.
- What it is: a docs-retrieval MCP server by Upstash that indexes thousands of popular libraries (Next.js, React, MongoDB, Supabase, and many more) and serves clean, version-aware documentation snippets on request.
- Strengths: directly attacks the "outdated API" hallucination — the model gets current docs, not training-data-vintage examples. Doc payloads are pulled per-request, not pre-loaded, which keeps the base manifest small.
- Limitations: only earns its place on sessions where you're actively working against fast-moving libraries. The doc payloads it injects do add output tokens when called; a full library doc fetch can run several thousand tokens depending on the library section. For a stable internal codebase the value is low.
- Best for: working with actively-maintained external libraries where the API surface changes frequently.
3. Playwright — a real browser inside Claude Code
Playwright is the top choice for front-end and end-to-end testing from inside Claude Code — it gives the agent genuine browser control to navigate, click, assert, and verify its own UI changes. The official server from Microsoft (@playwright/mcp) drives a real browser via accessibility snapshots, which means the agent can verify that a component actually renders, not just that the code compiles.
- What it is: Microsoft's official Playwright MCP server. The README on
mainenables 24 core browser-control tools by default (navigation, forms, snapshots), rising to 69 at full load once you switch on the optional capability groups — network, storage, devtools, vision, testing, pdf and config. - Strengths: genuine browser automation; accessibility-snapshot mode avoids the token cost of raw screenshots; persistent sessions preserve login state between runs; supports Chrome, Firefox, WebKit, and Edge.
- Limitations: accessibility snapshots are cheaper than screenshots but still large: a busy page can return thousands of lines of tree, on every navigation. The tool list also grows fast if you enable capability groups, which matters on setups that load tools upfront. Microsoft also ships
@playwright/clias a companion, positioned explicitly against the MCP path: its docs describe the CLI as token-efficient because "concise CLI output avoids loading large tool schemas into the model context", versus MCP's "tool schemas + snapshots in context". Microsoft publishes no figure for that saving, and the "4× fewer tokens" number you'll see quoted around is third-party. The direction is right; the multiple is unverified. The server is also heavier to set up than most: it needs a browser binary and benefits from a kept-alive session. - Best for: front-end developers and anyone doing E2E test work who needs the agent to verify visual and interactive behaviour, not just code correctness.
4. Tokenade — the layer that compacts what your servers return
Tokenade is the only entry on this list that actively shrinks what Claude Code spends, by compacting what your other MCP servers return before it reaches the model, plus command output and file reads. Where every other server here adds tokens through its responses, Tokenade takes them back out.
The mechanism: Tokenade's MCP proxy sits between Claude Code and your other servers (tokenade mcp-wrap install wraps them in one command). It compacts what they return, with dedicated compactors for GitHub and GitLab, browser automation (Playwright, Puppeteer, Chrome), filesystem, Git, memory and databases (Postgres, SQLite, MySQL, Supabase, DuckDB), and a generic shape-aware compactor for every other server. Screenshots and images pass untouched, and the full result stays recoverable when the agent needs a detail. Compound that with command-output compaction (noisy build logs, git output, and CLI dumps are filtered down to the signal before entering context) and structure-first file reads (signatures and exports rather than whole-file bodies), and the stacked effect across a real session is substantial.
- What it is: a single binary that installs into Claude Code in one command: an MCP output proxy, command-output compaction, semantic code search and skeleton reads, plus a local, graphical token-savings report (
tokenade dashboard) so you can explore the actual numbers. Free and open source (MIT/Apache-2.0). - Strengths: stacks with the other servers on this list — it makes a multi-server setup more affordable by compacting the payloads they return. Zero per-prompt effort; the savings are automatic. The dashboard makes the impact visible rather than theoretical.
- Limitations: Tokenade doesn't add an external capability (no GitHub integration, no browser, no docs retrieval). It optimises what the agent already does; if your sessions are short and your bill isn't a concern yet, the payoff is smaller. Like all output-compaction tools, it trades some verbosity for efficiency — if you need a raw unfiltered transcript for debugging, you can bypass it with
tokenade raw <cmd>for a one-shot escape. - Best for: any Claude Code user whose token bill or rate limits are starting to hurt, especially after adding multiple MCP servers. The value scales with session length and MCP surface area.
5. Fetch — clean web content without the HTML noise
Fetch is the simplest way to pull readable web content into Claude Code — it converts a page to markdown instead of raw HTML, making reference lookups cheap and noise-free. The official server from Anthropic's MCP project is a single-tool server: it fetches a URL, strips HTML structure, and returns clean markdown the model can read without wading through tags and scripts.
- What it is: the official
mcp-server-fetch(frommodelcontextprotocol/servers), a Python-based single-tool server that converts web pages to markdown on request. - Strengths: minimal manifest (one tool, low token overhead); markdown output is far cheaper than raw HTML for the same content; chunked retrieval via
start_indexmeans it can page through long documents rather than dumping everything at once. Respectsrobots.txtby default. - Limitations: single-page fetch only — it's a lookup tool, not a crawler. The content it returns still costs tokens proportional to the page length; a dense documentation page can be several thousand tokens even as markdown. A few sites actively block simple fetch requests.
- Best for: quick one-off reference lookups, pulling a changelog or README into context, fetching API docs that aren't indexed by Context7.
6. Sequential Thinking — a scratchpad for hard problems
Sequential Thinking earns a place when the task is genuinely complex and multi-step — it gives Claude Code a structured scratchpad to plan, revise, and branch its reasoning before committing to an action. The official server from the MCP project exposes a single sequential_thinking tool that lets the model work through a problem in explicit, revisable steps.
- What it is: the official
sequentialthinkingserver frommodelcontextprotocol/servers, providing structured step-by-step reasoning as an MCP tool. - Strengths: improves correctness on complex, branching problems where a flat answer is likely to miss a case — architecture decisions, debugging non-obvious failures, multi-constraint planning.
- Limitations: the tool adds tokens via the reasoning steps themselves; on simple tasks it's overkill and will inflate the session for no quality gain. It also doesn't do anything Claude can't do with good prompting — it's a structural nudge, not a qualitative upgrade. Use it selectively.
- Best for: complex, multi-step planning tasks — system design, subtle debugging, refactoring decisions with many constraints. Leave it off for routine coding work.
At a glance
| Server | Usefulness | Token cost | Setup | Best for |
|---|---|---|---|---|
| GitHub | High | Adds (large) | Medium | PR/issue/code-review work |
| Context7 | Situational | Adds (per call) | Easy | Fast-moving library docs |
| Playwright | Situational | Adds (large) | Harder | E2E testing + UI verification |
| Tokenade | High | Reduces | Easy | Compacting MCP tool output |
| Fetch | Handy | Low | Easy | One-off web lookups |
| Sequential Thinking | Situational | Adds (per use) | Easy | Complex multi-step planning |
How to choose
Start with at most two or three servers that match your actual workflow — the ones you'll use on most sessions, not all sessions. With tool search on, an idle server costs little more than its tool names, but every extra server is another set of tools for the model to choose between and another source of heavy responses. On setups that still load tools upfront, an idle server is paid on every turn.
A practical starting point for most solo developers: add GitHub if you review PRs in Claude Code, add Context7 if you're working against libraries that change often, and add Playwright if you're doing front-end or E2E work. Pick up Fetch for reference lookups; it's cheap enough to leave on. Hold off on Sequential Thinking unless you have a specific hard-reasoning use case in mind.
Then, because each server you add pours its responses into context, add the layer that pushes that back down. That's what Tokenade does: its MCP proxy compacts what your other servers return (dedicated compactors for GitHub, Playwright, Postgres and other popular servers, a generic one for the rest), it compacts noisy command output before it enters context, and it lets the agent search the codebase by meaning rather than by dumping files. See How to reduce AI coding agent token usage for a full breakdown of every lever, or Reduce Claude Code token usage for the Claude Code-specific version.
Frequently asked questions
How many MCP servers should I connect at once?
As few as the session actually needs — most people are better off with two or three than with ten. Claude Code's tool search defers tool definitions by default, so an unused server now costs little more than its tool names; the larger costs are what the servers you do use return, and a crowded tool list that makes wrong tool choices likelier. Connect what the task requires, disconnect the rest.
Do MCP servers slow Claude Code down?
Indirectly, yes. A larger tool surface gives the model more to weigh before acting, large tool results take longer to process, and a bloated context window is one the model attends to less carefully. The practical effect of pruning is usually fewer wrong tool choices, not just a smaller bill.
What's the difference between an MCP server and a Claude Code skill?
An MCP server exposes tools over a protocol — it runs as a separate process or remote endpoint and advertises callable functions. A skill packages instructions and workflow for Claude Code itself, without adding a tool surface. Rough rule: reach for MCP when you need Claude to do something external, and a skill when you need it to work a certain way. Claude Code skills covers the second half.
Can I use these servers in Cursor or Codex?
Mostly yes — MCP is a shared protocol, so a server written for one host generally works in another. What differs is the configuration format and which parts of the spec each host implements; resources and prompts in particular are optional and unevenly supported. Whether tool definitions are deferred also depends on the host, so check before assuming. The size of what each server returns carries over unchanged.
How do I know what a server is costing me?
Measure it rather than trusting a published figure. For the standing cost, run /context in a fresh session before typing anything, note the number, connect the server, restart, and compare; with tool search on, expect a small difference. For the real cost, look at the size of the tool results in a normal session: that's where heavy servers spend. With Tokenade wrapping your servers, tokenade dashboard shows what each MCP tool returned and saved.
Is there a downside to disconnecting a server I use occasionally?
Only the few seconds it takes to reconnect. There's no state to lose and no penalty for reconnecting later. With tool search on, leaving it connected costs little; if your setup loads tools upfront (a third-party proxy, an alwaysLoad server, an agent without tool search), disconnecting it saves its manifest on every turn.
See also:
Cut your AI agent's token bill.
Ranked #1 on the Token-Harness Optimizer Leaderboard. Zero config.
Tokenade cuts the token bill of AI agents: one install, zero config, and it trims what your agent sends to the model.