Home / MCP / SEO MCP Server

SEO MCP Server

Provides SEO data access via MCP: backlinks, keywords, traffic, and difficulty with CapSolver-backed CAPTCHA solving.

python
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "seo_mcp": {
            "command": "uvx",
            "args": [
                "--python",
                "3.10",
                "seo-mcp"
            ],
            "env": {
                "CAPSOLVER_API_KEY": "YOUR_CAPSOLVER_API_KEY"
            }
        }
    }
}

You can run and use the SEO MCP server to access backlink analysis, keyword ideas, traffic estimates, and optimization tooling powered by CapSolver-backed CAPTCHA solving and Ahrefs data. This MCP server lets you query domain data, generate keyword ideas, estimate traffic, and assess keyword difficulty in a streamlined, cache-enabled service.

How to use

To use this MCP server, add it to your MCP client configuration as a local stdio server. You will start the server locally and connect to it through your MCP client interface. Use the client to call the available tools and receive structured data for your SEO research workflows.

How to install

Prerequisites: you need Python 3.10 or higher and a CapSolver account with an API key.

Install from PyPI using pip or via the uv tool.

Run the following commands step by step to set everything up.

pip install seo-mcp
```

```bash
uv pip install seo-mcp

Configuration and start instructions

Set your CapSolver API key to enable CAPTCHA solving and start the MCP server using the provided runtime command. You can run it via a client-friendly configuration like Cursor or start it directly in your environment.

export CAPSOLVER_API_KEY="your-capsolver-api-key"

Example configuration for an MCP client

{
  "mcpServers": {
    "seo_mcp": {
      "command": "uvx",
      "args": ["--python", "3.10", "seo-mcp"],
      "env": {
        "CAPSOLVER_API_KEY": "CAP-xxxxxx"
      }
    }
  }
}

Available tools

get_backlinks_list

Retrieve detailed backlink data for a given domain, including domain rating, anchor text, and link attributes.

keyword_generator

Generate keyword ideas from a seed keyword and return volume, difficulty, and CPC information.

get_traffic

Estimate website traffic and provide history, top pages, countries, and keyword insights.

keyword_difficulty

Return a keyword difficulty score along with related SERP data and keyword insights.