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.
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
/mcpin Claude Code to sign in. - Codex
- Cursor
- In your MCP settings file:
claude mcp add --transport http rankhound https://mcp.rankhound.aicodex mcp add rankhound --url https://mcp.rankhound.ai && codex mcp login rankhound{ "mcpServers": { "rankhound": { "url": "https://mcp.rankhound.ai" } } }With an API key, for code
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.
| Tool | Endpoint | What it answers |
|---|---|---|
| get_me | /me | Which account is this, and what rules govern the numbers. |
| list_brands | /brands | Which brands may I read. |
| get_agent_week | /agent | What did RankHound do this week, and does anything need me. |
| list_articles | /articles | Which 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 | /keywords | Where do we rank for each target keyword this week, and what moved. |
| approve_article | POST /articles/{id}/approve | Approve this article: it takes the next free slot on the schedule. |
| reject_article | POST /articles/{id}/reject | Reject this article, so it is not published. |
| request_article_changes | POST /articles/{id}/changes | Rewrite it from one instruction, such as “shorten the intro”, changing only that. |
| edit_article | PATCH /articles/{id} | Change the title, address, meta description or body directly. |
| unschedule_article | POST /articles/{id}/unschedule | Move an approved article back to waiting, before it publishes. |
| publish_article_now | POST /articles/{id}/publish | Publish an already-approved article now instead of waiting for its slot. |
| set_writing_paused | PATCH /agent | Pause or resume the agent's writing. |
| track_keyword | POST /keywords | Start tracking a keyword, within the plan's keyword limit. |
| untrack_keyword | DELETE /keywords | Stop tracking a keyword; its rank history is kept. |
| add_competitor | POST /competitors | Track a competitor's domain in the weekly research. |
| remove_competitor | DELETE /competitors | Stop tracking a competitor. |
| get_site_authority | /authority | The site’s Domain Rating by Ahrefs. |
| get_opportunities | /opportunities | Searches you show up for with no page of your own behind them. |
| list_competitor_gaps | /competitor-gaps | What do our competitors rank for that we do not, and with which page. |
| get_visibility | /visibility | How often does each AI engine name us. |
| list_answers | /answers | Show me the AI answers themselves. |
| list_sources | /sources | What do the engines read before answering. |
| get_current_date | server clock | What is today's date, and where each trailing window starts. |
| get_sentiment | /sentiment | How each engine frames each brand, out of the answers it classified. |
| get_share_of_voice | /share-of-voice | Each brand's share of mentions among the brands this workspace tracks. |
| list_competitors | /competitors | Who gets named instead of us, and how often without us. |
| list_recommendations | /recommendations | What to do next, ranked, with the pages and answers behind each item. |
| list_questions | /questions | Which prompts the workspace asks, and how often each one names us. |
| list_alerts | /alerts | What 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:
"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
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
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
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
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
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
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?
How do I connect it?
How do I add RankHound to Claude Code?
Can an assistant change things in my account?
Will the assistant understand that a null number is not zero?
Which MCP clients work with it?
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.