How to add the Reachd MCP server to Claude Code

Updated November 12, 2026

Claude Code can read Reachd straight from the terminal: a business’s AI visibility score and place this week, and the actions Reachd has open for it. Each action names the page to change and what that page is missing. In the repository that holds the site, Claude Code can then make the edit and show the diff in the same session.

Claude Code connects to Reachd in two ways: OAuth with a Reachd login, or a personal API key sent in a header. OAuth fits a person working in their own terminal. The key fits a remote machine, a script or a CI job, where nobody is around to sign in through a browser. Either way, setup is one claude mcp add command.

Before you add the MCP server to Claude Code

  • A Reachd account with at least one business. A free AI visibility check creates one in a few minutes.
  • For the key route, an API key. In the Reachd app open Settings with the gear in the top bar, choose API & MCP and click Create key. Reachd shows the key once, so copy it before leaving the page.

Add Reachd to Claude Code with claude mcp add

Run this in a terminal:

claude mcp add --transport http reachd https://api.reachd.ai/mcp

Without --transport http, Claude Code treats the address as a local program to start, and the server fails to connect. Then sign in:

  1. Start Claude Code and run /mcp.
  2. Select reachd and follow the sign-in prompt. A browser tab opens on the Reachd sign-in.
  3. Sign in with the email used in the Reachd app and approve access on the consent screen.
  4. Back in the terminal, /mcp shows reachd as connected.

The same sign-in also runs straight from the shell with claude mcp login reachd. Over SSH, claude mcp login reachd --no-browser prints the link instead of opening a browser and asks for the redirect address to be pasted back. Claude Code keeps the token and refreshes it on its own, and the agent then reads every business that login can open in Reachd.

Add Reachd to Claude Code with an API key

The key travels in the Authorization header with every request, so there is no sign-in step:

claude mcp add --transport http reachd https://api.reachd.ai/mcp \
  --header "Authorization: Bearer rk_your_key"

Put the key from Reachd in place of rk_your_key. The --header flag goes after the URL: it accepts several values, and placed before the name it takes the name and the URL as headers too.

The key reads the Reachd workspace it was created in, with its creator’s access, and stops working if that person leaves the workspace. Claude Code stores it as plain text in ~/.claude.json. If the key leaks, revoke it in Settings → API & MCP, then run claude mcp remove reachd and add the server again with a new key.

Add Reachd for every project or for a whole team

claude mcp add writes to one of three scopes, chosen with --scope:

ScopeLoads inStored in
local (default)The current project only~/.claude.json
userEvery project on this machine~/.claude.json
projectThe current project, for everyone who clones it.mcp.json in the project root

For one person who wants Reachd in every repository, --scope user is enough. A team working on the site’s repository can commit the server in .mcp.json and keep keys out of git:

{
  "mcpServers": {
    "reachd": {
      "type": "http",
      "url": "https://api.reachd.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${REACHD_API_KEY}"
      }
    }
  }
}

Each teammate sets REACHD_API_KEY to a key of their own, and Claude Code fills it in when the server loads. Drop the headers block and everyone signs in with OAuth instead. Claude Code asks each person to approve a project server the first time it loads.

Reachd already connected in claude.ai

When Reachd is added as a custom connector at claude.ai, Claude Code picks it up on its own, as long as it’s signed in with the same claude.ai account. The connector appears in /mcp as claude.ai Reachd and needs no command. It doesn’t load when Claude Code runs on an Anthropic API key or through a cloud provider. The Claude and Claude Desktop guide covers adding the connector.

Check that the Reachd MCP server works

claude mcp list

The reachd line should read ✔ Connected. Start a session and ask:

How is the AI visibility of my business this week?
What insights has Reachd found to get my business recommended first by ChatGPT?

Claude Code finds the business with list_businesses, then answers the first question from get_visibility_status, which returns the score, the main competitors and how often each AI engine recommends the business. For the second it calls get_action_items and lists the insights Reachd has open, each with the page to change and what that page is missing. With several businesses in the account, the question should name one. Ask next:

  • “Which competitors does AI recommend ahead of my business, and what does it quote about the leader?”
  • “Take the Reachd action for the pricing page and make that change in this repository.”

Reachd reads a changed page on its next run and closes the action once the page carries the change. The Reachd MCP server page shows what else Claude Code can ask Reachd.

Claude Code MCP errors and what they mean

! Needs authentication

The server was added without a key and the OAuth sign-in hasn’t happened yet, or its token expired. Run /mcp and sign in, or run claude mcp login reachd.

Server rejected the configured Authorization header (HTTP 401)

Reachd refused the key, and Claude Code doesn’t fall back to OAuth while an Authorization header is set. The header has to read Bearer, a space and the whole key, and the key must still be active in Settings → API & MCP. claude mcp get reachd prints the header as Claude Code sends it.

Failed to connect with ENOENT and posix_spawn

The server was added without --transport http, so Claude Code tried to start https://api.reachd.ai/mcp as a program. Run claude mcp remove reachd and add it again with the flag.

error: missing required argument 'name'

--header stood before the server name and took it as a header value. Move --header "Authorization: Bearer rk_your_key" to the end of the command, after the URL.

MCP server reachd already exists in local config

A server named reachd is already in that scope. Run claude mcp remove reachd first, which also clears its stored OAuth token, then add it again.

A warning about hidden whitespace in the Authorization header

The key was pasted with a space or a line break at the end, and Reachd refuses it with the 401 above. Remove the server and add it again with the key on one line.

⏸ Pending approval

The server comes from a project .mcp.json that hasn’t been approved on this machine. Start claude in that folder and approve it.

Claude Code answers without calling Reachd

Name Reachd in the request, for example “using Reachd, list the open actions for my business”.

Frequently Asked Questions

Where does Claude Code store MCP server config?

Servers added with the default local scope or with --scope user are stored in ~/.claude.json. Servers added with --scope project go into .mcp.json in the project root, which can be committed and shared. claude mcp get reachd shows where a server is defined and whether it connects.

How do I add an MCP server to Claude Code globally?

Add --scope user to claude mcp add. A server in the user scope loads in every project on the machine, while the default local scope loads only in the folder where the command was run.

How do I pass an Authorization header to a remote MCP server in Claude Code?

Put --header "Authorization: Bearer <token>" after the server URL in claude mcp add. In .mcp.json the same value goes in a headers object, and ${VAR} reads it from an environment variable so the file holds no secret.

Do claude.ai connectors work in Claude Code?

Yes, when Claude Code is signed in with a claude.ai subscription. Connectors added at claude.ai appear in /mcp with a claude.ai prefix and need no separate setup. They are not loaded when Claude Code runs on an Anthropic API key or a cloud provider.

Can Claude Code change my website based on Reachd data?

Yes, when Claude Code runs in the repository that holds the site. Each Reachd action names the page to change and what that page is missing, so Claude Code can open the file and make the edit. Reachd reads the page on its next run and closes the action once the page carries the change.

Does ChatGPT recommend your business?

Reachd asks ChatGPT, Google AI and other AI assistants real customer questions about the business, shows which competitors they recommend instead, and why. The analysis is free, no card needed, and the results land within a few minutes.

Free accountFull competitor analysisNo card needed

ChatGPTGoogle AIMeta AIGrokClaude