How to build an SEO AI agent with Claude and SE Ranking

Written by
Oleksii Khoroshun
SEO Specialist at SE Ranking, Oleksii has extensive expertise in technical and on-page SEO as well as in content marketing and off-page optimization.
Dec 02, 2026
19 min read

Ask Claude for a keyword difficulty score and it answers from training data, not from your rankings or a live SERP. The fix is a connection between Claude and your SE Ranking account, and today setting up this connection takes about two clicks.

This guide connects Claude to the SE Ranking MCP server, confirms that live data is flowing, and then adds SE Ranking’s open-source Claude Skills. The Skills turn raw data into finished deliverables: keyword clusters, competitor gaps, content briefs, backlink gaps, and AI search share of voice. No agent framework code is involved.

Prices, tool counts, and the Skills catalog are below. SE Ranking updates all three often, so check the linked source pages before you budget.

Key takeaways
  • An SEO AI agent is a language model with live data access and a goal to work toward. Without the data layer, Claude is a chatbot guessing from training data.

  • The SE Ranking MCP server gives Claude authenticated access to keyword, SERP, domain, backlink, audit, AI search, and project data through 180+ tools.

  • Setup depends on your client: add a custom connector in the Claude web app or Claude Desktop, run one claude mcp add command in Claude Code, or add a short config in Cursor or VS Code. OAuth sign-in is the default everywhere.

  • SE Ranking’s seo-skills repository now holds 32 Claude Skills, including keyword clustering, competitor gap, content briefs, backlink gap, and AI search share of voice across five AI engines.

  • Data API calls spend credits and are rate-limited to 10 requests per second (1 on a trial). Budget before you run bulk workflows.

  • Treat output as a draft. The MCP can also change your account, so use a read-only key when you only need research.

To build an SEO AI agent with Claude and SE Ranking, connect the MCP server, verify it with a live query, install the Skills, and run your first workflow against one real topic.

What is an SEO AI agent and how does it work?

An SEO AI agent is software that uses a large language model to plan, run, and adjust SEO tasks by calling external tools, without step-by-step human instruction.

Most agents follow a reason-and-act loop, often called ReAct (Reasoning and Acting). The model receives a goal, decides which tool to call, reads the result, and chooses its next step, repeating until the goal is met or a stopping rule applies. That loop separates an agent from a one-shot prompt. It also separates an agent from an SEO tool, which performs one action when you trigger it. An agent chains data calls across sources and absorbs the copying, reformatting, and re-querying that used to sit between them.

What you build here is closer to configuring than coding. You connect an existing model (Claude) to an existing data source (SE Ranking) through a standard interface (MCP), then add Skills and standing instructions that make the workflows repeatable.

What is the SE Ranking MCP server and what can it do?

The SE Ranking MCP server is a hosted Model Context Protocol server that gives Claude and other AI clients authenticated access to your SE Ranking data. MCP is the open standard for connecting AI models to external tools. Once connected, Claude calls SE Ranking endpoints as native tools inside the conversation instead of reasoning from frozen training data.

The server uses Streamable HTTP with OAuth 2.1 and exposes 180+ tools across keyword research, backlink analysis, domain analysis, website audits, AI search visibility, SERP analysis, and project management.

What data the MCP server exposes

On the keyword side, Claude can pull search volume, keyword difficulty, CPC, and intent, plus related, similar, long-tail, and question keywords for any seed term. Domain tools return organic and paid overviews, competitors, keyword overlap, and traffic history. Backlink tools cover full profiles, referring domains, anchors, and new and lost links.

Audit tools return crawl results, issues, and audit history. Project tools expose rank tracking, including position history by keyword. AI search tools cover two layers. AI Search research in SE Ranking’s Competitive Research shows how often AI answers mention or cite a domain in ChatGPT, Gemini, Google AI Overviews and AI Mode. Prompt tracking sits in SE Visible by SE Ranking, the team’s companion platform for AI visibility, which adds Copilot. Local Marketing data (local rankings, Google Business Profile, reviews) is also available, and those tools do not use Data API credits.

The server works with the Claude web app, Claude Desktop, Claude Code, Cursor, VS Code, Codex, Windsurf, Zed, and Gemini CLI. SE Ranking also offers a connector for ChatGPT.

SE Ranking’s Claude Skills

Claude Agent Skills are folders built around a SKILL.md file that Claude loads when a task matches. SE Ranking’s open-source seo-skills repository (MIT license) packages MCP calls into finished deliverables. It launched in April 2026 with seven skills and had grown to 32 by the v2.10.4 release in June. First, let’s take a look at the seven main skills of SE Ranking:

