Best MCP servers for Claude Code: open-source picks (2026)
Our pick
Start with Playwright MCP if you want Claude Code to open and drive a real browser. One line adds it (claude mcp add playwright npx @playwright/mcp@latest), it needs Node.js 20 or newer, and it is Apache-2.0 licensed. It works from the page's accessibility snapshots, so no vision model is needed. The table shows how the other servers compare.
Best for
- Testing and driving a web app in a browser
microsoft/playwright-mcpBrowser automation through Playwright, using accessibility snapshots instead of screenshots. Add it with claude mcp add playwright npx @playwright/mcp@latest.
- Working with GitHub issues, pull requests and code
github/github-mcp-serverGitHub's own MCP server reads repositories and code files and manages issues and pull requests. Its Claude Code command runs it in Docker with a GitHub personal access token; it can also sign in with OAuth.
- Querying your databases
googleapis/mcp-toolboxAn open-source MCP server that connects agents to databases through prebuilt generic tools. Claude Code is one of the clients it lists. It runs with npx, for example npx -y @toolbox-sdk/server --prebuilt=postgres --stdio, or from your own tools.yaml file.
- Reading library docs that match your versions
arabold/docs-mcp-serverIndexes documentation from websites, GitHub repositories, npm, PyPI and local folders, stores each library version separately, and keeps its index in a local SQLite database.
- Searching and scraping the web
firecrawl/firecrawl-mcp-serverSearches the web and scrapes any URL into clean Markdown, and parses PDFs and documents. Install with npm install -g firecrawl-mcp.
- Terminal control and file edits
wonderwhy-er/DesktopCommanderMCPAdds terminal control, file system search and diff-based file editing. For Claude Code: claude mcp add --scope user desktop-commander -- npx -y @wonderwhy-er/desktop-commander@latest.
The repos compared
Checked on Dec 2, 2026: the oldest day any repo in the table was last read from GitHub.
| Repo | Stars | Last commit | Latest release | Licence | Needs |
|---|---|---|---|---|---|
| microsoft / playwright-mcp An MCP server for browser automation with Playwright, based on accessibility snapshots. | 40,399 GitHub (opens in new tab) | Active Dec 1, 2026 | v0.0.86, Nov 18, 2026 | Apache-2.0 | Node.js 20 or newer; VS Code, Cursor, Windsurf, Claude Desktop, Goose, Grok, Junie or… |
| github / github-mcp-server GitHub's official MCP server for repositories, issues, pull requests and code. | 34,905 GitHub (opens in new tab) | Active Dec 1, 2026 | v2.3.0, Nov 24, 2026 | MIT | |
| googleapis / mcp-toolbox An open-source MCP server that connects AI agents to databases. | 17,029 GitHub (opens in new tab) | Active Dec 2, 2026 | v1.18.0, Nov 20, 2026 | Apache-2.0 | |
| firecrawl / firecrawl-mcp-server An MCP server that searches the web and scrapes pages into Markdown. | 7,971 GitHub (opens in new tab) | Active Dec 1, 2026 | v3.36.1, Nov 3, 2026 | MIT | |
| arabold / docs-mcp-server A local MCP server that indexes library documentation by version for your assistant. | 1,930 GitHub (opens in new tab) | Active Nov 22, 2026 | v3.5.0, Nov 22, 2026 | MIT | |
| wonderwhy-er / DesktopCommanderMCP An MCP server for terminal control, file system search and diff-based file editing. | 10,498 GitHub (opens in new tab) | Active Nov 26, 2026 | v0.3.4, Nov 18, 2026 | MIT | |
| awslabs / mcp A suite of open-source MCP servers for AWS. | 9,978 GitHub (opens in new tab) | Active Dec 1, 2026 | 2026.11.20261119223057, Nov 20, 2026 | Apache-2.0 | |
| DeusData / codebase-memory-mcp A local MCP server that builds a graph of your code, docs and infrastructure. | 49,468 GitHub (opens in new tab) | Active Nov 29, 2026 | v0.12.1, Oct 16, 2026 | MIT | |
| apify / apify-mcp-server An MCP server that runs scrapers and automation tools from the Apify Store. | 18,839 GitHub (opens in new tab) | Active Dec 1, 2026 | v0.23.0, Nov 24, 2026 | MIT | |
| oraios / serena An MCP toolkit that gives coding agents symbol-level code search, editing and refactoring. | 31,881 GitHub (opens in new tab) | Active Nov 27, 2026 | v2.1.0, Oct 19, 2026 | Custom |
Install commands
Copied from each repo. Read its setup steps before you run anything.
googleapis/mcp-toolbox
npx @toolbox-sdk/server --config tools.yaml Questions
How do I add an MCP server to Claude Code?
Run claude mcp add with a name for the server and the command that starts it. For a local server you can put -- before that command, so Claude Code passes the server's own flags through untouched. Playwright MCP, GitHub MCP Server and Desktop Commander each show their exact command for Claude Code in their docs, and the Apify MCP server has a configurator that generates it.
Are these MCP servers free?
All of them are open source. Some connect to a service that has its own account or key: GitHub MCP Server signs in to your GitHub account with OAuth or a personal access token, the Apify server uses an Apify account, and the Firecrawl server uses a Firecrawl API key unless you point it at a self-hosted Firecrawl.
Which MCP servers help with my code?
codebase-memory-mcp builds a persistent graph of your code, docs and infrastructure that the agent can query. docs-mcp-server gives the agent version-matched library documentation. GitHub MCP Server handles issues, pull requests and code on GitHub.
Do these servers only work with Claude Code?
No. They follow the Model Context Protocol, so other clients can use them. Playwright MCP lists clients such as VS Code, Cursor, Windsurf, Claude Desktop and Goose, and MCP Toolbox lists Gemini CLI, Claude Code and Codex.
