The Best MCP Servers for Claude Code, With the Command to Add Each One
By Shubhranshu, creator of claudeagents · Last reviewed
The best MCP servers for Claude Code in 2026 are GitHub (issues and pull requests), Playwright (browser testing), Context7 (up-to-date library docs), Sentry (errors), Supabase (your database), Linear (tickets) and Figma (designs). Most are official servers from the company behind the product, and each one installs with a single claude mcp add command.
MCP (Model Context Protocol) lets Claude Code use outside tools the same way it uses its own. Add the GitHub server and Claude can read an issue, check the CI logs and open a pull request without you copying anything into the chat. Add Playwright and it can click through your app in a real browser to check its own work.
This list is short on purpose. Every server you add loads its tool descriptions into Claude's context, so ten servers you never use make every session slower and more expensive. Below are the ones worth it, what each does, who maintains it, and the exact command to add it. Every command and URL was checked against the official docs on 28 November 2026.
How to add an MCP server to Claude Code
There are two kinds of server. A remote server runs on the vendor's side and you connect over HTTP; most log you in with your browser the first time. A local (stdio) server is a program Claude Code starts on your computer, usually with npx or uvx.
Both are added from your terminal with claude mcp add. By default a server is saved for the current project and only you (the local scope). Add --scope project to write it to .mcp.json so your whole team gets it, or --scope user to use it in every project.
# Remote (HTTP) server
claude mcp add --transport http <name> <url>
# Local (stdio) server: everything after -- is the command that starts it
claude mcp add [options] <name> -- <command> [args...]
# Pick where it is saved (default: local = this project, just you)
claude mcp add --scope project ... # writes .mcp.json, shared with your team
claude mcp add --scope user ... # all your projects
# Check and manage
claude mcp list
claude mcp get <name>
claude mcp remove <name>After adding a server, start Claude Code and type /mcp. You'll see each server's status, and that's where you log in to servers that need it. Prefer to write the JSON by hand? Our free MCP config (.mcp.json) generator builds the file and the matching commands for you.
The best MCP servers at a glance
| Server | What Claude can do with it | Made by | Login needed |
|---|---|---|---|
| GitHub | Read issues, review PRs, check Actions runs, open pull requests | GitHub (official) | OAuth or a personal access token |
| Playwright | Open pages, click, fill forms and test your app in a real browser | Microsoft (official) | No |
| Context7 | Pull current, version-specific docs for the libraries you use | Upstash (official) | Optional free API key |
| Sentry | Look up errors, stack traces and performance issues | Sentry (official) | Sentry login |
| Supabase | Inspect tables, run queries and manage your Supabase project | Supabase (official) | Browser login (OAuth) |
| Linear | Read, create and update issues | Linear (official) | Browser login (OAuth) |
| Figma | Read designs, components and variables to build matching UI | Figma (official) | Browser login; some features need a paid seat |
| Notion | Search and edit pages and databases | Notion (official remote server) | Browser login (OAuth) |
| Filesystem, Fetch, Git, Memory | Reference servers for files, web pages, git and a simple memory | MCP project (reference only) | No |
1. GitHub MCP server: issues, pull requests and CI
The official GitHub MCP server (about 35k stars) gives Claude access to repos, issues, pull requests, Actions runs, code security alerts and more, grouped into toolsets you can switch on or off.
Claude Code already runs git and the gh CLI well, so you don't strictly need this server. It earns its place when you want Claude to work across GitHub without shell access, for example reading a failing Actions log or triaging issues.
Add the hosted version with your personal access token (the Claude Code docs use this exact form):
claude mcp add --transport http github https://api.githubcopilot.com/mcp/ \
--header "Authorization: Bearer YOUR_GITHUB_PAT"Use a fine-grained token with only the repos and permissions you need, and keep it out of committed files.
2. Playwright MCP: let Claude test in a real browser
Microsoft's Playwright MCP (about 40k stars) lets Claude drive a real browser. It reads the page's accessibility tree rather than screenshots, so it's fast and precise. Use it to have Claude check its own UI changes, reproduce a bug, or walk through a sign-up flow.
It needs no account. This is the command from the Playwright README:
claude mcp add playwright npx @playwright/mcp@latestWorth knowing: the Playwright team notes that coding agents can be cheaper with their newer Playwright CLI plus skills, because CLI calls use fewer tokens than MCP. If you run long browser sessions, try both.
3. Context7: current docs instead of outdated answers
Models are trained on old snapshots of library docs, so they sometimes suggest APIs that changed. Context7 by Upstash (about 66k stars) fixes that by fetching current, version-specific documentation and code examples for the library you're working with.
It's free to use. A free API key from the Context7 dashboard gives you higher rate limits.
claude mcp add --transport http context7 https://mcp.context7.com/mcp
# Optional: higher rate limits with a free key
claude mcp add --transport http context7 https://mcp.context7.com/mcp \
--header "Authorization: Bearer YOUR_CONTEXT7_KEY"Then just mention the library in your prompt, for example "use the current Next.js docs for this", and Claude will look it up.
4. Sentry MCP: fix real production errors
Sentry's official MCP server now lives in getsentry/toolkit. It lets Claude look up issues, stack traces, traces and performance problems, so you can say "fix the top error from yesterday" and Claude sees the real data.
claude mcp add --transport http sentry https://mcp.sentry.dev/mcpRun /mcp in Claude Code to log in. Sentry also offers a local mode through its CLI (claude mcp add sentry -- sentry mcp) after sentry auth login.
5. Supabase MCP: work with your database
The official Supabase MCP server connects Claude to your Supabase project: list tables, run SQL, check logs and read the Supabase docs. It logs you in through your browser and asks which organisation to use.
claude mcp add --transport http supabase https://mcp.supabase.com/mcpSafety tip: point it at a development project, not production. The server supports a read_only=true option and a project_ref option in the URL to limit what Claude can touch.
6. Linear MCP: tickets without leaving the terminal
Linear runs an official remote server. Claude can find, create and update issues, so "pick up LIN-142, fix it and move it to In Review" becomes one prompt. This is the command from Linear's docs:
claude mcp add --transport http linear-server https://mcp.linear.app/mcpRun /mcp afterwards to log in. Linear also offers a read-only URL ending in /mcp/readonly if you only want Claude to read tickets.
7. Figma MCP: build UI that matches the design
Figma's official MCP server gives Claude the real design data (layers, components, variables and spacing) instead of a screenshot, so the code it writes matches the file more closely. Figma recommends its plugin, or you can add the remote server directly:
# Recommended by Figma
claude plugin install figma@claude-plugins-official
# Or add the remote server yourself
claude mcp add --transport http figma https://mcp.figma.com/mcpFigma says the server is available on all plans during its beta. Some features, such as writing to the canvas, need a paid seat.
8. Notion MCP: your docs and specs as context
If your specs live in Notion, connect Notion's hosted server and Claude can read the spec before it codes. Use the remote server; Notion's old self-hosted repo says it is no longer actively maintained.
claude mcp add --transport http notion https://mcp.notion.com/mcp9. The official reference servers (filesystem, fetch, git, memory)
The modelcontextprotocol/servers repo (about 92k stars) keeps a small set of reference servers: Everything, Fetch, Filesystem, Git, Memory, Sequential Thinking and Time. Its README calls them reference implementations, not production-ready products.
For Claude Code most of them overlap with built-in tools: Claude already reads files, runs git and fetches web pages. The Memory server is the one people still add, for a simple knowledge graph that persists between sessions.
claude mcp add memory -- npx -y @modelcontextprotocol/server-memoryMany older servers from that repo, including the GitHub, Puppeteer, PostgreSQL, Slack and Google Drive ones, are now archived. If a tutorial tells you to install one of those, use the official replacement from the vendor instead.
Which MCP servers should you start with?
Pick by the work you do, and stop at three to five. More servers means more tool descriptions in every session and more chances for Claude to pick the wrong tool.
| You mainly… | Add these |
|---|---|
| Build web apps | Context7, Playwright, GitHub |
| Run a SaaS in production | Sentry, Supabase (dev project), GitHub |
| Work from tickets and designs | Linear, Figma, Notion |
| Want long-term notes | Memory, plus a good CLAUDE.md |
# A solid starter set for a web project
claude mcp add --transport http context7 https://mcp.context7.com/mcp
claude mcp add playwright npx @playwright/mcp@latest
claude mcp add --transport http github https://api.githubcopilot.com/mcp/ \
--header "Authorization: Bearer YOUR_GITHUB_PAT"
# Then, inside Claude Code
/mcpSafety checklist before adding any MCP server
- Prefer official servers from the company that makes the product. Check the GitHub owner and the star count before you install.
- Read what it can do. A server with write access to your database or GitHub can change real data.
- Give it the smallest token you can: fine-grained GitHub tokens, read-only modes and dev projects.
- Keep secrets out of `.mcp.json`. Use
${VAR}in the file and set the value in your shell. Claude Code expands it. - Approve project servers on purpose. Claude Code asks before using servers from a project's
.mcp.json; don't approve ones you don't recognise. - Control what Claude may run. Pair MCP with permission rules; our permissions generator writes them for you.
MCP servers vs subagents vs skills
MCP servers give Claude new tools (access to GitHub, a browser, a database). Subagents and skills give Claude know-how: how to review code, run an SEO audit or plan a launch. They work best together: a code-review subagent that can also read the GitHub PR through MCP.
We compare them in detail in subagents vs MCP servers. If you'd rather not write the agents yourself, claudeagents gives you 85 ready-made ones for coding, SEO and marketing that work alongside any MCP servers you add.
Frequently asked questions
What are the best MCP servers for Claude Code?
For most developers: Context7 for current library docs, Playwright for browser testing and GitHub for issues and pull requests. Add Sentry, Supabase, Linear or Figma when your work involves those products. All of these have official servers from their makers.
How do I add an MCP server to Claude Code?
Run claude mcp add --transport http <name> <url> for a remote server, or claude mcp add <name> -- <command> for a local one. Then open Claude Code and type /mcp to check its status and log in if needed.
Where does Claude Code store MCP server config?
Servers added with the default local scope or with --scope user are stored in ~/.claude.json. Servers added with --scope project go in a .mcp.json file at the root of your project, which you can commit so your team shares them.
Are MCP servers free?
The servers in this list are free to connect. You may need an account with the product (GitHub, Sentry, Supabase, Linear, Figma, Notion), and some product features need a paid plan. Context7 is free, with an optional free key for higher limits.
How many MCP servers should I add?
Usually three to five. Each server adds its tool descriptions to every session, which uses context and can make Claude pick the wrong tool. Remove servers you stop using with claude mcp remove <name>.
Is there a good memory MCP server for Claude Code?
The official reference Memory server (npx -y @modelcontextprotocol/server-memory) stores a simple knowledge graph between sessions. For most projects, a clear CLAUDE.md file does more, because Claude reads it at the start of every session.
Are MCP servers safe?
They are as safe as the server and the access you give it. Prefer official servers, use the smallest permissions or read-only modes, keep tokens in environment variables, and only approve project servers you recognise.
Sources
Skip the setup: get 85 ready-made agents
Coding, SEO and marketing kits for Claude Code, with 52 skills and 53 slash commands. $29 one-time, lifetime updates.
See what's included →