seo-ai-search-share-of-voice

What it produces

Share-of-voice heatmap across ChatGPT, Gemini, Google AI Overview, and AI Mode, plus topic-cluster ownership per brand

seo-backlink-gap

What it produces

Prospect list of domains linking to several competitors but not to you, with authority, anchor samples, and outreach angles

seo-content-brief

What it produces

Writer-ready brief with keyword research, SERP analysis, competitor teardown, internal linking plan, and an AI search angle

seo-keyword-cluster

What it produces

Intent-grouped clusters with a pillar-plus-spokes structure and H1 and H2 suggestions per spoke

seo-ads

What it produces

Paid-search competitive intelligence: ad footprint, bidding landscape, ad-copy patterns, and a bid-keyword shortlist

seo-content-audit

What it produces

E-E-A-T and citation-readiness audit of existing content with a publish, fix, or no-publish verdict

seo-sxo

What it produces

Page-type mismatch analysis that reads the SERP backwards and proposes a wireframe for the winning page type

Skill
What it produces
seo-ai-search-share-of-voice

Share-of-voice heatmap across ChatGPT, Gemini, Google AI Overview, and AI Mode, plus topic-cluster ownership per brand

seo-backlink-gap

Prospect list of domains linking to several competitors but not to you, with authority, anchor samples, and outreach angles

seo-content-brief

Writer-ready brief with keyword research, SERP analysis, competitor teardown, internal linking plan, and an AI search angle

seo-keyword-cluster

Intent-grouped clusters with a pillar-plus-spokes structure and H1 and H2 suggestions per spoke

seo-ads

Paid-search competitive intelligence: ad footprint, bidding landscape, ad-copy patterns, and a bid-keyword shortlist

seo-content-audit

E-E-A-T and citation-readiness audit of existing content with a publish, fix, or no-publish verdict

seo-sxo

Page-type mismatch analysis that reads the SERP backwards and proposes a wireframe for the winning page type

The rest of the catalog includes seo-competitor-gap-analysis, seo-page, seo-technical-audit, seo-drift, seo-geo, seo-schema, seo-plan and many more.

SE Ranking seo-skills plugin in Claude showing the Skills tab

How to set up an SEO agent with SE Ranking MCP

To set up the agent, connect the SE Ranking MCP server to your client, sign in with OAuth, verify with a live query, and install the Skills.

Prerequisites

  • An SE Ranking plan or trial with MCP access. Core ($129/month billed monthly) and Growth ($279/month) include MCP and monthly Data API credits. The standalone API plan includes MCP too. The 14-day free trial includes MCP access and 100,000 API credits, with no credit card required.
  • A Claude account. Custom connectors work on every Claude plan, though Free is limited to one connector. Claude Code requires Pro or higher.
  • Node.js if you use VS Code, which connects through mcp-remote.

Step 1: Connect SE Ranking to your client

Claude web app and Claude Desktop (no terminal)

  1. Open Customize → Connectors.
  2. Search for SE Ranking, select it, and click Connect.
  3. Sign in with your SE Ranking account.
Claude Customize Connectors screen with the SE Ranking connector

Claude Code

Option A is OAuth, the recommended route. Register the server, then run /mcp inside a Claude Code session to complete sign-in:

claude mcp add --transport http se-ranking https://api.seranking.com/mcp

Option B passes an API key as a header. It suits headless machines, CI runners, and shared dev boxes where a browser handoff is awkward:

claude mcp add --transport http se-ranking https://api.seranking.com/mcp \
--header "X-Api-Key: YOUR_API_KEY"

Copy the key from the API Dashboard, and keep it out of shared config files and public repositories. If a key is accidentally exposed, immediately revoke it in the SE Ranking API Dashboard and generate a new one to prevent unauthorized credit usage.

SE Ranking API Dashboard with the Data API Key

Cursor

Add this to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global). Cursor supports Streamable HTTP and OAuth natively, so an OAuth window opens on first use:

{
"mcpServers": {
"se-ranking": {
"url": "https://api.seranking.com/mcp"
}
}
}

VS Code

VS Code connects through the mcp-remote module. Press Ctrl+P or Cmd+P, search for MCP: Add Server, and choose Command (stdio). Enter the command below, name the server SE Ranking, then run MCP: List Servers, select se-ranking, and choose Start Server:

npx -y mcp-remote https://api.seranking.com/mcp

Sub-accounts. If you work in a sub-account on a shared SE Ranking workspace, Sign in with SE Ranking connects no tools, because API access lives with the master account. Ask your administrator for an API key, then choose Enter API key manually in the connection dialog.

