Skip to main content

The #1 agentic semantic tool search: 91.6% first-try accuracy on S1 Search Bench Explore Tool Discovery

Live 20 Actions

Semrush MCP Server
for AI Agents

Connect your AI agent to StackOne's Semrush MCP server and give it 20 MCP tools out of the box. Auth, tool execution, and security all managed.

Semrush logo
Semrush MCP Server
Built by StackOne StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

Coverage

20 Agent Actions

Create, read, update, and delete across Semrush — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your Semrush MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every Semrush tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Semrush call.

Tools Discovery →

What is the Semrush MCP Server?

A Semrush MCP server lets AI agents read and write Semrush data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Semrush MCP server ships with 20 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All Semrush MCP Tools

Every action from Semrush's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Projects

  • List Projects

    List all projects in the Semrush account.

  • Get Project

    Get details of a specific project by ID.

Other (18)

  • Get Domain Overview

    Get overview metrics for a domain across all regional databases.

  • Get Domain Rank

    Get domain ranking data in a specific regional database.

  • List Domain Organic Keywords

    List keywords that bring users to a domain via Google's top 100 organic search results.

  • List Domain Paid Keywords

    List keywords a domain has bid on in paid search results over the last 12 months.

  • List Domain Organic Competitors

    List domains competing with the specified domain in organic search.

  • List Domain Paid Competitors

    List domains competing with the specified domain in paid search.

  • Get Keyword Overview

    Get keyword overview across all regional databases.

  • Get Keyword Overview (Single Database)

    Get keyword overview in a specific regional database.

  • List Keyword Organic Results

    List domains ranking in Google's top 100 organic results for a keyword.

  • List Related Keywords

    List related keywords for a given keyword.

  • Get Keyword Difficulty

    Get keyword difficulty index for up to 100 keywords.

  • Get Backlinks Overview

    Get backlinks overview summary for a domain, root domain, or URL.

  • List Backlinks

    List backlinks pointing to a domain, root domain, or URL.

  • List Referring Domains

    List referring domains linking to the target.

  • Get Traffic Summary

    Get traffic summary for up to 200 domains.

  • Get Traffic Sources

    Get traffic sources breakdown for a domain.

  • Get Traffic Top Pages

    Get top pages by traffic for a domain.

  • Get API Units Balance

    Get the remaining API units balance for the authenticated account.

Semrush AI Agent Use Cases

Connect your AI agent to Semrush and help your team scale the marketing operations they run by hand today.

Lead Nurture Sequences

Use StackOne to connect your AI agent to your marketing automation, CRM, and email tools to automate lead nurture email sequences.

View
HubSpotSalesforceActiveCampaignKlaviyoSendGridMailchimpLemlistGmail
Campaign Performance Reports

Use StackOne to connect your AI agent to your marketing automation, email, and analytics platforms to automate campaign performance reporting.

View
HubSpotMailchimpActiveCampaignKlaviyoSalesforceBrazeSendGridMarketo
Content Repurposing

Use StackOne to connect your AI agent to your document stores, email platforms, and messaging tools to automate content repurposing and distribution.

View
Google DriveConfluenceNotionMailchimpSendGridSlackGmailMicrosoft Teams

Set Up Your Semrush MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to Semrush in under 10 lines of code.

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

Check More Data & Analytics MCP Servers

Smartsheet

189+ actions

Tableau

122+ actions

SurveyMonkey

104+ actions

Microsoft Excel

102+ actions

Qlik

101+ actions

Snowflake

80+ actions

ZoomInfo

73+ actions

Semrush MCP Server FAQ

Does StackOne have a Semrush MCP server?
Yes. StackOne offers a hosted Semrush MCP server with 20 pre-built actions, and every action is tested and QA'd by StackOne. Connect it to Claude, Cursor, and any other MCP client, or to any agent framework through the AI Action SDK. It ships with managed agent authentication, prompt injection defense, and tool discovery with server-side execution that preserve your agent's context window and keep reasoning performance.
Semrush MCP server vs direct API integration — what's the difference?
A Semrush MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling Semrush. A Semrush MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling Semrush at runtime. StackOne provides both.
How does Semrush authentication work for AI agents?
Semrush authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own Semrush account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are Semrush MCP tools vulnerable to prompt injection?
Yes — Semrush MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a Semrush agent and how do I avoid it?
Context bloat happens when Semrush tool schemas and API responses eat your Semrush agent's memory, preventing it from reasoning effectively. A single Semrush query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my Semrush agent can access?
Yes — you can limit which actions your Semrush agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my Semrush MCP server?
Yes — you can create custom agent actions for your Semrush MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research Semrush's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a Semrush MCP server?
Skip a Semrush MCP server if your integration is purely software-to-software — direct Semrush API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call Semrush actions at runtime.
What AI frameworks and AI clients does the StackOne Semrush MCP server support?
The StackOne Semrush MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.