SEO Stack MCP Server
by raffaele86io.github.Raffaele86/seo-stack-mcpv0.2.0
The complete open-source SEO data stack for AI agents: 7 sources, 86 tools, one MCP server
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install SEO Stack MCP server
Install in Claude Code
claude mcp add seo-stack -e BING_WEBMASTER_API_KEY='<bing-webmaster-api-key>' -e CLARITY_API_TOKEN='<clarity-api-token>' -e GOOGLE_ADS_DEVELOPER_TOKEN='<google-ads-developer-token>' -e GOOGLE_ADS_CLIENT_SECRET='<google-ads-client-secret>' -e GOOGLE_ADS_REFRESH_TOKEN='<google-ads-refresh-token>' -e OPENPAGERANK_API_KEY='<openpagerank-api-key>' -- uvx seo-stack-mcpInstall in Cursor
{
"mcpServers": {
"seo-stack": {
"command": "uvx",
"args": [
"seo-stack-mcp"
],
"env": {
"BING_WEBMASTER_API_KEY": "<bing-webmaster-api-key>",
"CLARITY_API_TOKEN": "<clarity-api-token>",
"GOOGLE_ADS_DEVELOPER_TOKEN": "<google-ads-developer-token>",
"GOOGLE_ADS_CLIENT_SECRET": "<google-ads-client-secret>",
"GOOGLE_ADS_REFRESH_TOKEN": "<google-ads-refresh-token>",
"OPENPAGERANK_API_KEY": "<openpagerank-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"seo-stack": {
"command": "uvx",
"args": [
"seo-stack-mcp"
],
"env": {
"BING_WEBMASTER_API_KEY": "<bing-webmaster-api-key>",
"CLARITY_API_TOKEN": "<clarity-api-token>",
"GOOGLE_ADS_DEVELOPER_TOKEN": "<google-ads-developer-token>",
"GOOGLE_ADS_CLIENT_SECRET": "<google-ads-client-secret>",
"GOOGLE_ADS_REFRESH_TOKEN": "<google-ads-refresh-token>",
"OPENPAGERANK_API_KEY": "<openpagerank-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"seo-stack": {
"type": "stdio",
"command": "uvx",
"args": [
"seo-stack-mcp"
],
"env": {
"BING_WEBMASTER_API_KEY": "<bing-webmaster-api-key>",
"CLARITY_API_TOKEN": "<clarity-api-token>",
"GOOGLE_ADS_DEVELOPER_TOKEN": "<google-ads-developer-token>",
"GOOGLE_ADS_CLIENT_SECRET": "<google-ads-client-secret>",
"GOOGLE_ADS_REFRESH_TOKEN": "<google-ads-refresh-token>",
"OPENPAGERANK_API_KEY": "<openpagerank-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"seo-stack": {
"command": "uvx",
"args": [
"seo-stack-mcp"
],
"env": {
"BING_WEBMASTER_API_KEY": "<bing-webmaster-api-key>",
"CLARITY_API_TOKEN": "<clarity-api-token>",
"GOOGLE_ADS_DEVELOPER_TOKEN": "<google-ads-developer-token>",
"GOOGLE_ADS_CLIENT_SECRET": "<google-ads-client-secret>",
"GOOGLE_ADS_REFRESH_TOKEN": "<google-ads-refresh-token>",
"OPENPAGERANK_API_KEY": "<openpagerank-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GOOGLE_APPLICATION_CREDENTIALS | — | — | Path to a Google service-account JSON key (enables GSC + GA4) |
| SEO_STACK_OAUTH_CLIENT | — | — | Path to a Google OAuth desktop client secrets JSON (alternative to service account) |
| GA4_PROPERTY_ID | — | — | Default GA4 property ID |
| GSC_SITE_URL | — | — | Default Search Console property (e.g. sc-domain:example.com) |
| ADSENSE_ACCOUNT_ID | — | — | AdSense account (accounts/pub-XXXX...) — enables AdSense tools on top of the Google credentials |
| ADSENSE_CURRENCY | — | — | Reporting currency for AdSense tools (default USD) |
| BING_WEBMASTER_API_KEY | — | yes | Bing Webmaster Tools API key (enables Bing tools) |
| BING_SITE_URL | — | — | Default Bing site URL |
| CLARITY_API_TOKEN | — | yes | Microsoft Clarity Data Export API token (enables Clarity tools) |
| GOOGLE_ADS_DEVELOPER_TOKEN | — | yes | Google Ads developer token (enables Keyword Planner tools; needs the google-ads extra) |
| GOOGLE_ADS_CLIENT_ID | — | — | Google Ads OAuth client id |
| GOOGLE_ADS_CLIENT_SECRET | — | yes | Google Ads OAuth client secret |
| GOOGLE_ADS_REFRESH_TOKEN | — | yes | Google Ads OAuth refresh token (adwords scope) |
| GOOGLE_ADS_CUSTOMER_ID | — | — | Google Ads customer id (10 digits) |
| GOOGLE_ADS_LOGIN_CUSTOMER_ID | — | — | Manager account id, if the customer is under an MCC |
| OPENPAGERANK_API_KEY | — | yes | Open PageRank API key (enables the pagerank_score tool) |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-19 · 3mo ago · GitHub
Latest release
2026-07-19 · 3mo ago · GitHub · v0.2.0
Package published
no data · npm/PyPI
Registry entry updated
2026-07-19 · 3mo ago · official registry · v0.2.0
FAQ
›How do I install the SEO Stack MCP server in Claude Code?
Run: claude mcp add seo-stack -e BING_WEBMASTER_API_KEY='<bing-webmaster-api-key>' -e CLARITY_API_TOKEN='<clarity-api-token>' -e GOOGLE_ADS_DEVELOPER_TOKEN='<google-ads-developer-token>' -e GOOGLE_ADS_CLIENT_SECRET='<google-ads-client-secret>' -e GOOGLE_ADS_REFRESH_TOKEN='<google-ads-refresh-token>' -e OPENPAGERANK_API_KEY='<openpagerank-api-key>' -- uvx seo-stack-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does SEO Stack require an API key?
Yes. It expects BING_WEBMASTER_API_KEY, CLARITY_API_TOKEN, GOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_REFRESH_TOKEN, OPENPAGERANK_API_KEY, of which 6 are secrets.
›Can I use SEO Stack as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is SEO Stack in the official MCP registry?
Yes, as io.github.Raffaele86/seo-stack-mcp.
Alternatives to SEO Stack
Other crm & marketing MCP servers.