SE Ranking API Dashboard in a sub-account showing that API access is managed from the main account

Step 2: Verify the connection

In Claude Code, run /mcp. The se-ranking server should show as connected with 180+ tools. In any client, ask a question that needs live data:

Using SE Ranking MCP, give me organic traffic for seranking.com in the US.

A working connection shows a tool call in the conversation and returns figures from SE Ranking. If Claude answers without calling a tool, or says it cannot reach SEO data, the server is not registered or not enabled for this chat. Reconnect it, then ask again.

Claude calling the SE Ranking Domain Overview tool

Step 3: Install the Skills

In Claude Desktop, open Customize, go to the Plugins tab, and select Add marketplace. Enter seranking/seo-skills, then install the seo-skills plugin once the marketplace loads.

Claude Desktop Plugins page with the Add marketplace dialog and seranking/seo-skills entered in the URL field

In Claude Code, run:

/plugin marketplace add seranking/seo-skills
/plugin install seo-skills@seranking

The plugin registers the SE Ranking MCP automatically, so on a fresh Claude Code setup you can skip the manual claude mcp add and run /mcp once to sign in. A registration you made yourself earlier takes precedence, so nothing breaks.

Claude Code with the seo-skills plugin install commands and the list of SE Ranking Skills available after installing

Trigger a Skill by name, such as /seo-content-brief, or describe the task and let Claude pick the right one. Skills are not prompts you paste. Claude loads them when the task matches.

Troubleshooting: common failure points

  • Internal server error on connect. Clear saved auth with rm -rf ~/.mcp-auth, update Node if your client requires a newer version, and connect again.
  • No tools after connecting. Confirm your account has API access in the API Dashboard, run /mcp in Claude Code to check live status, and try removing and re-adding the server.
  • OAuth fails under WSL. WSL can break the OAuth redirect. Configure the server in your client’s Windows-side config file, or run the setup from PowerShell.
  • Zero tools on a sub-account. Use the manual API key route described above.
  • HTTP 429 errors. You hit the rate limit. See the limits section below.

SEO workflows your agent can run

Each workflow works as a plain prompt or as a Skill. A prompt is enough for a one-off. A Skill gives you the same structure on every run.

Keyword clusters

Skill

seo-keyword-cluster

Competitor gap

Skill

seo-competitor-gap-analysis

Content briefs

Skill

seo-content-brief

Backlink gap

Skill

seo-backlink-gap

AI search share of voice

Skill

seo-ai-search-share-of-voice

Technical audit

Skill

seo-technical-audit

Workflow
Skill
Keyword clusters

seo-keyword-cluster

Competitor gap

seo-competitor-gap-analysis

Content briefs

seo-content-brief

Backlink gap

seo-backlink-gap

AI search share of voice

seo-ai-search-share-of-voice

Technical audit

seo-technical-audit

Keyword cluster research

Pull keyword data for a seed term, group the results by search intent, and get a prioritized table in one prompt. This replaces exporting a keyword list, tagging intent by hand, and sorting by volume.

Using SE Ranking data, build a keyword cluster for [topic] in the [country]. Take the top 30 keywords, group them into intent-based clusters, and return a table with keyword, monthly search volume, keyword difficulty, and intent label.

The prompt returns an intent-labeled table. The seo-keyword-cluster Skill goes further and returns a pillar-plus-spokes structure with suggested H1 and H2 headings for each spoke.

Claude building a keyword cluster for easy healthy meals with the SE Ranking connector and the seo-keyword-cluster Skill

Harold De Guzman, head of AI and research development at Chris Raulf’s agency, reported cutting keyword research from 45 minutes per client project down to under 5 minutes. His setup used an earlier, Docker-based version of the SE Ranking MCP. Your timeline will depend on keyword set size and API response time.

Competitor gap analysis

Compare two domains and surface keywords where a competitor ranks in positions 1 to 10 and you do not appear in the top 20. Outside an agent setup, this takes several manual exports.

Using SE Ranking competitive research data, compare [your domain] and [competitor domain] in [country]. List the top 20 keywords [competitor domain] ranks for in positions 1 to 10 where [your domain] does not rank in the top 20. Include search volume and keyword difficulty.

The result is a gap table sorted by volume. The seo-competitor-gap-analysis Skill adds filtering by intent and a priority score. Gap runs on large domains pull a lot of data, so set a credit ceiling first (see the credits section).

Claude competitor gap analysis example with the SE Ranking connector and the seo-competitor-gap-analysis Skill

Content brief generation

