Integrations

SEMrush MCP — Connect SEMrush to Claude, ChatGPT, and Other AI Assistants

·13 min read

If you're searching for "SEMrush MCP", you're asking one of two things: does SEMrush have an MCP server? or how do I connect SEMrush to an AI assistant via the Model Context Protocol?

⚠️ No official SEMrush MCP server yet. Community options exist — details below.

What Is MCP?

Model Context Protocol (MCP) is an open standard developed by Anthropic that lets AI assistants — like Claude — connect to external tools, APIs, and data sources in a standardised way.

Before MCP, every AI integration required bespoke tooling: custom prompts, custom API wrappers, and custom glue code to pass context back and forth. MCP replaces that with a common interface: the AI asks the MCP server for data or actions, the server returns structured results, and the AI uses them to answer your question or complete a task.

In plain terms: MCP is how you give an AI assistant live access to SEMrush — not just knowledge about it, but real, up-to-date data from your account.

What a SEMrush MCP Integration Does

Once SEMrush is connected via MCP, your AI assistant can:

  • Read live data — pull records, metrics, activity, and status directly from SEMrush
  • Take actions — create, update, or log records based on your instructions
  • Cross-reference context — combine SEMrush data with other connected tools mid-conversation

The key difference from a standard chatbot: the assistant is not working from training data or memory. It is reading your actual SEMrush instance, in real time.

Practical SEMrush MCP Use Cases

Keyword and ranking lookups mid-workflow

Ask the assistant to pull keyword rankings, search volume, or site audit issues from SEMrush while you're planning content or reviewing a site — no tab-switching.

Competitor analysis on demand

Have the assistant query SEMrush for competitor data and return a structured comparison without you manually pulling reports.

Content brief generation with live data

Pull SERP data from SEMrush via MCP and have the assistant generate a content brief — structure, headings, target keywords — in one step.

Semrush MCP: The Server Exists, and Most Guides Say It Doesn't

Start with the correction, because this page used to carry the error itself. Semrush ships a first-party MCP server. It is not a community repo, not a wrapper, and not "coming soon." Semrush documents it at developer.semrush.com under "Semrush MCP overview," and that page was last updated November 2, 2026.

Most "Semrush MCP" content still opens with "no official Semrush MCP server yet" — usually because it was written before the server shipped and never revisited. Others go the other way and describe whatever community server they found on GitHub as the Semrush MCP. Both miss the same thing: there is an official endpoint, it uses streamable HTTP, it authenticates with OAuth 2.1 by default, and it draws down your existing API units.

Route Who runs it Endpoint Auth
Official Semrush MCP server Semrush https://mcp.semrush.com/v2/mcp OAuth 2.1, or API key header
Community server (self-hosted) Third party local stdio process your own API key
Hand-built REST proxy you your server whatever you wrote
Cody Cody managed connected in the dashboard

The rest of this page is about the first row, because that is the one people are actually trying to connect and the one most guides describe incorrectly.

Semrush's official MCP endpoint and authentication documentation

Semrush's own MCP overview: the endpoint is https://mcp.semrush.com/v2/mcp, streamable HTTP only, with OAuth as the default and an API key header as the fallback.

The endpoint details that break copy-pasted configs

Four specifics from Semrush's setup docs, each of which is a real failure mode:

1. Transport is streamable HTTP only. Not SSE, not stdio. A config written for an older SSE server will not connect, and the error is a generic connection failure rather than "wrong transport."

2. OAuth is the default, and it is OAuth 2.1. Semrush's wording is that "when Semrush MCP is connected, the AI agent automatically registers with the OAuth system and redirects you to the Semrush login page to authenticate." No client ID, no client secret, no headers to add — but it also means an unattended agent cannot complete the flow on its own, because the grant is browser-bound to a human login.

3. The API key header format is unusual. If your client does not support OAuth, Semrush takes the key in an Authorization header, but the scheme is Apikey, not Bearer:

Authorization: Apikey YOUR_API_KEY

A client that only knows how to send Bearer will authenticate against nothing. This is the single most common misconfiguration when wiring the server into a homegrown runtime.

4. The config key differs by client. Semrush documents each one separately, and they are genuinely different:

Client Config shape Key
Cursor {"mcpServers": {"semrush": {"url": ...}}} url
VS Code .vscode/mcp.json, {"servers": {"semrush": {"url": ..., "type": "http"}}} servers + type
Antigravity 2.0 / CLI ~/.gemini/config/mcp_config.json serverUrl
Claude Code CLI command, not a file claude mcp add semrush ... -t http

