🌐
Claude
code.claude.com › docs › en › mcp
Connect Claude Code to tools via MCP - Claude Code Docs
Learn how to connect Claude Code to your tools with the Model Context Protocol.
🌐
Reddit
reddit.com › r/claudeai › pro tip - if you need claude to access a reference (documentation, etc.) more than once, have claude set up a local mcp server for it.
r/ClaudeAI on Reddit: Pro Tip - If you need Claude to access a reference (documentation, etc.) more than once, have Claude set up a local MCP server for it.
July 2, 2025 -

Honestly, title is the extent of the tip. It's not sexy or flashy, and I'm not here to push some MCP du jour or personal project. This is just a lesson I've learned multiple times now in my own use of Claude Code that I think is worth sharing.

If you're giving Claude a reference to use, and if it's conceivable that Claude will need to access that reference more than once, then spend 10 minutes and have Claude set up and optimize a local MCP server of that reference for Claude to use. Literally, just prompt Claude with, "Set up and optimize a local MCP server for X documentation that can be found at URL. Add the server information to the Claude config file at [filepath] and add instructions for using the server to [filepath]/CLAUDE.md"

That's it. That 10 minutes will pay dividends in tokens and time - even in the short term.

I've tried a number of web scraping MCP servers and the various "popular" MCP server projects that tend to pop up in this sub, and nothing really compares. Especially for complex searches or investigations, Claude - for lack of a better word - seems to get "bored" of looking/parsing/etc. if it takes too long and reverts to inferences. And inferences mean more time spent debugging.

But when there's a local MCP server running with that stuff all prepped and ready, Claude just zips through it all and finds what it needs significantly faster, far more accurately, with fewer distractions, and with seemingly more willingness to verify that it found the right thing.

Hope this helps!

Discussions

Setting Up MCP Servers in Claude Code: A Tech Ritual for the Quietly Desperate
Took me about 30 min to figure this out, but Claude stores the GLOBAL MCP servers in a top level `mcpServers` property inside the `/Users/USERNAME/.claude.json`. I have no idea why they don't mention this in their docs, but I hope people find it when looking for this. More on reddit.com
🌐 r/ClaudeAI
66
153
March 18, 2025
Claude Code Now Supports Remote MCP Servers, No Local Setup Required!
How is this a game changer? We do "claude mcp add --transport sse name url" instead of "claude mcp add name mcp-proxy url". I see the convenience, but how is this a game changer? More on reddit.com
🌐 r/ClaudeAI
44
102
June 18, 2025
How do you setup mcp with Claude Code
you can also import from your claude desktop json file (if you have it and you should use mcp in the chat with things like github and have it do Q&A on what you want to do and make PRDs to preserve messages you can send in claude code) by typing "claude mcp add-from-claude-desktop" More on reddit.com
🌐 r/ClaudeAI
24
16
April 22, 2025
How do I add an MCP server to Claude Code?
I must say the way Claude configuration related files are scattered around is a bit messy :/ There should be a centralised way of viewing all of the hierarchical configurations. More on reddit.com
🌐 r/ClaudeAI
11
3
May 28, 2025
🌐
Scott Spence
scottspence.com › home › posts › configuring mcp tools in claude code - the better way
Configuring MCP Tools in Claude Code - The Better Way - Scott Spence
March 30, 2025 - Also see the guide on optimising MCP server context usage to get the most out of your setup. Claude Code’s default approach for configuring MCP tools is through a CLI wizard (claude mcp add).
🌐
GitHub
github.com › upstash › context7
GitHub - upstash/context7: Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
See the respective MCP configuration sections above for your agent (e.g., OpenAI Codex, Claude Code, Cursor). See the Emdash repository for more information. Context7 MCP provides the following tools that LLMs can use: resolve-library-id: Resolves a general library name into a Context7-compatible library ID. libraryName (required): The name of the library to search for · get-library-docs: Fetches documentation for a library using a Context7-compatible library ID.
Starred by 39.8K users
Forked by 2K users
Languages   TypeScript 76.3% | JavaScript 22.7% | Dockerfile 1.0%
🌐
MCPcat
mcpcat.io › guides › ask-claude-code-to-read-documentation
Make Claude Code Read Documentation First - Better Code Quality | MCPcat
You can use the @ syntax to reference local documentation files, paste URLs directly for external docs, or leverage powerful MCP servers like Context7 which automatically fetches version-specific documentation.
🌐
Reddit
reddit.com › r/claudeai › setting up mcp servers in claude code: a tech ritual for the quietly desperate
r/ClaudeAI on Reddit: Setting Up MCP Servers in Claude Code: A Tech Ritual for the Quietly Desperate
March 18, 2025 -

