Skip to content

Docs

SEO MCP server for Claude and any MCP client

Run RankHound from Claude or ChatGPT: ask what's waiting, read an article, say “shorten the intro”, approve it, steer the agent, and ask how your articles are doing. Hosted, with nothing to install, and an assistant can only change what you allow when you connect.

Start 7-day free trialAPI reference

Card required, nothing charged for 7 days

Connect your assistant: add the URL and sign in

Add https://mcp.rankhound.ai to your assistant and sign in to RankHound. The consent screen asks two things: whether the assistant can only read, or can also approve, edit and publish; and whether it sees all your sites or one. The same steps, with example prompts, are on the AI assistants page in the app.

Claude (claude.ai and the desktop app)
Settings, Connectors, Add custom connector. Paste https://mcp.rankhound.ai, then Connect and sign in.
ChatGPT
Settings, Apps and connectors. Turn on developer mode, create a connector with https://mcp.rankhound.ai, choose OAuth, and sign in.
Claude Code
Run this, then /mcp in Claude Code to sign in.
shell
claude mcp add --transport http rankhound https://mcp.rankhound.ai
Codex
shell
codex mcp add rankhound --url https://mcp.rankhound.ai && codex mcp login rankhound
Cursor
In your MCP settings file:
mcp.json
{ "mcpServers": { "rankhound": { "url": "https://mcp.rankhound.ai" } } }

With an API key, for code

shell
claude mcp add --transport http rankhound https://mcp.rankhound.ai/mcp \
  --header "Authorization: Bearer rh_live_YOUR_KEY"

For scripts and clients without sign-in, an API key in the Authorization header still works. Mint it at API keys in the app. It is on every plan, at the same rate limit as the API.

A local package, not published yet

Not installable yet. @rankhound/mcp is written and tested but is not published on npm, so there is no install command to give you. The hosted MCP server needs no install and works now, and the REST API takes any HTTP client.

A stdio version, for when you would rather your key never left the machine, is written but not on npm, so there is nothing to install today. Any MCP client that takes a URL and a header can use the hosted server above: a client with a config file wants the same two facts.

The tools: what each one reads or changes

Each one is a single v1 endpoint. The reads answer questions; the writes do only what you allowed when you connected.

ToolEndpointWhat it answers
get_me/meWhich account is this, and what rules govern the numbers.
list_brands/brandsWhich brands may I read.
get_agent_week/agentWhat did RankHound do this week, and does anything need me.
list_articles/articlesWhich articles did the agent choose, write and publish, and why each one.
get_article/articles/{id}One article in full, with the evidence it was chosen on and the pages it has to beat.
list_keywords/keywordsWhere do we rank for each target keyword this week, and what moved.
approve_articlePOST /articles/{id}/approveApprove this article: it takes the next free slot on the schedule.
reject_articlePOST /articles/{id}/rejectReject this article, so it is not published.
request_article_changesPOST /articles/{id}/changesRewrite it from one instruction, such as “shorten the intro”, changing only that.
edit_articlePATCH /articles/{id}Change the title, address, meta description or body directly.
unschedule_articlePOST /articles/{id}/unscheduleMove an approved article back to waiting, before it publishes.
publish_article_nowPOST /articles/{id}/publishPublish an already-approved article now instead of waiting for its slot.
set_writing_pausedPATCH /agentPause or resume the agent's writing.
track_keywordPOST /keywordsStart tracking a keyword, within the plan's keyword limit.
untrack_keywordDELETE /keywordsStop tracking a keyword; its rank history is kept.
add_competitorPOST /competitorsTrack a competitor's domain in the weekly research.
remove_competitorDELETE /competitorsStop tracking a competitor.
get_site_authority/authorityThe site’s Domain Rating by Ahrefs.
get_opportunities/opportunitiesSearches you show up for with no page of your own behind them.
list_competitor_gaps/competitor-gapsWhat do our competitors rank for that we do not, and with which page.
get_visibility/visibilityHow often does each AI engine name us.
list_answers/answersShow me the AI answers themselves.
list_sources/sourcesWhat do the engines read before answering.
get_current_dateserver clockWhat is today's date, and where each trailing window starts.
get_sentiment/sentimentHow each engine frames each brand, out of the answers it classified.
get_share_of_voice/share-of-voiceEach brand's share of mentions among the brands this workspace tracks.
list_competitors/competitorsWho gets named instead of us, and how often without us.
list_recommendations/recommendationsWhat to do next, ranked, with the pages and answers behind each item.
list_questions/questionsWhich prompts the workspace asks, and how often each one names us.
list_alerts/alertsWhat changed enough to be worth saying.

get_agent_weekis the one to call first for anything about this week's SEO work: how far it got, which articles are waiting for approval, and whether Search Console and a publishing webhook are set up. get_me comes first for the account: the plan, the quota and the reporting thresholds in force, which is what lets an assistant state the rules it is working under rather than assume them.

What to ask the SEO MCP server

The tools are named for the questions people actually ask, so most of the time you do not have to name a tool at all:

in a conversation
"What did RankHound do this week, and does anything need me?"
"Which articles are waiting for approval, and why did it choose each one?"
"Shorten the intro of the client portal article, then show me."
"Approve it."
"Pause writing until Monday."
"Track 'agency capacity planning' and add fabrikam.com as a competitor."
"Which searches do we show up for with no page of our own?"
"Where do we rank for our target keywords, and what moved since last week?"
"What do our competitors rank for that we don't?"
"How often did ChatGPT name us last month, per engine?"
"Which domains do the engines read on the answers where a competitor wins?"
"Show me the three answers where we were named but ranked last."
"Has anything actually changed this week, or is it noise?"

