MCP Server
The Model Context Protocol (MCP) server provides a standardized interface that allows any compatible AI model to access your SE Ranking and SE Visible data simply and securely.
Our MCP server follows the authenticated remote MCP spec, so it’s centrally hosted and managed. Connect in one click in Claude or ChatGPT, natively in Cursor and other clients, or use the mcp-remote module for clients that don’t support remote servers.
What you can access
Through the MCP server, your AI assistant can work with data from these SE Ranking and SE Visible products*:
- Data API: keyword research, backlinks, domain analysis, SERP, and more
- Project API: your projects, rank tracking, audits, and competitors
- Local Marketing API: your locations, local rankings, Google Business Profile, business listings, and reviews
- SE Visible API: your AI visibility projects, brands, topics, prompts, and sources
*The data available to you depends on your subscription. Not every API endpoint is available through MCP. Setup is the same for every product. Use your SE Ranking account, or an API key generated in the API Dashboard of your SE Ranking or SE Visible account.
Setup Instructions
General
Our MCP server supports Streamable HTTP transports. This transport uses OAuth 2.1 with dynamic client registration for authentication at the following address:
https://api.seranking.com/mcpJump to your client: Claude · ChatGPT · Codex · Cursor · VS Code · v0 · Windsurf · Zed · Gemini CLI · Others.
Sub-accounts
If you’re a sub-account on a shared SE Ranking workspace, the Sign in with SE Ranking button won’t connect any tools. API access lives with the master account, not with sub-accounts. Sub-account API keys are on the way; until they’re released, use the workaround below.
To connect a sub-account:
- Get the API key from your account administrator.
- In the connection dialog, choose Enter API keys manually.
- Paste the key when prompted.
Claude
Claude (Web & Desktop)
Claude Code
Two options. Pick one.
Option A: OAuth (recommended) — opens a browser on first connect, stores the token locally, and reuses it across sessions.
claude mcp add --transport http se-ranking https://api.seranking.com/mcpThen run /mcp once you’ve opened a Claude Code session to go through the authentication flow.
Option B: API key — skip the OAuth flow and pass your key as headers. Right for headless environments, CI runners, shared dev boxes, or when the browser handoff is awkward.
claude mcp add --transport http se-ranking https://api.seranking.com/mcp \
--header "X-Api-Key: *****"Grab the key from the API Dashboard in your SE Ranking or SE Visible account. Available tools depend on your subscription.
ChatGPT
Codex
The setup steps for the MCP server are the same regardless of whether you use the IDE Extension or the CLI since the configuration is shared.
Configuration via CLI:
Run the following command in Terminal:
codex mcp add se-ranking --url https://api.seranking.com/mcpThis will automatically prompt you to log in with your SE Ranking account and connect it to your Codex.
Note: If this is the first time you are using an MCP in Codex you will need to enable the rmcp feature for this to work. Add the following into your
~/.codex/config.toml:Copy[features]
experimental_use_rmcp_client = true
Configuration through environment variables:
1. Open the ~/.codex/config.toml file in your preferred editor.
2. Add the following:
[features]
experimental_use_rmcp_client = true
[mcp_servers.se-ranking]
url = "https://api.seranking.com/mcp"
3. Run codex mcp login se-ranking to move through the authentication flow.
Cursor
Add the following to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"se-ranking": {
"url": "https://api.seranking.com/mcp"
}
}
}Cursor supports Streamable HTTP and OAuth natively. An OAuth window will open on first use to authenticate with your SE Ranking account.
Visual Studio Code
{
"mcpServers": {
"se-ranking": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.seranking.com/mcp"]
}
}
}1. Ctrl+P / Cmd+P and search for MCP: Add Server.
2. Select Command (stdio).
3. Enter the following configuration, and hit enter:
npx -y mcp-remote https://api.seranking.com/mcp4. Enter the name SE Ranking and hit enter.
5. Activate the server using MCP: List Servers, selecting se-ranking, and selecting Start Server.
v0 by Vercel
To add the MCP to v0, you can install from the connections page.
Windsurf
1. Ctrl+, / Cmd+, to open Windsurf settings.
2. Scroll to Cascade > MCP servers.
3. Select Add Server > Add custom server.
4. Add the following:
{
"mcpServers": {
"se-ranking": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.seranking.com/mcp"]
}
}
}Zed
Cmd+, to open Zed settings. Add the following:
{
"context_servers": {
"se-ranking": {
"source": "custom",
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.seranking.com/mcp"],
"env": {}
}
}
}Gemini CLI
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"se-ranking": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.seranking.com/mcp"]
}
}
}Save and launch Gemini CLI. Authorize when prompted.
Others
Hundreds of other tools now support MCP servers. You can configure them to use our MCP server with the following settings:
- Command:
npx - Arguments:
-y mcp-remote https://api.seranking.com/mcp - Environment: None
FAQ
Why am I seeing an internal server error when trying to connect?
rm -rf ~/.mcp-auth then try again to connect.What happens when I connect?
seranking.com where you log in with your SE Ranking account and approve access. After approval, you’re redirected back to your client and the connection is established. If the window doesn’t open automatically, check your client for a URL to paste into a browser manually.How do I know the connection worked?
- Claude.ai / Desktop: SE Ranking moves out of Not connected and its tools become available in chats.
- Claude Code: Run /mcp and confirm se-ranking shows as connected and its tools are listed.
- Cursor, VS Code, Windsurf, Zed: The server appears as connected in the MCP panel and tools are listed.
- All clients: Try a prompt like “Using SE Ranking MCP, give me traffic for seranking.com in the US.” If it returns real data, it works.
I’m using WSL on Windows, and seeing an error
{
"mcpServers": {
"se-ranking": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.seranking.com/mcp"]
}
}
}Does the MCP support Streamable HTTP?
https://api.seranking.com/mcp endpoint.Can I authenticate with my own API key?
X-Api-Key header. See Claude Code, Option B for an example. This works well for headless environments, CI runners, and shared dev boxes.No tools appearing after connecting?
- Verify your SE Ranking or SE Visible account has API access at the API Dashboard.
- Run
/mcpin Claude Code to check live connection status. - Try removing and re-adding the server.
If you need further assistance, contact us at [email protected].
Resources
- MCP Hub: setup, use cases, skills, prompts, blueprints, and video guides
- Skills repo on GitHub: open-source Claude Skills built on SE Ranking MCP
- Model Context Protocol spec
Video: SE Ranking MCP in Action
See the MCP server in action in our live workshops, from first connection to automated SEO workflows.
Full live workshops
One prompt, your whole stack: SE Ranking MCP Workshop
Connect SE Ranking, Search Console, and GA4 in Claude, find the pages worth fixing first, and send results to Slack, email, or Linear.
From data to action: building automated SEO workflows with MCP & GA4
Connect SE Ranking to Claude in two clicks, add GA4, and run an AI visibility audit across ChatGPT, Perplexity, Gemini, and Google AI Overviews.
