Connect Claude Code to RankRight
Ask about your clients in plain English, and get answers from your live RankRight data. One key, one command, no code.
- Read-only by default
- Your org's data only
- Revoke anytime
Set it up in three steps
You need Claude Code installed and a RankRight account. Only organization owners can mint keys.
1 Mint an API key ~2 min
- Open Account → API keys
(
/account/api-keys). - Name it after the person, e.g.
jane-claude-code. - Leave read ticked. Add write or jobs only if this person should make changes (compare scopes).
- Click Mint key and copy the
rrk_…token. It's shown once, so treat it like a password.
Not the owner? Ask them to mint a key for you and send it privately. Everyone should have their own key so access can be revoked person by person. Want events pushed to you instead of asking? See webhooks.
2 Add RankRight to Claude Code ~1 min
Paste this into a terminal (PowerShell, macOS or Linux) and replace rrk_YOUR_KEY with your token:
claude mcp add --transport http --scope user rankright https://app.rankright.dev/api/v1/mcp --header "Authorization: Bearer rrk_YOUR_KEY"
--scope user makes RankRight available in every folder. Without it, it only works in the folder where you ran the command.
3 Check it and ask away ~1 min
Start claude and type /mcp. rankright should show as connected (claude mcp list works from the terminal too).
Then just talk. Claude picks the right RankRight tools itself. The first time, Claude Code asks permission to use them. Choose "don't ask again" if you're happy with the key's scopes.
Try these first
Click one to copy it, then paste it into Claude Code. Swap in your own client names.
Pick the right scopes
The server enforces scopes on every call, so a key can never do more than you allowed.
read
Look things up and summarise. Any attempt to change something is refused with a 403.
read + write
Also add and edit clients, and manage webhooks.
+ jobs
Also start background work. Scripts using the same key can start jobs like data exports through the REST API. AI-powered work uses your monthly allowance.
Questions
The short answers. The full reference is in the API docs.
What is the RankRight MCP server?
Can Claude change my data?
Who can mint a key?
Does it use my AI allowance?
Does it work with apps other than Claude Code?
How do I disconnect or revoke a key?
Something's not working. What should I check?
Keep going
Guides that pair well with this one.
Export your data and use webhooks
Download a full export of your RankRight organization and get signed webhook events when jobs finish, reports are filed or items change.
Read the guide → 5 minInvite your team and choose roles
Invite teammates with a link, choose the right role (owner, SEO editor, web builder or viewer), manage access and turn on two-factor sign-in.
Read the guide → 10 minConnect a client's WordPress site
Install the RankRight Site Manager plugin, connect it with a key, and choose REST or FTP pushes so RankRight can publish fixes and blog posts for you.
Read the guide →