> ## Documentation Index
> Fetch the complete documentation index at: https://speedy-index.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# claude code add mcp server: command, scopes, examples

> The claude code add mcp server command: HTTP transport, scopes, /mcp Authenticate, claude mcp list, and npm stdio examples.

![claude code add mcp server: command, scopes, examples](https://raw.githubusercontent.com/uskotoivo81-netizen/social_posts/main/wave1911/en/mintlify_claude-code-add-mcp-server/claude-code-add-mcp-server-cover.png)

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](https://modelcontextprotocol.io/). Claude Code supports both remote HTTP servers and local stdio servers.

## `claude mcp add` syntax

The basic command is:

```bash theme={null}
claude mcp add <name> <url_or_command>
```

* **`<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:

```bash theme={null}
--scope user
```

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:

```text theme={null}
https://mcp.speedyindex.com/mcp
```

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:

```bash theme={null}
claude mcp add --transport http --scope user speedyindex https://mcp.speedyindex.com/mcp
```

Then, inside Claude Code, run:

```text theme={null}
/mcp
```

Select `speedyindex` and choose **Authenticate**. A browser window opens; sign in with your SpeedyIndex API key. After that, run:

```bash theme={null}
claude mcp list
```

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:

[How to connect SpeedyIndex MCP to Claude](https://www.youtube.com/embed/25wPhn3eaCM)

More details about the hosted connector and its tools are on the [SpeedyIndex connector reference](https://en.speedyindex.com/mcp/). 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.

```bash theme={null}
claude mcp add speedyindex -e SPEEDYINDEX_API_KEY=your-key -- npx -y speedyindex-mcp
```

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:

```bash theme={null}
claude mcp add dataforseo -e DATAFORSEO_LOGIN=your_api_login -e DATAFORSEO_PASSWORD=your_api_password -- npx -y dataforseo-mcp-server
```

## 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.](https://raw.githubusercontent.com/uskotoivo81-netizen/social_posts/main/wave1911/en/mintlify_claude-code-add-mcp-server/claude-code-add-mcp-server-infographic-1.png)

| Task in Claude Code | MCP server to use | What you get |
| - | - | - |
| Bulk index check across Google, Yandex, Bing | SpeedyIndex MCP | Up to 10,000 URLs per task; lists indexed / not indexed URLs |
| Indexing submission to Google or Yandex | SpeedyIndex MCP | Up to 10,000 URLs per task; Google tasks are pay-per-indexed; Google drip feed 2–30 days |
| Live backlink check of your own placements | SpeedyIndex MCP | Opens donor pages you provide; HTTP status, anchor text, nofollow, Moz Domain Authority, spam score |
| Backlink research from a vendor index | Ahrefs MCP, Semrush MCP, SE Ranking MCP, DataForSEO MCP, Moz API MCP | Backlink data from each vendor’s index |
| Keyword research | Ahrefs MCP, Semrush MCP, SE Ranking MCP, Keyword.com MCP | Keyword data from the vendor |
| Rank tracking | SpeedyIndex MCP, Ahrefs MCP, Semrush MCP, SE Ranking MCP, Keyword.com MCP | Positions and changes; SpeedyIndex shows AI Overview presence and citation for your site |
| AI visibility | Ahrefs MCP, SE Ranking MCP, Keyword.com MCP | Ahrefs Brand Radar; SE Ranking SE Visible; Keyword.com covers ChatGPT, Perplexity, Gemini, AI Overviews |
| Site audit | Ahrefs MCP, Semrush MCP, SE Ranking MCP, Screaming Frog MCP | Crawl, technical audit, on-page data |
| Google Search Console data | Community projects only — Google publishes no official Search Console MCP | URL Inspection one URL at a time, sitemaps, search performance |

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.](https://raw.githubusercontent.com/uskotoivo81-netizen/social_posts/main/wave1911/en/mintlify_claude-code-add-mcp-server/claude-code-add-mcp-server-infographic-2.png)

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](https://en.speedyindex.com/api.php) 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](https://t.me/SpeedyIndexOfficial) · Bot: [https://t.me/speedyindexbot](https://t.me/speedyindexbot) · X: [https://x.com/speedyindexbot](https://x.com/speedyindexbot) · Facebook: [https://facebook.com/speedyindexbot](https://facebook.com/speedyindexbot) · YouTube: [https://youtube.com/@speedyindex\_com](https://youtube.com/@speedyindex_com)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.