After much trial and error I finally got functioning MCP servers in Claude Code albeit with slightly less will to live.

What are MCP Servers?

They're digital prosthetics that give Claude arms and legs to crawl around your computer with. Less poetically: extensions that let it do stuff beyond generating code you'll never actually use.

The Tools (★ = Requires API Key)

  • Sequential Thinking: Helps Claude solve problems step‑by‑step

  • Filesystem: Lets Claude rummage through the folders you allow

  • Playwright: Modern multi‑browser automation

  • Puppeteer: Chrome‑only (deprecated)

  • Web Fetching: Grabs content from websites

  • Browser Tools (Chrome DevTools Integration): Capture and analyze browser data through a Chrome extension

  • ★ Brave Search: Web searching capabilities

  • ★ Firecrawl: Advanced web scraping


🏃‍♂️ One‑Command Installation (The "I Don't Have Time For This" Version)

Copy everything in the block, paste into a macOS/Linux terminal, and hit ↵.

bash <<'EOF'
echo "🔧  Installing Claude MCP servers (latest versions)…"

# Sequential Thinking — Claude's chain‑of‑thought engine
claude mcp add sequential-thinking -s user \
  -- npx -y @modelcontextprotocol/server-sequential-thinking || true

# Filesystem — give Claude access to local folders
claude mcp add filesystem -s user \
  -- npx -y @modelcontextprotocol/server-filesystem \
     ~/Documents ~/Desktop ~/Downloads ~/Projects || true

# Playwright — modern multi‑browser automation
claude mcp add playwright -s user \
  -- npx -y @playwright/mcp-server || true

# Puppeteer — Chrome‑only (deprecated but still works)
claude mcp add puppeteer -s user \
  -- npx -y @modelcontextprotocol/server-puppeteer || true

# Fetch — simple HTTP GET/POST
claude mcp add fetch -s user \
  -- npx -y @kazuph/mcp-fetch || true

# Browser‑Tools — DevTools logs, screenshots, etc.
claude mcp add browser-tools -s user \
  -- npx -y @agentdeskai/browser-tools-mcp || true

echo "--------------------------------------------------"
echo "✅  MCP registration finished."
echo ""
echo "🔴  To enable Browser‑Tools, run this in a *second* terminal and leave it open:"
echo "    npx -y @agentdeskai/browser-tools-server"
echo "--------------------------------------------------"
claude mcp list
EOF

Save this as install-mcp-servers.sh, make it executable (chmod +x install-mcp-servers.sh), and run it while questioning your life choices.

Windows users: you'll need a .bat file instead. Good luck with that!

# Essential MCP Servers (Individual Installation)

Sequential Thinking

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

Lets Claude actually think through problems instead of making things up with confidence.

Filesystem Access (update paths as desired)

claude mcp add filesystem -s user \
  -- npx -y @modelcontextprotocol/server-filesystem \
     ~/Documents ~/Desktop ~/Downloads ~/Projects

Give Claude access to your files.

Playwright (multi‑browser automation)

claude mcp add playwright -s user \
  -- npx -y @playwright/mcp

Puppeteer (deprecated but still works)

claude mcp add puppeteer -s user \
  -- npx -y @modelcontextprotocol/server-puppeteer

Watch in existential dread as your browser operates itself.

Web Fetching

claude mcp add fetch -s user \
  -- npx -y @kazuph/mcp-fetch

Grabs content from websites.

Browser Tools

Gives Claude access to your browser's console logs, network traffic, and the ability to run performance/accessibility audits.

Step 1: Install the Chrome extension – download from the releases page and load it via Chrome’s extension manager. Step 2: Start the middleware server (keep this terminal open)

npx -y @agentdeskai/[email protected]

Step 3: Add the MCP server to Claude Code (in a separate terminal)

claude mcp add browser-tools -s user \
  -- npx -y @agentdeskai/[email protected]

Step 4: Open Chrome DevTools (F12) and find the BrowserTools tab.

★ Brave Search (Requires API Key)

# Replace YOUR_API_KEY_HERE with your actual Brave Search API key
claude mcp add brave-search -s user \
  -- env BRAVE_API_KEY=YOUR_API_KEY_HERE \
     npx -y @modelcontextprotocol/server-brave-search

