Best MCP Servers for Claude Code, by Job, With Install Commands

11 min read Editorial standards

The best MCP servers for Claude Code cover one job each: Context7 for current library docs, Playwright or Chrome DevTools for the browser, GitHub’s official server for the code host, DBHub or Supabase for the database, Sentry for production errors, and Exa or Firecrawl for web search and scraping. An MCP server is a program or hosted endpoint that gives Claude Code tools through the Model Context Protocol, either as a local stdio process on your machine or as a remote HTTP URL. Install one server per job, scope it to the projects that need it, and trim its tool list.

Every entry below has a claude mcp add command checked against that server’s own README or docs and against Claude Code’s MCP reference, plus its transport, sign-in, and cost model. Then come three starter sets, the knobs that shrink each server’s tool surface, and where a paid-tools server fits.

Reviewed December 4, 2026. Disclosure: o11 makes the paid-tools server in the last slot. No vendor paid for placement, and no tool-quality benchmark was run for this list; picks are based on official maintenance, a documented Claude Code install, and how far each server lets you limit its tools.

Which MCP servers are best for each job?

Pick by the data you keep pasting into the chat by hand: if it is Sentry stack traces or library docs, add that server first.

JobPickTransportSign-inCost model (Dec 2026)
Library docsContext7Remote HTTP (or local npx)API key headerFree key recommended for higher rate limits
Browser automationPlaywright MCPLocal stdioNoneNo account; needs Node.js 20+
Browser debuggingChrome DevTools MCPLocal stdioNoneNo account; Google collects usage stats unless you opt out
Code hostGitHub MCP ServerRemote HTTPPersonal access token or OAuthYour GitHub account and policies
DatabaseDBHubLocal stdioConnection stringNo account; use a read-only DB user
Database (Supabase)Supabase MCPRemote HTTPOAuth in the browserYour Supabase plan
Error trackingSentry MCPRemote HTTPOAuth via /mcpYour Sentry plan
Web searchExa MCPRemote HTTPAnonymous, OAuth, or API keyRate-limited without sign-in
ScrapingFirecrawl MCPRemote HTTPKeyless, OAuth, or API keyKeyless tier covers scrape, search, parse
Paid data and mediao11Local stdio (o11 mcp)o11 CLI sign-inPay per call from one wallet

Brave Search is a third search option; its server runs locally and needs a Brave Search API key. For a deeper look at the search providers themselves, see the Exa, Tavily, and Brave comparison.

What is the install command for each server?

Run these in your shell, not inside a Claude Code session, then open /mcp in Claude Code to confirm each row shows a checkmark or to finish an OAuth sign-in. Claude Code’s syntax is claude mcp add --transport http <name> <url> for remote servers and claude mcp add [options] <name> -- <command> [args...] for local ones. The -- matters: everything after it goes to the server untouched. Some vendor READMEs omit it, which works until you add a server flag such as --headless, which Claude Code would then try to parse as its own.

Docs: Context7

Context7 pulls version-specific library documentation into the session through two tools, resolve-library-id and query-docs. Its client guide gives this remote command; get a free key from the Context7 dashboard first.

claude mcp add --scope user --header "Authorization: Bearer YOUR_API_KEY" --transport http context7 https://mcp.context7.com/mcp

User scope makes sense here because almost every project benefits from it.

Browser: Playwright MCP or Chrome DevTools MCP

Playwright MCP drives a browser through accessibility snapshots rather than screenshots. Pick it for clicking through flows and writing tests.

claude mcp add playwright -- npx @playwright/mcp@latest --headless

The browser is headed by default; drop --headless if you want to watch it. Pick Chrome DevTools MCP instead when the job is performance traces, network requests, and console errors in a live Chrome. Append --no-usage-statistics to the command to opt out of Google’s collection, which is on by default.

claude mcp add --scope user chrome-devtools -- npx chrome-devtools-mcp@latest

Code host: GitHub MCP Server

GitHub’s remote server takes a fine-grained personal access token as a header. This is the form in Claude Code’s own docs; GitHub’s install guide also offers a claude mcp add-json variant and a Docker-based local server with OAuth.

