Skip to main content
claude code add mcp server: command, scopes, examples People often search for “claude code add mcp server,” but the actual command is claude mcp add. This guide explains the syntax, the --transport http option, scopes (local, project, user), how to authenticate with /mcp, and how to verify the connection with claude mcp list. It also shows how to add the hosted SpeedyIndex MCP server and the local npm-based stdio variant. MCP (Model Context Protocol) is an open standard introduced by Anthropic in November 2024. The specification is available at modelcontextprotocol.io. Claude Code supports both remote HTTP servers and local stdio servers.

claude mcp add syntax

The basic command is:
  • <name> — a short identifier you use inside Claude Code, for example speedyindex.
  • <url_or_command> — for HTTP servers, a full HTTPS URL; for local servers, an npx command or a path to a script.
To add an HTTP server, specify --transport http and, optionally, a scope. For a local stdio server, use -- followed by the run command and environment variables.

Scopes: local, project, user

Claude Code accepts three scope values: local, project, and user. For a server that should be available in all your projects, use:
This is the option to choose when you want the server connected everywhere on the machine, not only in one project.

Add a hosted HTTP server: SpeedyIndex example

The SpeedyIndex MCP server is available at:
It uses Streamable HTTP and OAuth sign-in: you paste the SpeedyIndex API key on the SpeedyIndex sign-in page, not into the chat. The key itself stays encrypted inside a token. To add this server to Claude Code for all projects, run:
Then, inside Claude Code, run:
Select speedyindex and choose Authenticate. A browser window opens; sign in with your SpeedyIndex API key. After that, run:
If the server appears as connected, you can test it with the prompt: “What is my SpeedyIndex balance?” A response with tokens and credits means the connection works. For a visual walkthrough of the SpeedyIndex sign-in, see the short video:
More details about the hosted connector and its tools are on the SpeedyIndex connector reference. The connector itself is free; read-only tools are free, and paid tasks spend SpeedyIndex tokens.

Add a local stdio server via npm

The local npm package speedyindex-mcp provides 14 tools and runs on your machine with Node.js 18+. You store the SpeedyIndex API key in an environment variable.
Replace your-key with your actual API key from the SpeedyIndex account or @speedyindexbot settings. No URL is needed because the server starts locally and communicates over standard input/output. The same approach works for other local servers, for example DataForSEO’s npm package:

Other SEO MCP servers — task overview

When you add multiple MCP servers to Claude Code, each one exposes different tools. The table below lists typical SEO tasks and which server covers them. Data for third-party servers was checked against official vendor documentation on 19 November 2026, except Moz: for Moz, use the SpeedyIndex hub comparison table (November 2026). A quick reference for choosing an MCP server by SEO task. Bulk index checks and indexing are not listed in the vendor documentation for Ahrefs, Semrush, SE Ranking, and Keyword.com. Indexing submission is not listed for DataForSEO. Index checks and indexing are not listed for Screaming Frog. Rank tracking and indexing are not listed for Moz.

How to use SpeedyIndex in Claude Code

Once SpeedyIndex is connected, you can ask Claude Code to run SEO tasks. The hosted connector exposes 22 tools: 15 only read data and are free, 7 change the account, and 5 of those spend tokens. Claude asks for approval before tool calls; you can set trusted tools to Always allow. SpeedyIndex’s 7 account-changing tools — including the 5 that spend tokens — always ask unless set to Always allow. The SpeedyIndex MCP server returns indexed URL reports after Claude confirms tool calls. Try these prompts:
“What is my SpeedyIndex balance?” — read-only, free.
“Show the status and report of my latest indexing task.” — read-only, free.
“Create a Google indexing task for 500 URLs with a 10-day drip feed.” — spends tokens; Claude will ask for confirmation.
“Check whether these donor pages still link to example.com: <list>” — spends tokens; Claude will ask for confirmation.
“Create a Rank Tracker project for the keyword ‘seo tools’ in the US and run a check.” — project creation is free; running the check costs tokens and shows the cost in advance.
The SpeedyIndex MCP server never deletes projects or tasks, never pays, and never creates invoices. The key is stored only inside an encrypted token; access tokens live for 1 hour and sign-in renews up to 90 days. Changing the API key in the SpeedyIndex account revokes all sign-ins. Claude can access only what you permitted the server to access during sign-in. For programmatic use outside Claude Code, the SpeedyIndex API documentation describes endpoints for index checking and indexing tasks.

Troubleshooting

If claude mcp list does not show the server as connected:
  1. Check the scope — run claude mcp list without arguments, and if you used --scope user, confirm the server is available in all projects.
  2. Re-run Authenticate — inside Claude Code use /mcp, select the server, and click Authenticate again.
  3. Verify the API key — in the SpeedyIndex account, copy the key again and re-authenticate.
  4. Remove and re-add the server — remove the server from Claude Code, then repeat the claude mcp add command in the same scope.
  5. For local stdio servers — make sure Node.js 18+ is installed and the environment variable is set correctly.
  6. For Team/Enterprise — ask the workspace owner to add the connector in organization settings if required.
A plausible answer without an actual tool call does not prove the connection. Always expand the tool call in the Claude Code interface to see which server responded.

FAQ

What is the difference between claude mcp add and claude code add mcp server?
claude mcp add is the real command. The phrase “claude code add mcp server” is a common way people describe the task, but the CLI uses claude mcp add.
How do I remove an MCP server from Claude Code?
Remove the server from the scope where it was added, then add it again with claude mcp add if you need it again.
What does --scope user do?
It makes the MCP server available in all Claude Code projects on the machine.
Can I add an MCP server without a public URL?
Yes. Local servers run via stdio. Use claude mcp add <name> -- <command> with npx or a local script, and pass credentials through environment variables.
Claude is a trademark of Anthropic. SpeedyIndex is an independent connector. Telegram: https://t.me/SpeedyIndexOfficial · Bot: https://t.me/speedyindexbot · X: https://x.com/speedyindexbot · Facebook: https://facebook.com/speedyindexbot · YouTube: https://youtube.com/@speedyindex_com