Copy a Cursor block into VS Code and the server silently never appears, because VS Code reads servers, not mcpServers. Copy it into Antigravity and it fails on url versus serverUrl. This three-way split is why the same "working config" from a blog post fails in half the clients it is pasted into.

For a client-side setup with Claude Code, Semrush gives the one-liner directly:

claude mcp add semrush https://mcp.semrush.com/v2/mcp -t http

Then /mcp in Claude Code, select Semrush, and authenticate.

What the server actually exposes

This is where the docs repay reading. Semrush MCP does not expose a hand-picked list of reports. It exposes a discovery layer and then an executor:

Tool Purpose
domain_overview Discovery: available domain-level reports
organic_research Discovery: organic search reports
keyword_research Discovery: keyword reports
competitors_research Discovery: competitor reports
backlinks_research Discovery: backlink reports
audience_research Discovery: audience reports
traffic_overview Discovery: traffic reports
paid_search_research Discovery: paid search reports
shopping_research Discovery: shopping reports
position_tracking Discovery: position tracking projects
site_audit Discovery: site audit reports
projects Discovery: project data
get_report_schema Look up the exact parameters for one report
execute_report Run it

The get_report_schema then execute_report pair is the important design decision. The assistant looks up report parameters instead of guessing them, which is why the tool count is small while the surface is large. It is also why "the wrong arguments" tends to produce a schema lookup failure rather than a silently wrong report.

Semrush's own troubleshooting section lists "Missing tools" as a distinct category, with three causes: authentication did not complete, your subscription does not cover that API, or there is an error in your agent's console. If the discovery tools are absent entirely, that is a connection problem, not a permissions problem — different diagnosis, different fix.

Data access is bounded by your subscription, not by the server

The server is not the gate. Your plan is. Semrush states that MCP access is included with:

  • SEO data (Standard API): Semrush One Starter, Semrush One Pro+, SEO Classic Pro, or SEO Classic Guru — these include 50,000 API units that refresh on your subscription renewal date.
  • SEO data with a bigger allowance: SEO Classic Business or Semrush One Advanced, plus an API units package (2M, 5M, 10M, or 20M units).
  • Traffic and market data (Trends API): any Trends API plan (Basic or Premium), where MCP access is already included.

Semrush MCP access requirements by subscription tier

Access is bundled with eligible API subscriptions, not sold as a separate MCP product — and the unit allowance is the real ceiling.

Each MCP request consumes the same API units as a direct API call, and there are no additional MCP fees. Two consequences follow immediately:

  • The unit allowance is the real rate limit. An agent that "just checks 50 keywords" repeatedly will drain the 50,000 units faster than the UI would suggest, because agents tend to re-run the same report rather than cache it.
  • Trends API data is unavailable without a Trends subscription, and that is a permissions error, not a bug. Semrush names this explicitly in troubleshooting, presumably because it is the #1 confused support case.

The part the quickstarts omit: unattended agents

Semrush's own wording is that OAuth redirects you to the Semrush login page. That is correct and secure, and it also means a scheduled nightly agent cannot authorize itself through the default path. Your options, in order of preference:

  1. API key header for the unattended runtime (Authorization: Apikey ...), scoped to the account whose units you are willing to spend.
  2. A human-authorised OAuth session for interactive use, kept separate from the unattended agent.
  3. Enterprise-managed authorization where it fits: Semrush supports EMA in Claude for corporate accounts (the corporate account owner configures a trusted issuer — your IdP via Cross App Access, or Claude as the issuer). Semrush is clear that "EMA doesn't change permissions or limits," so it is a convenience layer, not an elevation.

If you are on a shared account, also note that EMA trusts exactly one issuer, and changing it makes "sign-ins from the old issuer stop working." That is a switch with a blast radius, not a preference toggle.

Where the unit spend actually goes wrong

The failure mode specific to Semrush is not authentication — it is silent unit burn on redundant reports. A few concrete rules that keep an agent useful on a real subscription:

  • Ask for the report, not the exploration. "Run get_report_schema for organic positions on these 3 domains, then execute_report once" costs a fraction of "compare these 3 domains across every market."
  • Pin the database. Semrush reports are database-specific. An agent that does not specify a database will get the default, which is frequently not the market the question was about — and the report looks entirely plausible.
  • Cache within a session. An agent looping over campaigns tends to re-execute the same report per item. One execute_report per distinct parameter set is the discipline.
  • Never let the model choose a date range by vibes. "Last month" from a model is ambiguous; pass explicit dates.