Let Claude search the web and bring back results.

★ Firecrawl (Advanced Web Scraping — Requires API Key)

# Replace fc-YOUR_API_KEY with your actual Firecrawl API key
claude mcp add firecrawl -s user \
  -- env FIRECRAWL_API_KEY=fc-YOUR_API_KEY \
     npx -y firecrawl-mcp

For when you need to scrape websites with industrial‑grade efficiency and minimal respect for robots.txt.


# The -s user vs -s local Thing

  • -s user: Makes these tools available globally

  • -s local: Only works in your current directory

# Troubleshooting

  • Windows issues: prepend cmd /c before npx commands

  • Timeout errors: MCP_TIMEOUT=10000 claude

  • Connection problems: Type /mcp in Claude Code to see which servers are napping

  • Filesystem access: Double‑check your paths

That's it. Save yourself the four hours of my life I'll never get back.

PS – Yes, this was written mostly with the help of Claude.

EDIT: Apparently there were some stupid Reddit formatting issues. It converted the "@" to "u/", I'm such a noob, sorry! I updated the script to include playwright which is a pretty good alternative to puppeteer. Thanks all for pointing out my numerous flaws.

🌐
Model Context Protocol
modelcontextprotocol.io
What is the Model Context Protocol (MCP)? - Model Context ...
Just as USB-C provides a standardized way to connect electronic devices, MCP provides a standardized way to connect AI applications to external systems. Agents can access your Google Calendar and Notion, acting as a more personalized AI assistant. Claude Code can generate an entire web app using a Figma design.
🌐
Anthropic
anthropic.com › engineering › claude-code-best-practices
Claude Code: Best practices for agentic coding
In a checked-in .mcp.json file (available to anyone working in your codebase). For example, you can add Puppeteer and Sentry servers to your .mcp.json, so that every engineer working on your repo can use these out of the box. When working with MCP, it can also be helpful to launch Claude with the --mcp-debug flag to help identify configuration issues.
Find elsewhere
🌐
Liblab
liblab.com › model context protocol (mcp)
Connect Claude to an MCP Server | Generate SDKs for your API with liblab
3 weeks ago - Learn how to connect Claude to a local or hosted MCP server, enabling you to access your API with natural language.
🌐
QuantConnect
quantconnect.com › docs › v2 › ai-assistance › mcp-server › claude-code
Claude Code - MCP Server
$ claude --mcp-config C:/Users/derek/quantconnect_mcp_config.json · You can even use the terminal in Visual Studio Code. To open it, click View > Terminal from the main menu. To keep the Docker image up-to-date, in a terminal, pull the latest MCP server from Docker Hub.
🌐
Anthropic
anthropic.com › news › claude-code-remote-mcp
Remote MCP support in Claude Code
June 18, 2025 - Claude Code can access both tools and resources exposed by MCP servers, giving it the ability to pull context from your third-party services—such as dev tools, project management systems, and knowledge bases—and take actions within those ...
🌐
MCP
docs.mcp.run › mcp clients › claude code
Claude Code | 🤖
It provides a command-line interface for interacting with Claude and supports MCP (Model Context Protocol) servers. First, install Claude Code if you haven't already:
🌐
LlamaIndex
llamaindex.ai › blog › adding-document-understanding-to-claude-code
Adding Document Understanding to Claude Code
September 22, 2025 - How: You need a service to parse, chunk, and embed your documents (PRDs, financial reports, claims) into a storage system (vector db, structured database, graph database), and expose it as a set of MCP tools. During code generation, Claude Code can choose to query the MCP server to give it rich context about your business processes, policies, and data structures.
🌐
Claude MCP
claudemcp.com › servers › context7
Context7 MCP - Up-to-date Docs For Any Prompt - Claude MCP Servers
Context7 MCP is a server that provides up-to-date documentation for LLMs and AI code editors. - Claude MCP Servers - Claude MCP Community
🌐
GitHub
github.com › auchenberg › claude-code-mcp
GitHub - auchenberg/claude-code-mcp: claude-code-mcp
It provides a set of tools and ... Model Context Protocol (MCP) is a standardized interface for AI models that enables consistent interaction patterns across different models and providers....
Starred by 177 users
Forked by 35 users
Languages   JavaScript 73.9% | TypeScript 26.1%