MCP servers
SEO MCP Servers Compared: 8 Picks for Claude and Cursor
Compare the best SEO MCP servers for Claude, Cursor and Codex: what data each exposes, pricing, setup steps, and which one ships fixes to your code.
14 min read
You want Claude Code or Cursor to stop guessing about SEO and work from real data. An SEO MCP server connects your agent to that data, but the options range from raw keyword APIs to tools that tell your agent what to change in the repo. This guide compares eight of them on data, setup, token cost and whether the output ends up as a commit.
What an SEO MCP server is (and the short answer on which to use)
An SEO MCP server is a connector that lets an AI agent such as Claude, Cursor or Codex call SEO tools and data directly through the Model Context Protocol (MCP), an open standard for agent tool use. Instead of working from pasted CSV exports, the agent queries keywords, SERPs, backlinks, Search Console data or site audits on demand.
The best MCP server for SEO depends on the job you need done. Here are the quick picks:
- Cheapest raw data for custom workflows: DataForSEO
- Broadest all-in-one, including AI search visibility: SE Ranking
- Deepest backlink data: Ahrefs
- Competitive research if you already pay for it: Semrush
- Mid-market alternative: Serpstat
- First-party Google data at no cost: a Google Search Console MCP
- One-off audit, paid per run: Apify SEO Audit Tool
- Turning findings into code fixes every week: SEOgent, alongside one of the above
Most developers end up with one data MCP plus one fix layer. The rest of this piece explains why.
Data MCPs vs fix MCPs: the split nobody explains
Most lists of MCP SEO tools treat every server as the same kind of thing. They aren’t. There are two kinds.
Data MCPs answer questions. DataForSEO, SE Ranking, Ahrefs, Semrush, Serpstat and the GSC servers expose queries such as “what’s the search volume for X”, “who ranks for Y” and “which pages lost clicks last month”. The agent gets an answer, and then it has to work out what that means for your site and what to change.
Fix MCPs tell the agent what to change. They watch your site over time and hand the agent a prioritised list of things to do in the codebase.
The difference matters most inside a coding agent. In Claude Desktop, a marketer is happy with an answer in chat. In Claude Code or Cursor you’re sitting in a repo, and the useful output is a diff, not a paragraph. A data MCP gives your agent facts and leaves the interpretation to it. That can mean many tool calls, large responses and a model guessing at SEO priorities. A fix MCP starts from the decision: this page, this problem, this change.
Here’s the flow when both layers are in place:
your site
│
▼
crawler / monitor ──► data MCP (keywords, SERPs, GSC)
│ │
▼ ▼
fix MCP (what to change) ──► coding agent (Claude Code, Cursor, Codex)
│
▼
commit / pull request
SEOgent sits in that fix layer. It watches your site, tells you what to fix each week, and hands those fixes to your coding agent over MCP. It doesn’t replace a keyword database, and it isn’t meant to. It’s the step that turns findings into work your agent can ship. If you want the background on why this layer has been missing, read why there’s no good way to get SEO data to an AI agent.
SEO MCP servers compared
The table is current as of October 2026. Vendors change plans, credit allowances and tool sets often, so check each vendor’s MCP and pricing page before you commit. We’ve described pricing models rather than quoting entry prices that may already be out of date.
| Server | What it exposes | Hosting | Tool set size | Pricing model | Free tier / trial | Best for |
|---|---|---|---|---|---|---|
| DataForSEO | SERPs, keywords, backlinks, on-page, domain data | Local (API credentials) or remote | Large | Pay-as-you-go API credits | Trial credit for new accounts | Cheap raw data for custom pipelines |
| SE Ranking | Keywords, rankings, backlinks, audits, AI search visibility | Remote (OAuth) | Very large (third-party counts range from 160+ to 180+) | Subscription with monthly credit caps | Check vendor | Breadth in a single server |
| Ahrefs | Backlinks, keywords, site explorer data | Remote | Medium to large | Requires an active paid Ahrefs plan | No standalone free tier | Link data depth |
| Semrush | Keywords, competitors, traffic and domain analytics | Remote | Medium | Requires a Semrush subscription, may use API units | Check vendor | Competitive research |
| Serpstat | Keywords, SERPs, backlinks, site audit | Remote or API key | Medium | Subscription and API access | Check vendor | Mid-market teams |
| GSC MCP (community) | Your clicks, impressions, CTR, positions, URL inspection | Local (Google Cloud credentials) | Small | Free (open source) | Free | First-party Google performance |
| Apify SEO Audit Tool | On-page audit of a site or URL list | Remote (Apify token) | Small | Pay per run | Apify free usage allowance | One-off audits |
| SEOgent | Weekly prioritised fix list for your site | Remote MCP | Small, task-focused | See seogent.ai | See seogent.ai | Handing fixes to your coding agent |
All of these work with Claude Code, Cursor and Claude Desktop. Remote servers are also usable in ChatGPT and Codex where those clients support MCP connections. See the FAQ for details.
The picks, one by one
Each pick follows the same structure: what it’s good at, what the agent can call, setup, cost and limits, and who it’s for. The setup patterns are explained in the connection section below.
DataForSEO
Good at: cheap, granular data. You get access to SERP results, keyword volumes, backlink data, on-page checks and domain metrics without paying for a full SEO suite.
What the agent calls: low-level endpoints grouped by API, such as SERP, Keywords Data, Backlinks and On-Page. These are building blocks, not opinions.
Setup: run it locally with your API login and password in environment variables, or use the hosted option.
Cost and limits: pay-as-you-go credits, with trial credit for new accounts. Responses are raw and verbose, so a single call can drop a lot of JSON into context.
For: developers building their own pipelines who want the lowest cost per query and don’t mind shaping the data themselves.
SE Ranking
Good at: breadth. Keyword research, rank tracking, backlinks, site audits and AI search visibility all come through one server.
What the agent calls: a very large tool set covering most of the SE Ranking product. Third-party roundups put the count anywhere from 160+ to 180+, so check the vendor’s MCP page for the current number.
Setup: a remote server with OAuth. Add the URL, authenticate in the browser and you’re done. OAuth callbacks can be awkward in WSL or over SSH, so plan to finish authentication in a local browser.
Cost and limits: subscription plans with monthly credit caps. Agent loops can use up credits faster than manual work does.
For: teams that want one server to cover most SEO questions, especially AI search visibility.
Ahrefs
Good at: backlink data, which is still the main reason people pay for Ahrefs.
What the agent calls: Site Explorer-style queries such as referring domains, backlinks, organic keywords and top pages.
Setup: a remote server authenticated against your Ahrefs account.
Cost and limits: you need an active paid Ahrefs plan. MCP usage may draw on API allowances depending on your plan, so check what yours includes.
For: existing Ahrefs customers. It isn’t a cheap entry point if you don’t already subscribe.
Semrush
Good at: competitive research, including domain comparisons, keyword gaps and traffic estimates.
What the agent calls: keyword, domain and competitor analytics drawn from Semrush’s databases.
Setup: a remote server tied to your Semrush account.
Cost and limits: requires a Semrush subscription, and some usage may be metered in API units. Confirm this before you let an agent loop over it.
For: teams already paying for Semrush who want those reports available inside their agent.
Serpstat
Good at: solid all-round keyword, SERP and backlink data at a mid-market price point.
What the agent calls: keyword research, SERP analysis, backlink and audit endpoints.
Setup: a remote server or local install with an API token, depending on the integration you pick.
Cost and limits: subscription with API access. Check how API credits map to MCP calls.
For: smaller agencies and teams that want suite-style data without enterprise pricing.
Google Search Console MCP
Good at: the data that matters most for your own site, which is real clicks, impressions, CTR and average position from Google.
What the agent calls: search analytics queries filtered by page, query, country and date. Some servers also support URL inspection and sitemaps.
Setup: most are community, open-source servers that run locally. You create a Google Cloud project, enable the Search Console API and point the server at a service account or OAuth credentials. Expect 15 to 30 minutes in the Google Cloud console the first time. Add the service account as a user on your Search Console property, or every query will come back empty.
Cost and limits: free, subject to Google’s API quotas.
For: anyone who mainly cares about how their own site performs. This is the best free SEO MCP server option.
Apify SEO Audit Tool
Good at: one-off on-page audits without a subscription.
What the agent calls: an audit run against a URL or site, returning on-page issues.
Setup: Apify’s MCP server with your Apify API token.
Cost and limits: pay per run, with Apify’s free usage allowance covering light use. Large sites cost more per run.
For: a quick health check before a launch, or for a site you don’t monitor continuously. For a wider view of crawl-based auditing, see how Screaming Frog compares with AI agents.
SEOgent
Good at: turning SEO into a weekly to-do list your agent can work through. SEOgent watches your site, tells you what to fix each week, and hands those fixes to your coding agent over MCP. It covers both SEO and AEO (answer engine optimisation).
What the agent calls: this week’s fixes for your site, already prioritised, instead of raw data it has to interpret.
Setup: a remote MCP server you add to Claude Code, Cursor or another MCP client.
Cost and limits: see current plans on seogent.ai.
For: developers and vibe coders who ship with a coding agent and want SEO handled as commits rather than reports. It pairs with any data MCP above. Use DataForSEO or GSC to answer questions, and SEOgent to decide what to ship.
How to connect an SEO MCP server to Claude Code and Cursor
Nearly every SEO MCP Claude setup uses one of two patterns: a remote server with a URL and usually OAuth, or a local server launched with npx and an API key in an environment variable. Use the exact URL or package name from each vendor’s docs. The placeholders below show the structure.
Remote OAuth server (for example SE Ranking or SEOgent)
In Claude Code:
claude mcp add --transport http seo-remote https://<vendor-mcp-url>
Then run /mcp inside Claude Code and choose the server to complete OAuth in your browser. Add --scope user to make the server available in every project, or --scope project to write it to a shared .mcp.json file. Only use project scope when the config contains no secrets.
In Cursor, add the server to .cursor/mcp.json for one project or ~/.cursor/mcp.json for all projects:
{
"mcpServers": {
"seo-remote": {
"url": "https://<vendor-mcp-url>"
}
}
}
Local API-key server (for example DataForSEO or a GSC server)
In Claude Code:
claude mcp add dataforseo \
--env [email protected] \
--env DATAFORSEO_PASSWORD=your-api-password \
-- npx -y <vendor-mcp-package>
In Cursor, add this to the global ~/.cursor/mcp.json file so the keys stay out of the repo:
{
"mcpServers": {
"dataforseo": {
"command": "npx",
"args": ["-y", "<vendor-mcp-package>"],
"env": {
"DATAFORSEO_USERNAME": "[email protected]",
"DATAFORSEO_PASSWORD": "your-api-password"
}
}
}
}
To confirm the server works, run /mcp in Claude Code to see its status and tools. In Cursor, open the MCP settings and check that the server has a green status and a list of tools.
Security basics
- Keep keys out of the repo. Put key-bearing servers in user or global config and add
.cursor/mcp.jsonto.gitignoreif it ever holds secrets. - Scope tokens. Use read-only or restricted API keys wherever the vendor offers them.
- Be careful with write access. A server that can change things, such as submitting sitemaps or editing a CMS, should require approval for every call. Don’t auto-approve it.
What to watch before you install five of them
It’s tempting to install every SEO MCP server on this list. Here’s why that’s a bad idea inside a coding agent.
- Tool definitions cost context. Every tool’s name, description and schema loads into the model’s context. A server with 150+ tools can take up a noticeable share of the context window before you’ve typed a prompt. Run
/contextin Claude Code before and after adding a server to see what it costs. - Raw responses are big. Keyword and SERP APIs return verbose JSON. A few calls can push out the code context your agent actually needs to make the fix.
- Credits drain quietly. An agent that loops through “check this keyword, now this one” will spend credits faster than you would. Set budget alerts with the vendor if you can.
- Agents over-query. Without a clear task, models call tools to feel thorough. Give narrow instructions, such as “pull the top 20 queries for /pricing over the last 28 days”, not “analyse my SEO”.
- Freshness varies. GSC data lags by a couple of days. Third-party databases update on their own schedules. Don’t treat a volume estimate as live.
The practical setup is one data MCP plus one action layer. Purpose-built tools that return small, decided outputs beat dumping raw APIs into context. That principle is covered in more depth in build tools instead of burning tokens.
Which SEO MCP server should you pick?
Work through this list in order:
- Need cheap raw SERP and keyword data for a custom pipeline? Use DataForSEO.
- Already pay for SE Ranking, Ahrefs, Semrush or Serpstat? Use that vendor’s MCP rather than adding a second data source.
- Only care about how your own site performs in Google? Use a GSC MCP. It’s free.
- Need a one-off audit of a site you don’t monitor? Use Apify.
- Want your agent to know what to fix this week and do it in the repo? Use SEOgent, optionally alongside one of the above.
If you ship with Claude Code, Cursor or Codex and want SEO to arrive as a weekly queue of fixes rather than another dashboard, SEOgent hands weekly SEO fixes to your coding agent. Start a trial and connect it next to whichever data MCP you already use.
Example: from “why did this page drop?” to a merged fix
Here’s how the two layers work together. This is an illustrative walkthrough with a GSC MCP as the data layer and SEOgent as the fix layer in Claude Code. The specific pages and issues are examples.
Step 1: ask the data question.
Using Search Console, compare clicks and impressions for /pricing over the last 28 days with the previous 28. Show the top queries that lost clicks.
The agent calls the GSC server and reports that impressions held steady but CTR fell on the main queries. That points to a snippet problem, not a ranking problem.
Step 2: ask what to fix.
Check this week’s SEOgent fixes. Is anything listed for /pricing or pages that link to it?
SEOgent’s weekly list is where issues like a missing or duplicated title tag or broken internal links show up. These are exactly the kind of problems that hurt CTR or crawl paths without anyone noticing. The agent now has a specific change to make instead of a theory to test.
Step 3: make the change.
Apply the /pricing fix. Find where the title and meta description are set, update them, fix any broken internal links to the page, and open a PR with a summary.
The agent finds the page’s metadata in your framework, such as the route’s metadata export or the layout head, edits it, fixes the links and opens a pull request that cites the GSC numbers as the reason for the change.
Step 4: review and merge. You check the diff, merge it, and next week’s GSC pull shows whether CTR recovered.
The data MCP explained what happened, the fix layer said what to change, and the coding agent shipped it. To run this as a repeating loop, read about crawl tools built for AI agents. For the bigger shift behind it, see moving from AI prompts to SEO agents.
FAQ
What is the best MCP server for SEO?
There isn’t one best server, because they do different jobs. DataForSEO is the cheapest source of raw data. SE Ranking is the broadest single server. Ahrefs leads on backlinks. A GSC MCP gives you free first-party data. For turning findings into code changes, pair one of these with a fix layer such as SEOgent.
Are there free SEO MCP servers?
Yes. Community Google Search Console MCP servers are free and open source, and you only need a Google Cloud project. DataForSEO offers trial credit for new accounts, and Apify’s free usage allowance covers light audit runs. Paid suites such as Ahrefs and Semrush need a subscription.
Does Ahrefs have an MCP server, and do I need a paid plan?
Yes, Ahrefs has an official MCP server. You need an active paid Ahrefs subscription to use it, and usage may count against API allowances depending on your plan. Semrush also has an MCP server that requires a subscription. Check both vendors’ current plan pages before connecting an agent that might loop.
Is there a Google Search Console MCP server?
Yes. Several open-source GSC MCP servers let your agent query clicks, impressions, CTR and positions, and some also support URL inspection. Setup involves enabling the Search Console API in Google Cloud and adding a service account as a user on your property. It’s free within Google’s API quotas.
Can an MCP server fix SEO issues automatically?
An MCP server can’t change your code by itself, but your coding agent can. Data MCPs give the agent facts. A fix layer like SEOgent tells it what to change each week, and the agent edits the repo and opens a pull request. Keep a human review step before merging.
DataForSEO MCP vs SE Ranking MCP: which is better?
Pick DataForSEO if you want low-cost, pay-as-you-go raw data and are happy shaping the output yourself. Pick SE Ranking if you want broad coverage, including AI search visibility, through one OAuth server and don’t mind a subscription with credit caps. SE Ranking’s large tool set also uses more context.
Do SEO MCP servers work with ChatGPT or Codex?
Mostly, yes. Any server that follows the MCP standard works with MCP-capable clients. Codex supports MCP servers through its configuration, and ChatGPT can connect to remote MCP servers where its connector settings allow it. Local stdio servers suit coding agents best. Remote servers are the easier option for chat apps.