Skip to content

Best MCP Servers for Claude Code in 2026: The Complete Setup Guide

The 10 MCP servers that matter most for Claude Code, with exact claude mcp add commands. Covers Tool Search, scopes, skills, and Claude Code as MCP server.

March 27, 2026
7 min read

Claude Code is the most powerful MCP client available today. Unlike Claude Desktop or Cursor, it supports three scope levels, acts as both MCP client and server, lazy-loads tools via Tool Search, and lets you teach it workflows through skills files. If you are using Claude Code without MCP servers, you are leaving most of its capability on the table.

Here are the 10 MCP servers worth installing, with the exact claude mcp add commands, and the Claude Code-specific features that make the setup different from every other client.

What Makes Claude Code Different as an MCP Client

Before the server list, three features that change how you should think about MCP in Claude Code versus Cursor or Claude Desktop.

Tool Search (lazy loading). Claude Code does not load every tool from every connected MCP server into context at once. It uses Tool Search to discover tools on demand — only pulling in the schema for tools it actually needs. This reduces context usage by roughly 95% compared to clients that dump all tool definitions upfront. The practical effect: you can connect 10+ MCP servers without drowning Claude in tool descriptions.

Three scope levels. Every MCP server you add has a scope:

  • --scope user — Available globally, across all projects. Use for servers you always want (GitHub, Brave Search, Toolradar).
  • --scope local — Per-user, per-project. Default scope. Good for project-specific servers (your database, Sentry for this project).
  • --scope project — Writes to .mcp.json in the project root. Shared with your team via git. Use for servers the whole team needs.

Skills (.md files). You can create .claude/ files that teach Claude Code how to use your MCP tools in specific workflows. A skill file like .claude/deploy.md can say: "When I ask you to deploy, use the GitHub MCP to create a PR, then use Linear MCP to move the ticket to In Review." This turns MCP tools into composable workflows — something no other client supports.

The 10 Best MCP Servers for Claude Code

Tier 1: Install These Now

1. GitHub MCP Server

What it does: Full repository management — PRs, issues, code search, branches, commits — without leaving the terminal.

Claude Code already has deep git integration, but the GitHub MCP server adds the API layer: creating PRs with descriptions, searching issues across repos, reviewing PR comments, and managing labels. The combination of Claude Code's native file access and GitHub MCP's API access is the strongest code workflow available.

claude mcp add github --scope user --transport http https://api.githubcopilot.com/mcp/ \
  -e GITHUB_TOKEN=ghp_your_token

Or run it locally via Docker:

claude mcp add github --scope user \
  -- docker run -i --rm \
  -e GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your_token \
  ghcr.io/github/github-mcp-server

Create a fine-grained personal access token at github.com/settings/tokens. Grant only the repos and permissions you need.

2. Context7 MCP

What it does: Fetches version-specific documentation for any library at call time.

Claude Code's training data is months old. When you are working with Next.js 15, Prisma 6, or Tailwind 4, Claude will generate code against outdated APIs. Context7 resolves the current documentation for any library and injects it into the conversation. Essential for any codebase using fast-moving dependencies.

claude mcp add context7 --scope user -- npx -y @upstash/context7-mcp

No API key needed. Works immediately.

3. Brave Search MCP

What it does: Real-time web search using Brave's independent index.

Claude Code cannot access the internet by default. Brave Search gives it live web results — current documentation, recent release notes, Stack Overflow answers, security advisories. The most useful general-purpose MCP server for filling knowledge gaps.

claude mcp add brave-search --scope user \
  -- npx -y @brave/brave-search-mcp-server

Set your API key as an environment variable: export BRAVE_API_KEY=your_key in your shell profile. Free tier: 2,000 queries/month at brave.com/search/api.

4. Toolradar MCP

What it does: Search, compare, and get pricing for 8,400+ software tools with verified data.

"What's the best headless CMS for a Next.js project?" or "Compare Supabase vs Firebase pricing" — Claude answers from real data instead of hallucinating stale information. Editorial scores, weekly-verified pricing, G2/Capterra ratings, and AI-identified alternatives.

claude mcp add toolradar --scope user \
  -- npx -y toolradar-mcp

Set your API key: export TOOLRADAR_API_KEY=tr_live_your_key. Free key (100 calls/day): toolradar.com/dashboard/api-keys. Full docs.

Tier 2: Add Based on Your Stack

5. Playwright MCP

What it does: Browser automation — navigate pages, click elements, fill forms, take screenshots, run E2E tests.

Claude Code can write Playwright tests natively. But with the Playwright MCP server, it can run them too — execute tests, take screenshots of failures, and iterate on fixes without you switching to a browser. The feedback loop tightens dramatically.

claude mcp add playwright --scope local \
  -- npx -y @playwright/mcp --headless

No API key. Requires browsers installed: npx playwright install chromium.

6. Sentry MCP

What it does: Pull error context — stack traces, breadcrumbs, affected users — directly into Claude Code.

"What's the top error this week?" returns the actual stack trace, not a guess. Claude reads the full error context and suggests fixes against your codebase. Use --scope local so it connects to the right project.

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

