Essential MCP Tools for Claude Code Developers

Dan Greer · · 8 min read

Part of the MCP guide. Start with Best MCP Servers for Developers: Top Picks for 2026

Essential MCP tools for AI coding assistants in Claude Code development

A shared .mcp.json doesn't make an MCP server read-only. Before adding one, I want to know what it answers, how it authenticates, which projects can see it, and what Claude will load into context.

My shortlist is GitHub for issues and pull requests, Context7 for library documentation, Playwright for browser interaction, and Pharaoh (ours) for repository structure. Install the one that fits your next task. You don't need the whole list.

This guide sticks to Claude Code configuration. For a broader comparison, see MCP servers for every client.

Choose a scope before adding the server

Claude Code separates where a configuration applies from what the server can do. Its MCP documentation defines these scopes:

Scope Where it applies Where configuration lives
local Just you, in the current project ~/.claude.json
project The team, in the current project .mcp.json in the project root
user Just you, across projects ~/.claude.json

claude mcp add uses local scope by default. So for an experiment, I would start there, use project scope for a server the team has agreed to share, and choose user scope when the same integration belongs in every repository I open.

Project configurations prompt for approval in interactive sessions. Keep credentials out of committed JSON, review the executable or endpoint before accepting it, and check the provider's permissions separately, because scope only decides where the configuration applies.

GitHub: read issues and pull requests

GitHub's official MCP server provides repository search and issue and pull request tools. claude mcp add registers its remote endpoint in local scope:

claude mcp add --transport http --scope local github \
  https://api.githubcopilot.com/mcp/ \
  --header "Authorization: Bearer YOUR_GITHUB_PAT" \
  --header "X-MCP-Readonly: true"

Replace YOUR_GITHUB_PAT with your personal access token. Restrict the token to the repositories and permissions you need.

The read-only header disables write tools, so this example is for investigation. Ask Claude to read an issue, compare it with a related PR, and summarize the remaining work, then review the source links in its answer.

I would keep a personal GitHub connection local while testing it. And if the team shares the endpoint later, each person still needs their own credentials.

Context7: look up the library you're changing

Context7 supplies library documentation and code examples. claude mcp add uses this HTTP endpoint and API-key header:

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

Replace YOUR_API_KEY with your Context7 key. User scope makes sense if you want the same documentation lookup available across your projects.

Give Claude the package version from your project. Ask it to resolve the library before querying its docs.

Check the retrieved example against your installed version. Otherwise you can follow the documentation correctly and still make the wrong change.

Playwright: inspect the browser behavior

Microsoft's Playwright MCP server lets an agent interact with pages through accessibility snapshots. It also exposes browser navigation and screenshots.

claude mcp add --transport stdio --scope project playwright -- \
  npx -y @playwright/mcp@latest

claude mcp add configures a local stdio server. npx is the process Claude launches after --.

Project scope is useful when browser inspection belongs in the team's workflow. For a one-person trial, change it to --scope local.

Point it at your development app, ask it to reproduce one specific interaction, inspect what it reports, and keep the reproduced steps for an end-to-end test.

The README also suggests CLI plus skills for coding agents seeking more context efficiency. If that already fits your workflow, compare it before adding another server.

Pharaoh: inspect the repository's connections

I build Pharaoh. It is a hosted MCP server for TypeScript, JavaScript, Python, C and C++ repositories, with a graph of functions, files, modules, dependencies, endpoints and cron jobs. The broader category is covered in code graph MCP servers.

Install the GitHub App on the account or organization that owns the repository, then connect Claude Code. In a Claude Code terminal, Pharaoh's installer runs the registration for you:

npx @pharaoh-so/mcp

Follow the installer's GitHub sign-in steps. Each person signs in with GitHub. The Claude Code connection guide covers setup.

Each teammate runs the installer and signs in with their own GitHub account. Before trusting an answer, check the branch it describes, because the graph covers the default branch, refreshes after each push there while the repository is live, and excludes your uncommitted changes.

From the recorded search_functions query for formatPrice, here is the first result, captured at revision 54343aa6, in the public Pharaoh-so/cal.diy repository.

# Search Results: "formatPrice" (showing 1-8)

- const formatPrice = (price: number, currency: string | undefined, locale = "en") => ... [exported, complexity: 3]
  packages/lib/currencyConversions.ts:60-71 (lib)

The excerpt stops after the first match. And I'd open that location in my checkout before deciding whether it fits the change.

For caller relationships, get_blast_radius returns production callers and affected endpoints, with test-file callers excluded, and supports up to five hops, so the selected depth matters when you review the result. See how to read change impact for that workflow.

If you need the underlying model explained, start with how a code knowledge graph represents a repository.

Source code isn't stored by Pharaoh. Its graph stores metadata. The GitHub App reads authorized repositories and can write check results, but cannot change code.

Check the connection and the context it uses

claude mcp list and claude mcp get inspect the configuration after adding a server:

claude mcp list
claude mcp get github

Use /mcp inside Claude Code for connection status. A registered server still needs working authentication before its tools can help.

On supported setups, current Claude Code enables Tool Search by default. Tool names and server instructions load initially, tool schemas are fetched on demand unless a tool or server is configured to load upfront, and tool results still enter the conversation, so connecting a server has a context cost even before you count its answers.

Don't assign every server a fixed token budget. So inspect your own session with /context, compare the task with and without that server, and check how much material its answers return, because a result that looks helpful, on its own, may be more detail than you need.

Read what idle MCP tool definitions cost in context for more on that distinction.

Older advice about loading every schema upfront doesn't describe the current default. But configuration can change it. Setting ENABLE_TOOL_SEARCH=false loads definitions upfront.

Check the environment variable reference if your session behaves differently.

Keep the server that earns another use

Pick a task you already need to finish and evaluate one server against it:

  1. Add the server in the narrowest suitable scope.
  2. Check its permissions and connection status.
  3. Ask for one specific, verifiable result.
  4. Open the relevant issue, file, or documentation yourself.
  5. Keep the server only if the result was useful and repeatable.
  6. Remove it if it was noisy, over-permissioned, or not useful.

For example, after investigating a GitHub issue, compare Claude's summary with the issue and related pull request. If you cannot verify the answer from those sources, do not promote the configuration to the team.

claude mcp remove deletes the GitHub configuration:

claude mcp remove github

For project conventions and quality gates around AI-assisted work, my AI Codebase Boilerplate is a separate reference.

For repository structure, connect Pharaoh to your repository, ask about one existing helper, open its file, and decide whether the result is useful on your checkout.

Article Record

ReferencesPrimary sources used for this article
  1. Connect Claude Code to tools via MCP - Claude Code Docs
  2. GitHub MCP Server
  3. server-configuration.md
  4. GitHub - microsoft/playwright-mcp: Playwright MCP server ยท GitHub
  5. MCP Clients
  6. Playwright Documentation
  7. Explore the context window
  8. PostgreSQL: Documentation: 18: Chapter 35. The Information Schema
Update HistoryMeaningful revisions to this article
Added a Practical Example for Choosing MCP Tools
  • Added a practical example to help Claude Code developers decide which MCP server is worth using again.
Initial publication.

More in MCP

← Back to blog