Best MCP servers for Claude Code

Claude Code manages MCP servers with the claude mcp CLI. Prefer the CLI over hand-editing JSON for local stdio servers. We found 497 servers that mention Claude Code in their docs — 428 maintained in the last 90 days, 234 with a ready-made install config.

Official Claude Code MCP docs · Jump to copy-paste commands

How to add an MCP server to Claude Code

Add a local (stdio) server

Run in your terminal (not inside a Claude session):

claude mcp add <name> -- <command> [args...]

Example:

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

Everything after -- is the server command. Use --env KEY=VALUE before -- for environment variables, and --scope user to enable the server in every project (default is local/project scope).

Add a remote HTTP server

claude mcp add --transport http <name> <url> — use --transport sse only for legacy SSE endpoints.

Verify

Run claude mcp list, or inside a session use /mcp. Project-scoped servers can also live in a committed .mcp.json at the repo root.

Sample config — terminal

Scopes: local (default), user (--scope user), or project (--scope project / .mcp.json for teammates).

claude mcp add example-server -- npx -y some-mcp-server

# with an API key:
claude mcp add example-server --env API_KEY=your-key -- npx -y some-mcp-server

# remote HTTP:
claude mcp add --transport http my-remote https://example.com/mcp

Copy-paste claude mcp add commands

Run these in your terminal (not inside a Claude session). Add --scope user to enable a server in every project, or --scope project to share it via .mcp.json. Then run /mcp in Claude Code to sign in to OAuth remotes and check status.

Official hosted remotes

GitHub MCP (official remote)Remote · HTTP · token

Official GitHub-hosted remote MCP server. Repos, issues, pull requests and more over OAuth or a PAT — the easiest way to use GitHub MCP without running the local binary.

claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer YOUR_GITHUB_PAT"}}'

GitHub's Claude Code guide uses a Personal Access Token header (Claude Code 2.1.1+). On older versions: claude mcp add --transport http github https://api.githubcopilot.com/mcp -H "Authorization: Bearer YOUR_GITHUB_PAT" Source

Context7 MCP (official remote)Remote · HTTP · OAuth

Upstash-hosted Context7 remote endpoint. Pulls up-to-date, version-specific library docs and code examples into your prompt; optional API key for higher limits.

claude mcp add --transport http context7 https://mcp.context7.com/mcp
Sentry MCP (official remote)Remote · HTTP · OAuth

Official Sentry-hosted MCP server. Search issues, errors and traces, and get Seer root-cause analysis via OAuth. Streamable HTTP at mcp.sentry.dev.

claude mcp add --transport http sentry https://mcp.sentry.dev/mcp
Linear MCP (official remote)Remote · HTTP · OAuth

Official Linear-hosted MCP server. Find, create and update issues, projects and comments via OAuth. Streamable HTTP at mcp.linear.app.

claude mcp add --transport http linear https://mcp.linear.app/mcp
Notion MCP (official remote)Remote · HTTP · OAuth

Official Notion-hosted MCP server. Search, read and update Notion pages and databases over OAuth — no local install. Streamable HTTP at mcp.notion.com.

claude mcp add --transport http notion https://mcp.notion.com/mcp
Figma MCP (official remote)Remote · HTTP · OAuth

Official Figma-hosted MCP server. Pull design context from Figma files over OAuth without the desktop app. Preferred over the local desktop MCP server for most setups.

claude mcp add --transport http figma https://mcp.figma.com/mcp
Supabase MCP (official remote)Remote · HTTP · OAuth

Official Supabase-hosted remote MCP server. Manage projects, run SQL and use Supabase features over OAuth or an access token — no local npx process required.

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

Official Atlassian-hosted MCP server (v2). Connect Jira, Confluence, Jira Service Management, Bitbucket and Compass to Claude, Cursor, VS Code and ChatGPT via OAuth 2.1.

claude mcp add --transport http atlassian https://mcp.atlassian.com/v2/mcp

Popular local servers commands from each project's README

chrome-devtools-mcpLocal · stdio

Chrome DevTools for coding agents

claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest

Project README · needs Node.js

RepomixLocal · stdio

Packs a whole repository into one AI-friendly file; run with --mcp to let assistants pack and read local or remote codebases.

claude mcp add repomix -- npx -y repomix --mcp

Project README · needs Node.js

Provides a tool for dynamic, reflective problem-solving: break problems into steps, revise thoughts, and branch into alternative reasoning paths.

claude mcp add sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking

Project README · needs Node.js

Every listing has the same one-liner in its install tab. Replace placeholder keys before running; never paste secrets into chat.

Quick comparison

Top 12 by GitHub stars among servers documented for Claude Code. Status: maintained = commit in the last 90 days. Grade A–F blends maintenance, license, install config, official flag and stars.

ServerStarsStatusGradeUpdatedInstallAPI key
headroomheadroomlabs-ai★ 75.5kMaintainedBtodayCommandLikely
Context7upstash★ 63.2kMaintainedAtodayOne-clickLikely
private-gptzylon-ai★ 57.6kMaintainedBtodayCommandNot mentioned
chrome-devtools-mcpChromeDevTools★ 53.7kMaintainedAtodayOne-clickNot mentioned
codebase-memory-mcpDeusData★ 46.7kMaintainedAtodayOne-clickLikely
playwright-mcpmicrosoft★ 38.3kMaintainedAtodayOne-clickNot mentioned
github-mcp-servergithub★ 33.7kMaintainedBtodayCommandLikely
code-review-graphtirth8205★ 32.2kMaintainedAtodayOne-clickLikely
mcp-for-blenderahujasid★ 31.2kMaintainedB8 days agoCommandLikely
serenaoraios★ 30.3kMaintainedBtodayOne-clickNot mentioned
context-modemksglu★ 30.3kMaintainedBtodayOne-clickLikely
Repomixyamadashy★ 28.9kMaintainedAtodayOne-clickLikely

All 497 MCP servers for Claude Code

Showing all 497 servers

Claude Code MCP FAQ

How do I add an MCP server to Claude Code?

Follow the setup guide on this page (paths and format checked against the official Claude Code docs). On HookMCP, open any server listing, open the Claude Code install tab when available, and copy the snippet — 234 of the 497 servers documented for Claude Code have a ready-made config.

What is the command to add an MCP server to Claude Code?

For a local server: claude mcp add <name> -- <command> [args], e.g. claude mcp add playwright -- npx -y @playwright/mcp@latest. For a hosted remote: claude mcp add --transport http <name> <url>, then run /mcp inside Claude Code to sign in. Add --scope user to enable it in every project. This page lists copy-paste commands for popular official remotes and local servers.

What are the best MCP servers for Claude Code?

By GitHub stars and recent activity among servers that mention Claude Code in their docs, headroom by headroomlabs-ai (★ 75.5k, updated today) leads, followed by Context7 and private-gpt. Pick based on the tools you need and whether you want local stdio or a hosted endpoint.

Where is the Claude Code MCP config file?

See the setup guide above — config locations differ by client (JSON for Cursor/Claude Desktop/VS Code/Windsurf/Cline, TOML for Codex, Plugins UI for ChatGPT web). Prefer the path your client's official docs or in-app Open config action show.

Do MCP servers for Claude Code need an API key?

271 of 497 servers documented for Claude Code may need keys or tokens. Pass them as environment variables in the client config, never in chat.

Other clients

Looking for an app integration instead? Browse integrations like Postgres, GitHub and Slack.