Authenticate via the browser flow on first use.

7. Figma MCP

What it does: Exposes your Figma selection's live structure — hierarchy, auto-layout, spacing tokens, component refs.

Claude Code generates code against the real design, not a screenshot. Paste a Figma link, and Claude reads the component tree and produces matching code with accurate spacing, colors, and layout. Especially strong for Tailwind-based projects.

claude mcp add figma --scope user \
  --transport http https://mcp.figma.com/mcp

8. Supabase MCP

What it does: Manage your Supabase project — database, auth, storage, edge functions — from Claude Code.

If your stack includes Supabase, this replaces the dashboard. Create tables, manage RLS policies, debug auth issues, query data — all from the terminal conversation.

claude mcp add supabase --scope local \
  --transport http https://mcp.supabase.com/mcp

9. Linear MCP

What it does: Read, create, and update issues. Manage sprints. Search across projects.

"Create a bug ticket for the auth redirect issue, assign to me, add to the current sprint" — done in one message. When combined with the GitHub MCP server, Claude Code can create the fix PR and update the Linear ticket in a single workflow.

claude mcp add linear --scope user \
  --transport http https://mcp.linear.app/mcp

10. Filesystem MCP Server

What it does: Secure file operations with sandboxed directory access.

Claude Code already has native file access within your project. The Filesystem MCP server adds value when you need Claude to access files outside the project directory — shared config directories, monorepo sibling packages, or data directories. Specify exactly which directories to expose.

claude mcp add filesystem --scope local \
  -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir

No API key needed. Only the directories you specify are accessible.

Copy-paste these commands to get a strong baseline. Run them once — they persist across sessions.

# Global servers (available in every project)
claude mcp add github --scope user --transport http https://api.githubcopilot.com/mcp/ -e GITHUB_TOKEN=ghp_your_token
claude mcp add context7 --scope user -- npx -y @upstash/context7-mcp
claude mcp add brave-search --scope user -- npx -y @brave/brave-search-mcp-server
claude mcp add toolradar --scope user -- npx -y toolradar-mcp

# Project-specific (run inside your project directory)
claude mcp add playwright --scope local -- npx -y @playwright/mcp --headless
claude mcp add sentry --scope local --transport http https://mcp.sentry.dev/mcp

Set environment variables in your shell profile (~/.zshrc or ~/.bashrc):

export BRAVE_API_KEY="your_brave_key"
export TOOLRADAR_API_KEY="tr_live_your_key"

Verify everything loaded:

claude mcp list

Claude Code as an MCP Server

This is the feature no other client has. Claude Code can act as an MCP server itself — meaning other tools and agents can call it.

claude mcp serve

This exposes Claude Code's capabilities (file editing, bash execution, code analysis) to any MCP client. Use cases:

  • Orchestration. A parent agent delegates coding tasks to Claude Code via MCP.
  • CI/CD integration. A pipeline calls Claude Code to review PRs, generate changelogs, or fix lint errors.
  • Multi-agent systems. One agent handles planning, another (Claude Code) handles implementation.

This turns Claude Code from a development tool into a development service that other systems can invoke programmatically.

Sharing MCP Config with Your Team

Use --scope project to write server definitions to .mcp.json in your project root. This file gets committed to git so everyone on the team uses the same MCP setup.

claude mcp add context7 --scope project -- npx -y @upstash/context7-mcp
claude mcp add playwright --scope project -- npx -y @playwright/mcp --headless

This creates .mcp.json:

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp"]
    },
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp", "--headless"]
    }
  }
}

Keep API keys out of this file. Each developer sets their own keys via environment variables or --scope local.

Writing Skills for MCP Workflows

Skills are .md files in your project's .claude/ directory that teach Claude Code compound workflows using MCP tools. Example:

.claude/commands/triage-bug.md

When I say "triage [error-id]":
1. Use Sentry MCP to fetch the full error context for the given ID
2. Find the relevant source file in this codebase
3. Propose a fix with explanation
4. Use Linear MCP to create a bug ticket with the error summary and proposed fix
5. Ask me if I want to create a PR with the fix

Now typing /triage SENTRY-ABC-123 executes the full workflow across multiple MCP servers in sequence. This is where Claude Code's MCP support becomes qualitatively different from other clients — you are building reusable, composable automation, not just connecting tools.

Security

MCP servers run code on your machine and call external APIs with your credentials. Three rules:

  1. Audit before installing. Read the source of any MCP server before running it. Prefer official servers (published by the tool vendor) over community forks.
  2. Principle of least privilege. Use read-only database users, fine-grained API tokens, and scoped file access. Never give a server more access than it needs.
  3. Scope carefully. Global (--scope user) servers are available everywhere — only promote a server to global if you trust it completely.

For a deeper treatment, see our MCP server security best practices guide.

Full list of 25 servers for any client: Best MCP Servers in 2026

Setting up MCP for Claude Desktop instead? Claude Desktop MCP Setup Guide

Want your AI agent to query Toolradar? Set up Toolradar MCP

mcpmcp-serversclaude-codeai-agentsdeveloper-toolsbest-of
Share this article