seo-monster

v0.11.2
io.github.avansaber/seo-monster Checked 2 hours ago Published 12 days ago

Local-first SEO MCP: track AI citations, Search Console, GA4, PageSpeed, Cloudflare, IndexNow, CrUX.

Values you need

VariableWhat it is
SEO_MCP_GOOGLE_OAUTH_CLIENToptional Path to your Desktop-app OAuth client-secrets JSON, downloaded from Google Cloud Console. Required for Search Console, Indexing, and GA4 tools.
SEO_MCP_GOOGLE_TOKENoptional Writable path where the cached OAuth token is stored. On first use, a browser opens for one-time consent and the token is written here. Default: ${HOME}/.config/seo-monster/token.json
SEO_MCP_GSC_DEFAULT_SITEoptional Default Search Console property, e.g. 'sc-domain:example.com' or 'https://www.example.com/'.
SEO_MCP_GA4_PROPERTY_IDoptional Default GA4 property, e.g. 'properties/123456789' or bare '123456789'.
PSI_API_KEYoptional secret Google API key shared by PageSpeed Insights and Chrome UX Report History tools. Optional; both work anonymously at a tighter rate limit when unset.
CF_API_TOKENoptional secret Cloudflare API token. Optional; needed only for the Cloudflare tools. Scopes: Zone:Read, DNS:Read, Account Analytics:Read, and (only when destructive mode is on) Cache Purge:Purge, Single Redirect:Edit, Zone Settings:Edit, and (for bulk redirects) Account Rulesets:Edit + Account Filter Lists:Edit.
CF_ZONEoptional Default Cloudflare zone hostname, e.g. 'example.com'.
SEO_MCP_INDEXNOW_KEYoptional secret IndexNow shared key (any 8-128 hex string you generate). Required only for the IndexNow tools. Host the key file at https://<your-host>/<key>.txt for engine verification.
SEO_MCP_INDEXNOW_KEY_LOCATIONoptional Override the default IndexNow key-file URL (https://<host>/<key>.txt). Set only if you host the key file at a non-standard path.
SEO_MCP_ALLOW_DESTRUCTIVEoptional Set to 'true' to enable the Cloudflare cache-purge tools. Default false: all destructive tools refuse to run.
SEO_MCP_SERP_PROVIDERoptional Optional SERP provider selection. Set to serpbase to use SerpBase; DataForSEO remains the default when unset.
SERPBASE_API_KEYoptional secret API key for the optional SerpBase provider. A key alone does not select the provider.
DATAFORSEO_LOGINoptional secret DataForSEO Basic-auth login. Optional (v0.9). Unlocks SERP/PAA/related, keyword volume+difficulty+intent, competitor keyword-gap, and Google AI Overview citations for keyword_universe / serp_adjacency_expand / onpage_serp_gap auto-fetch / ai_citation_track.
DATAFORSEO_PASSWORDoptional secret DataForSEO Basic-auth password. Optional (v0.9). Required alongside DATAFORSEO_LOGIN.
OPENPAGERANK_API_KEYoptional secret Open PageRank (DomCop) free API key. Optional (v0.9). Free competitor domain-authority proxy for onpage_serp_gap.
PERPLEXITY_API_KEYoptional secret Perplexity Sonar API key. Optional (v0.9). One of the AI answer-engines for ai_citation_track.
OPENAI_API_KEYoptional secret OpenAI API key (Responses web_search). Optional (v0.9). One of the AI answer-engines for ai_citation_track.
ANTHROPIC_API_KEYoptional secret Anthropic API key (web_search tool). Optional (v0.9). One of the AI answer-engines for ai_citation_track.
GEMINI_API_KEYoptional secret Google Gemini API key (Search grounding). Optional (v0.9). One of the AI answer-engines for ai_citation_track.
GOOGLE_ADS_DEVELOPER_TOKENoptional secret Google Ads API developer token. Optional (v0.9). Volume-only alternative to DataForSEO for keyword_universe; live use also needs an adwords-scope OAuth re-consent.
GOOGLE_ADS_CUSTOMER_IDoptional Google Ads customer id (digits). Optional (v0.9). Required alongside GOOGLE_ADS_DEVELOPER_TOKEN.

PyPI (uvx) verified

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add seo-monster -- uvx --from seo-monster==0.11.2 seo-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "seo-monster": {
      "args": [
        "--from",
        "seo-monster==0.11.2",
        "seo-mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "seo-monster": {
      "args": [
        "--from",
        "seo-monster==0.11.2",
        "seo-mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "seo-monster": {
      "args": [
        "--from",
        "seo-monster==0.11.2",
        "seo-mcp"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.seo-monster]
command = "uvx"
args = ["--from", "seo-monster==0.11.2", "seo-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: system_status, gsc_list_properties, gsc_search_analytics, gsc_top_queries, gsc_top_pages, gsc_compare_periods, gsc_inspect_url, gsc_batch_inspect_urls, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json