That last one is the question the third rule exists for. An assistant with these tools will tell you an empty findings list means no move large enough to separate from noise at your sample size, because list_alerts says so in the payload rather than leaving the model to fill the silence.

What an assistant can and cannot change

  • Only what you allowed.Each write needs the permission granted when you connected (or the key’s write scope), capped by your role, an active plan, and the person who connected it still in your organisation with that permission.
  • Confirmed with you first. Every write tool tells the assistant to check with you before it acts.
  • Approved before it publishes. Publishing now works only on an article you have already approved.
  • No money, billing or team. Nothing an assistant does starts a paid run, changes your plan or billing, or touches your team.
  • The hosted server holds no secrets. No database and no vendor credentials. Signing in happens in RankHound itself; the token your assistant gets is an ordinary RankHound API key, passed straight to the v1 API, which does authentication, tenancy, entitlement and rate limiting.
  • Stateless per request. Each request gets a fresh server, with no session to hijack and nothing kept between conversations.
  • Disconnect any time. Connected assistants are listed under Settings, AI assistants, in the app, and disconnecting one revokes its key at once. Existing API keys stay read-only; write scopes are chosen when a key is minted.

If you are connecting someone else's assistant, choose one site on the consent screen, or pin the key to one brand when you mint it. A pinned key cannot read a sibling brand and cannot even enumerate one.

The rules the tools carry

Three rules the SEO tools state rather than assume

Every SEO tool and endpoint carries these. Each one is a way to report a ranking or an article wrongly while looking right.

  1. 1

    A null number is never zero.

    It means not measured yet, or, for a rank inside a completed check, not in the top 100. An article's results stay null until it is published and Google reports the page; a keyword's rank.latest is null until its first check. Never render either as 0 clicks or position 0.

  2. 2

    Ranks are checked weekly, not live.

    Quote a position as of the week it was checked (rank.latest.week_start). A rank check runs once a week through the top 100, and its results arrive over a few hours rather than instantly.

  3. 3

    These tools only read.

    Approving, rejecting or publishing an article happens in RankHound, so send the customer there for it. There is no endpoint, flag or tool that publishes.

Three rules the AI visibility tools state rather than assume

These are not style preferences. Breaking them produces a confidently wrong report in your customer's name.

  1. 1

    A null rate means "not enough answers yet". It is NOT zero.

    Rates come back as {present, responses, rate, min_sample}. When rate is null, the sample is below the floor. Say “3 of 4 answers, too few to quote a percentage”. Never render it as 0%, and never let it into an average. Reporting “0% visibility” for a brand that was named in 3 of 4 answers is the single most damaging thing you can do with this data.

  2. 2

    Never average the engines.

    There is no single visibility score and you must not compute one. ChatGPT, Perplexity and Google AI Overviews are different surfaces that disagree, so a mean describes nothing real. Report per engine. If the user insists on one number, give them the pooled counts (present and responses summed) and say plainly what you did.

  3. 3

    An empty alerts list does NOT mean nothing changed.

    A finding is raised only when both comparison windows carry enough answers AND the move is larger than its own margin of error. On a small plan that excludes most real movement. Say “no change large enough to distinguish from noise at this sample size”. GET /me shows the thresholds in force.

Questions about the MCP server

Answered from the implementation.

Does RankHound have an MCP server?
Yes, hosted, with nothing to install. Connect Claude, ChatGPT, Cursor, Codex or Claude Code and you can run RankHound from the conversation: ask what is waiting, read an article, ask for a change such as "shorten the intro", approve it, pause the agent, track a keyword, and ask how your articles and rankings are doing. AI visibility answers and sources are there too.
How do I connect it?
Add https://mcp.rankhound.ai as a connector in your assistant and sign in to RankHound. You choose on the consent screen whether the assistant can only read, or can also approve, edit and publish, and whether it sees all your sites or one. API keys still work for code.
How do I add RankHound to Claude Code?
Run claude mcp add --transport http rankhound https://mcp.rankhound.ai, then /mcp in Claude Code to sign in. Nothing is installed on your machine.
Can an assistant change things in my account?
Only what you allowed when you connected. Approving, rejecting, editing, unscheduling or publishing an article, pausing the agent, and tracking keywords or competitors each need that permission, an active plan, and a person who still holds the permission. Every write tool tells the assistant to confirm with you first. Publishing now works only on an article you already approved. Nothing an assistant does starts a paid run, or touches billing or your team.
Will the assistant understand that a null number is not zero?
It is told, in the payload rather than only in the tool description. An article's results are null until there is something to measure, a keyword's rank is null until it has been checked, and the SEO tools say so in their own descriptions. list_alerts says in its own response that an empty list means no change large enough to distinguish from noise, and rates always arrive with their denominator attached so the model can state the sample rather than infer a percentage.
Which MCP clients work with it?
Claude (claude.ai and the desktop app), ChatGPT, Cursor, Codex and Claude Code connect by adding the URL and signing in. Any other client that speaks MCP over HTTP can use it with an API key in the Authorization header.

7-day trial

Run RankHound from your assistant

RankHound is SEO automation software that finds the searches your site can win and writes for them. Connect Claude or ChatGPT and you can read, change and approve the week's articles without opening the app.

Card required, nothing charged for 7 days.

On every plan

  • Keyword research and competitor analysis, every week.
  • Articles written against the pages that rank, waiting for your approval.
  • Google rankings checked weekly, beside your Search Console data.
  • Publishing to WordPress or any site by webhook, once you approve.
  • AI visibility tracking across six AI assistants.