claude mcp add --transport http github https://api.githubcopilot.com/mcp/ --header "Authorization: Bearer YOUR_GITHUB_PAT"

claude mcp add saves the entry without checking the token, so a bad token only shows up as a failed row in /mcp. If Claude only needs to read issues and pull requests, use the https://api.githubcopilot.com/mcp/readonly URL instead.

Database: DBHub or Supabase MCP

DBHub connects to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse, and SQLite through one connection string. Claude Code’s docs use it as their database example and recommend a read-only user:

claude mcp add --transport stdio db -- npx -y @bytebase/dbhub --dsn "postgresql://readonly:pass@localhost:5432/app"

On Supabase, use its hosted server and sign in through the browser; no personal access token is needed. Scope it to one project, read-only, with only the tool groups you use:

claude mcp add --scope project --transport http supabase "https://mcp.supabase.com/mcp?project_ref=YOUR_PROJECT_REF&read_only=true&features=database,docs"

Then run /mcp, select supabase, and authenticate.

Error tracking: Sentry MCP

Sentry’s remote server is built for coding agents and signs in with OAuth.

claude mcp add --transport http sentry https://mcp.sentry.dev/mcp

Finish the sign-in with /mcp or claude mcp login sentry. For self-hosted Sentry, the README’s route is the Sentry CLI: sentry auth login, then claude mcp add sentry -- sentry mcp.

Web search and scraping: Exa or Firecrawl

Exa’s hosted server works anonymously with rate limits and exposes two default tools, web_search_exa and web_fetch_exa. Sign in with OAuth for higher limits.

claude mcp add --transport http exa https://mcp.exa.ai/mcp

Firecrawl suits pages that need rendering or crawling. The OAuth endpoint unlocks the full tool set on your team’s plan; the keyless endpoint (/v2/mcp) gives rate-limited scrape, search, and parse with no account.

claude mcp add --transport http firecrawl https://mcp.firecrawl.dev/v2/mcp-oauth

For Brave Search, the README provides an npx config with a BRAVE_API_KEY variable; in Claude Code syntax that becomes:

claude mcp add --env BRAVE_API_KEY=YOUR_KEY --transport stdio brave-search -- npx -y @brave/brave-search-mcp-server --transport stdio

Should you use local stdio or remote HTTP?

Use remote HTTP when the vendor hosts an official endpoint, and local stdio when the server needs your machine: a browser, a local database, or a CLI sign-in. Claude Code’s docs call HTTP the recommended transport for remote servers; SSE is deprecated.

  • Remote HTTP (Context7, GitHub, Supabase, Sentry, Exa, Firecrawl): nothing to install, OAuth through /mcp, and the vendor ships fixes.
  • Local stdio (Playwright, Chrome DevTools, DBHub, Brave, o11): a process Claude Code starts and stops. It can reach localhost, your browser, and local credentials, so trust the package first.

Scope is the second choice. Local scope (the default) keeps a server private to you in one project. Project scope writes .mcp.json so the team shares it, and Claude Code asks for approval before using servers from that file. User scope loads a server in every project. Put credentials in local or user scope, never in a committed .mcp.json.

Which starter set fits your work?

Start with two to four servers for the work you do most, then add only when you catch yourself pasting the same kind of data again. These sets are recommendations, not measurements.

Starter setServersScopeKeep it lean by
FrontendContext7, Playwright (or Chrome DevTools for performance work), GitHub read-onlyContext7 user; others project or localChoosing one browser server, not both; GitHub /readonly URL
BackendContext7, GitHub, DBHub or Supabase, SentryContext7 user; database and Sentry localRead-only DB user; Supabase project_ref, read_only, features
Research and GTMExa or Firecrawl, o11UserOne search server; paid data through one wallet instead of one key per provider

Research and go-to-market sets grow fastest: search, scraping, people data, SEO data, and media, each with its own account and key. That is the slot o11 fills.

Why keep the set lean if tool search exists?