Pass SERP data for a target keyword into a prompt and get a structured brief: recommended H1, proposed H2s, target word count, primary search intent, and entity flags.

Using SE Ranking SERP data for [primary keyword], analyze the top 5 results. Write a content brief with a recommended H1, 5 to 7 H2 headings with a one-sentence note on what each should cover, a target word count, the primary search intent, and 3 entity-clarity flags.

Check the brief against the live SERP before it goes to a writer. The seo-content-brief Skill extends the output with a competitor teardown, an internal linking plan, and an AI search angle. Our guide Claude Code for SEO: 3 workflows with SE Ranking’s MCP shows a brief built from a single objective.

Claude creating a content brief doc with the SE Ranking connector and the seo-content-brief Skill

Backlink gap

Find referring domains that link to your competitors but not to you.

Using SE Ranking backlink data, compare [your domain] with [competitor 1] and [competitor 2]. List referring domains that link to at least one competitor but not to me, with domain authority and a sample anchor text for each.

The seo-backlink-gap Skill ranks the prospects and adds outreach angles.

Claude backlink gap analysis example with the SE Ranking connector and the seo-backlink-gap Skill

Technical audit

Run a one-time technical audit of the site and sort the findings by severity: critical errors, warnings, and a top-10 fix list ranked by impact.

Using SE Ranking site audit data for [domain], run a technical SEO audit. Cover (1) crawlability and indexability issues, (2) security, mobile, and structured data problems, and (3) a prioritized top-10 fix list ranked by severity.

This is more useful than a raw export because it tells you what to prioritize in the next sprint.

Claude technical SEO audit example with the SE Ranking connector and the seo-technical-audit Skill

AI search share of voice

Compare how often your brand appears in AI answers against competitors (across ChatGPT, Gemini, Google AI Overview, AI Mode, and Copilot), and find the topics where you are absent.

Using SE Ranking AI search data, compare [your domain] with [competitor 1] and [competitor 2] in [country]. Show brand presence and share of voice across ChatGPT, Gemini, Copilot, Google AI Overviews, and AI Mode, and list the topics where [your domain] does not appear.

The seo-ai-search-share-of-voice Skill returns a per-engine heatmap and topic-cluster ownership. The same connection covers traditional SEO and AI search reporting in one session.

Claude AI search share of voice with the SE Ranking connector and the seo-ai-search-share-of-voice Skill

SE Ranking team has built a separate platform for AI search visibility, SE Visible. It gives you a deeper insight into competitors, prompts, citations, and sentiment behind your AI visibility and adds SEO metrics to the view.

From chat to agent with Claude Code

A chat connection answers questions. An agent works toward an objective across several steps. In Claude Code, three additions close that gap: a CLAUDE.md file with standing rules, Skills for repeatable deliverables, and subagents or hooks for steps you want isolated or enforced.

SE Ranking’s team demonstrated this pattern in a February 2026 workshop: set an objective, let the agent plan the steps, then pull competitor, keyword, and AI search data into a prioritized content plan and briefs. A short CLAUDE.md is a good place to start. Adjust the numbers to your plan:

# SE Ranking rules
- Default market: US, English, unless I say otherwise.
- Before any bulk run (gap, cluster, audit), check my credit balance and tell me the estimated cost.
- Stop a run at 5,000 credits unless I approve more.
- Research only: never create, edit, or delete SE Ranking projects, keywords, or audits.
- Name the tool call behind every figure you report.

You can extend the same session with other data sources. SE Ranking’s roundup of SEO MCP servers covers Google Search Console, GA4, Firecrawl, BigQuery MCP and Screaming Frog as companions.

Limitations, credits, and safety

An SEO AI agent is a research and analysis layer. Review every output before you act on it, because the agent’s reasoning is only as reliable as the data it retrieves. If an API call returns stale or incomplete data and the agent does not flag it, the output inherits the gap. Verify any figure that drives a decision directly in SE Ranking.

Credits and rate limits

Data API calls draw on a credit balance. Plans include a monthly allotment, and a trial includes a one-time grant:

14-day trial

Monthly price

Free

Data API credits

100,000 (one-time)

Core

Monthly price

$129 ($103.20 annual)

Data API credits

25,000 per month

Growth

Monthly price

$279 ($223.20 annual)

Data API credits

100,000 per month

Plan
Monthly price
Data API credits
14-day trial

Free

100,000 (one-time)

Core

$129 ($103.20 annual)

25,000 per month

Growth

$279 ($223.20 annual)

100,000 per month

