How to connect the SearchAtlas MCP server to Claude Code.
Model Context Protocol (MCP) lets Claude Code call external tools directly. The SearchAtlas MCP server exposes 50+ tool groups with ~287 operations covering SEO, GBP, PPC, content, press releases, and more.
- Log in to SearchAtlas
- Go to Settings → API Keys
- Generate a new API key
- Copy the key — you'll need it in the next step
Add the SearchAtlas MCP server to your Claude Code settings.
Open ~/.claude/settings.json and add:
{
"mcpServers": {
"searchatlas": {
"type": "url",
"url": "https://mcp.searchatlas.com/sse",
"headers": {
"X-API-KEY": "<your-api-key>"
}
}
}
}Replace <your-api-key> with the key from Step 1.
claude mcp add searchatlas --type url \
--url "https://mcp.searchatlas.com/sse" \
--header "X-API-KEY: <your-api-key>"Open Claude Code and try:
/my-account
If the connection is working, you'll see your SearchAtlas account overview with all projects, businesses, and locations.
Your API key is missing or invalid. Double-check:
- The key is correctly pasted in settings.json (no extra spaces)
- The key hasn't been revoked in SearchAtlas settings
- The header name is exactly
X-API-KEY(case-sensitive)
The tool name may have changed. Run schema discovery:
- Call any tool with empty params
{}to see available operations - Check TOOL_REFERENCE.md for current tool names
- Verify you can reach
https://mcp.searchatlas.comfrom your network - Check if a firewall or VPN is blocking the connection
- Try restarting Claude Code
This is a server-side issue, not your fault. Wait a minute and retry. If it persists, check the SearchAtlas status page.
| Setting | Value |
|---|---|
| Protocol | JSON-RPC 2.0 |
| Transport | Server-Sent Events (SSE) |
| Auth | API key via X-API-KEY header |
| Endpoint | https://mcp.searchatlas.com/sse |
- Never commit your API key — use
.envfiles or environment variables - The
.gitignorein this repo already excludes.env - Each API key is scoped to your SearchAtlas account
- Revoke compromised keys immediately in SearchAtlas → Settings → API Keys