What the docs are honest about

Semrush puts a disclaimer on the page, and it is worth quoting because it sets the right expectation: "AI responses may be incomplete or inaccurate, so always verify them before using for decisions, publication, or other critical tasks."

That is not a formality. execute_report returns structured report data, and the model then summarises it. The summarisation step is where a "traffic dropped 40%" can become "traffic dropped 40% in Germany" if the model inferred a database. Ask for the underlying rows when the number matters.

Semrush-specific pitfalls

  1. "No official server" is stale. There is one; it is at mcp.semrush.com/v2/mcp.
  2. Apikey, not Bearer. Wrong scheme authenticates against nothing.
  3. servers vs mcpServers vs serverUrl. Three clients, three config shapes.
  4. OAuth is not unattended. Browser-bound login by design.
  5. Trends data needs a Trends plan. Not a bug, a subscription boundary.
  6. Units are shared with the API. MCP is not a free lane.
  7. Gemini CLI support is discontinued. Semrush directs you to Antigravity 2.0 or Antigravity CLI instead.
  8. Notion needs Business or Enterprise; Perplexity needs a paid account.
  9. get_report_schema before execute_report. Skipping it invites wrong arguments.
  10. Database and date are part of the question, not defaults to leave to the model.

Where Cody fits

If you want Semrush answers in Slack without mounting the server config, the units model, and the client-key differences yourself, Cody's Semrush integration is the managed path — connect the account in the dashboard and ask in chat.

For the adjacent surfaces, see SEMrush's OpenClaw setup and SEMrush with ChatGPT. If you are comparing MCP servers across SEO tools, the Ahrefs MCP page covers a different data set with its own unit model, and it is worth reading both before you standardise on one.

How to Connect SEMrush via MCP

There are two main paths:

Option A: Use a community MCP server for SEMrush

No company-maintained MCP server currently exists for SEMrush. Community-built servers are available — search the MCP Registry or GitHub for "SEMrush MCP server".

What you'll need:

  • An MCP-compatible client (Claude Desktop, OpenClaw, or another host)
  • A running MCP server process with SEMrush credentials configured
  • Basic familiarity with running a local service or Docker container

Community servers vary in completeness and maintenance quality — review the repo before committing to one.

Option B: Use Cody (OpenClaw-based, managed)

Cody is built on OpenClaw and supports MCP-compatible integrations out of the box. You connect SEMrush once from the Cody dashboard — no server to run, no code to write — and Cody handles authentication, context passing, and write-back actions with appropriate guardrails.

Cody works where your team already operates: Slack, Telegram, or the web chat. The SEMrush connection is available to your entire team without each person setting up their own MCP client.

Want SEMrush Connected to AI Without Running Your Own MCP Server?

Cody gives your team a SEMrush AI assistant in Slack, so marketers can review keyword opportunities, compare competitors, monitor ranking changes, and share SEO updates without wiring SEMrush API clients or rebuilding report views by hand.

Get started with Cody →

MCP vs Other AI Integration Patterns

Approach What it is Tradeoff
MCP Standardised protocol for live tool access Requires an MCP server; most powerful when set up correctly
RAG (retrieval) Pre-index SEMrush content and retrieve it Good for static docs; not suitable for live/transactional data
Manual copy-paste Paste SEMrush output into ChatGPT/Claude Fast to start; breaks for anything recurring or at scale
Custom API wrappers Bespoke integration code per tool Full control; high maintenance overhead

MCP wins when you need live data from SEMrush and want to avoid rebuilding integrations as APIs change.

Common Mistakes

  • Using training data when live data is needed — if the AI doesn't have an MCP connection, it will answer from memory, which is often outdated or wrong for account-specific questions
  • No write-back guardrails — MCP can write to SEMrush, so it's worth adding an approval step for any action that modifies records
  • Too many tools exposed at once — give the AI access to the SEMrush actions it actually needs; a scoped connection is easier to reason about and audit
  • Skipping structured outputs — ask the AI to return structured JSON or clear fields when writing back to SEMrush; free-form output is harder to validate

Related MCP Guides


Want the full workflow picture? See: SEMrush AI Automation and How to Connect SEMrush to OpenClaw.