Tool search makes extra servers cheaper, not free. With tool search on, which is Claude Code’s default, only tool names and server instructions load at session start, and full tool definitions load when Claude needs them (Claude Code MCP docs). Four costs remain:

  1. Tool search is sometimes off. All MCP tools load upfront when you set ENABLE_TOOL_SEARCH=false, on models older than Claude Opus 4 and Sonnet 4, on Microsoft Foundry deployments hosted on Azure, and for any server you mark "alwaysLoad": true.
  2. Names and instructions still count. Every server adds its tool names and instructions to every session, and overlapping servers (three search tools, two browsers) give Claude more near-duplicates to choose between. GitHub’s README makes the same point: enabling only the toolsets you need “can help the LLM with tool choice and reduce the context size.”
  3. Results land in context. Claude Code warns when one MCP tool output passes 10,000 tokens and, by default, moves results over 25,000 tokens (MAX_MCP_OUTPUT_TOKENS) to a file. A large page scrape or SQL result can still dominate a turn.
  4. Tool counts differ widely. Firecrawl’s README says its full profile registers 34 tools while the keyless endpoint exposes 3. DBHub’s README reports its own November 2026 benchmark: 261 definition tokens for its 2 tools versus 6,982 for Supabase MCP 0.19.0’s 36 tools (cl100k_base). That is a vendor’s measurement of a competitor, so rerun it before relying on it.

Most popular servers have a documented knob to cut their surface:

ServerDocumented way to trim it
GitHub/readonly URL, or per-toolset URLs under /mcp/x/<toolset>
Supabaseproject_ref, read_only=true, features=<groups> URL parameters
Exa?tools= list on the URL (replaces the defaults)
FirecrawlKeyless endpoint (3 tools) or search-only endpoint (12 tools)
PlaywrightLeave opt-in --caps groups (vision, pdf, devtools) off
Brave SearchBRAVE_MCP_ENABLED_TOOLS allow-list

Playwright’s own README goes further: for coding agents it suggests its CLI plus skills over MCP because CLI calls avoid loading large schemas and accessibility trees. Run /context to see what each server is costing you, toggle unused servers off per project in /mcp, and see our method for measuring MCP tool definition tokens if you want numbers for your own set.

Where does o11 fit?

o11 takes the paid-data slot: one MCP server for paid tools instead of one server and API key per provider. Per o11’s Claude Code page, Claude Code can find, price, and call tools in the o11 catalog, including web search (Exa, Tavily, Brave Search, Perplexity), scraping (Firecrawl, Apify), SEO data (DataForSEO), people data (Apollo, Hunter), and voice and video generation. Each call is paid from your o11 wallet, the price is quoted before the call runs, and the card’s allowance caps what Claude Code can spend. Most tools need no provider account of your own.

The setup prompt on that page installs the o11 CLI and adds o11 as a local stdio server with this command; it then asks for your email and a six-digit code:

claude mcp add --transport stdio --scope user o11 -- o11 mcp

The remote URL, https://go.o11.ai/mcp, is for chat apps that cannot run programs, such as claude.ai on the web (o11 llms.txt). For Claude Code, the local command is the documented path.

If you only use one search provider and already have its key, that provider’s own server is simpler. Prices vary by tool, so check the quote for the exact operation before a large run. For a longer walkthrough of a bounded first task, see connecting Claude Code to paid tools; for the general case of many services behind one endpoint, see one MCP gateway for multiple services.

How do you check the set is working and safe?

Confirm the connection, then confirm the permissions. A configured server is not the same as a working one.

  • claude mcp list shows what is configured; /mcp inside a session shows status, sign-in state, and failure details such as a 401.
  • Give database servers a read-only user. DBHub’s README is blunt that its read-only mode “is a guardrail, not a permission boundary.”
  • Treat anything that fetches web content (browser, scraper, search) as a prompt-injection path. Claude Code’s docs warn about this directly, and Supabase documents the same risk for database rows that contain user-written text.
  • The vendor commands above use @latest tags. For a shared .mcp.json, pin an exact version so an update cannot change tools without review.
  • Before removing a remote server, run claude mcp logout <name> so its OAuth tokens are revoked where the provider supports it; claude mcp remove alone deletes the stored tokens locally without revoking them.

Our MCP server security checklist covers the rest: pinning versions, reviewing scopes, and what to log.

Sources

Give your agents a wallet.
Open up their world.

The paid web, through one simple API.

Get started
Become a partner Sell your product/API to agents using o11.

Keep reading