# Semrush (MCP Server)

> Pull Semrush SEO, keyword, backlink and traffic data into your AI chats

- Type: MCP server
- Publisher: Semrush (official)
- Categories: Marketing, Research
- Website: https://developer.semrush.com/api/basics/semrush-mcp/
- Transport: streamable-http
- Server URL: https://mcp.semrush.com/v2/mcp
- Sign-in: oauth
- Listed: 2025-10-01

## About

Semrush's official remote MCP server exposes its SEO API, Trends API (traffic and market data) and read-only Projects API to AI assistants. It uses Streamable HTTP with OAuth 2.1 by default, or an API key in the Authorization header. Access requires a qualifying Semrush plan with API units or a Trends API plan.

## Install

1. **Connect it in ChatGPT** Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.semrush.com/v2/mcp as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.

2. **Or add it to Codex or the API**

   Codex CLI:

   ```bash
   codex mcp add semrush --url https://mcp.semrush.com/v2/mcp
   codex mcp login semrush
   ```

   config.toml:

   ```toml
   [mcp_servers.semrush]
   url = "https://mcp.semrush.com/v2/mcp"
   ```

   Responses API:

   ```python
   import os
   from openai import OpenAI
   
   client = OpenAI()
   
   response = client.responses.create(
       model="gpt-6-astra",
       tools=[{
           "type": "mcp",
           "server_label": "semrush",
           "server_url": "https://mcp.semrush.com/v2/mcp",
           "authorization": os.environ["SEMRUSH_API_KEY"],
           "require_approval": "never",
       }],
       input="What keywords does competitor.com rank for in the top 10 in the US?",
   )
   print(response.output_text)
   ```

## Example prompts

- "What keywords does competitor.com rank for in the top 10 in the US?"
- "Compare estimated traffic for our site and two competitors over the last 6 months"
- "Find keyword ideas around 'project management software' with low difficulty"
- "Show the referring domains gained by our site this month"

## Also available as

- plugin: [Semrush](https://chatgptplugins.directory/plugins/semrush.md)
- app: [Semrush](https://chatgptplugins.directory/apps/semrush.md)

## Related

- [Fetch](https://chatgptplugins.directory/mcp/fetch.md): Fetch web pages and convert them to markdown for LLMs
- [WordPress.com](https://chatgptplugins.directory/mcp/wordpress-com.md): Draft, edit and manage posts, pages and comments on your WordPress.com sites
- [DeepWiki](https://chatgptplugins.directory/mcp/deepwiki.md): Ask questions about any public GitHub repo using DeepWiki's generated docs
- [Apify](https://chatgptplugins.directory/mcp/apify.md): Run thousands of Apify Actors for scraping and automation from your agent
- [Firecrawl](https://chatgptplugins.directory/mcp/firecrawl.md): Scrape, search, crawl and interact with live web pages for LLMs
- [AWS Knowledge](https://chatgptplugins.directory/mcp/aws-knowledge.md): Search current AWS docs, API references and regional availability

---
Source: https://chatgptplugins.directory/mcp/semrush · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