You can add credits with the API add-on (from $45 per month on annual billing, 3 million credits) or the standalone API plan (from $179 per month, annual billing only). Check the pricing page for current figures. SE Ranking’s own Skills repository warns that the largest runs, such as full keyword dumps for a competitor gap on a big domain, can consume thousands of credits. Ask Claude to check your credit balance before a bulk workflow.

Rate limits apply per API key: 10 requests per second for the Data API and 5 for the Project API. During a trial, the Data API default is 1 request per second. Exceeding a limit returns HTTP 429. The Skills pace their calls to fit these limits, but ad-hoc prompts that fan out across many calls can hit them. If that happens, ask Claude to retry with exponential backoff: wait a second, then two, then four, and so on, until the request goes through.

What the agent can change

The SE Ranking MCP lets you act on your account, not just read data. Project API tools can create and manage projects and keywords, and Data API tools can run, recheck and delete audits (audits use API credits). Connect through the browser sign-in (OAuth) or pass your API key in the X-Api-Key header. The key carries your account’s access, so for research-only work it’s good practice to control write actions in your AI client: if it supports per-tool permissions, set the create, update and delete tools to require approval, and review each write call before you approve it.

The setup in this guide is for research and analysis. It is not for autonomous publishing, real-time alerting, or on-page edits without review. A common mistake is treating agent output as a finished deliverable instead of a first draft.

Frequently asked questions

What is the best AI agent for SEO?

It depends on your data stack, budget, and technical setup. For teams that already use SE Ranking, connecting Claude to the SE Ranking MCP server is the most direct path to live keyword, domain, and SERP data. If your data lives elsewhere, the same MCP approach works with that tool’s server. For wider context, see SE Ranking’s guide to AI SEO use cases and tools.

Is Claude good for SEO tasks?

Claude handles multi-step research well for two reasons. Current Claude Opus, Haiku and Sonnet models offer a 1-million-token context window, enough to hold a large keyword set or an audit export in one session. And Claude supports MCP natively, so external tool calls are first-class. For a head-to-head view, read Claude vs. ChatGPT for SEO.

Can you use Claude Code for SEO automation?

Yes. Claude Code connects to the same MCP server with one command, and it runs in the terminal, which suits scripted and batch workflows better than a chat window. It also supports CLAUDE.md rules, Skills, subagents, and hooks. The Skills work in Claude Code and in Claude Desktop through Cowork.

How much does it cost to run an SEO AI agent?

There are two meters. The first is SE Ranking: a plan or trial that includes MCP, plus the Data API credits your workflows spend. The second is Claude. The Free plan allows one custom connector, which is enough to try the SE Ranking MCP. Claude Code and Cowork require Pro or higher. Large batch jobs that call the Claude API directly also accrue token costs, so estimate volume before you run anything at scale.

Is an SEO AI agent worth it for small businesses?

Setup no longer needs a terminal, so the barrier is lower than it was. What matters now is volume. For three keyword research sessions a month, the SE Ranking interface is probably faster. The agent pays off when you repeat multi-step research, such as gap analysis plus briefs, every week or for several clients.

Build or buy an SEO AI agent?

This guide is closer to configure than build. You connect an existing model to an existing data source through a standard interface, so the result is a configured agent, not custom software. Purpose-built agent platforms trade some flexibility for convenience. The MCP approach lets you customize workflows and add data sources without in-house engineering.

What SEO workflows can an agent automate end to end?

With SE Ranking MCP connected, these research workflows run from a single prompt or Skill:
• Keyword clustering
• Competitor gap analysis
• Content brief generation
• Backlink gap analysis
• Audit comparison
• AI search share of voice analysis
Autonomous publishing, rank-monitoring alerts, and on-page edits without review fall outside the reliable scope of this setup.

Do SEO AI agents replace SEO specialists?

No. The agent takes over data retrieval and first-pass synthesis. It does not replace the judgment needed to interpret results in context, set strategy, assess brand fit, or explain findings to clients. The people getting the most from agents use them to run more research in the same time, with the analyst still in the loop.


Connect once, verify with a live query, then add the Skills. Start with one workflow on one active topic: run the keyword cluster Skill, check a few figures against SE Ranking, and review what the agent surfaces. Once that baseline holds, extend to competitor gap or content briefs, and add AI search share of voice when you need to report on both surfaces.

A free 14-day SE Ranking trial includes MCP access and 100,000 API credits, so you can run the whole setup before you pay. The seo-skills repository has the full catalog.

Subscribe to our blog!

Sign up for our newsletters and digests to get news, expert articles, and tips on SEO

Thank you!
You have been successfully subscribed to our blog!
Please check your email to confirm the subscription.