Back to Directory/Search & Knowledge

SEO Console

Search Console, Google Ads, App Store, Google Play, WordPress.org and Core Web Vitals over MCP

Search & KnowledgeTypeScriptv0.18.2

seo-mcp

seo-mcp is a stdio Model Context Protocol server for Google Search Console, PageSpeed Insights, and on-page SEO audits. It gives MCP clients forty-three tools covering verified Search Console properties and the other places products get discovered, the App Store, Google Play, WordPress.org, Google Ads, and real-user Core Web Vitals, while keeping the HTML audit, PageSpeed, IndexNow, keyword ideas, and WordPress.org tools usable without Google service account credentials. Every tool also runs from the command line, so a result can be written to a file instead of into a model's context, and snapshot records Search Console, the App Store, Google Play and WordPress.org at one moment so a later run can diff against it.

https://github.com/user-attachments/assets/66bbd628-d267-421f-9400-633b696bbd53

Requirements

  • Node.js 20.18.1 or newer
  • gcloud only if you use the setup wizard

What else you need depends on which tools you use. The setup wizard covers Search Console and PageSpeed; the App Store, Google Play, and Chrome UX Report tools each need a credential you create yourself.

ToolsNeedsWhere it comes from
seo_audit, audit_site, keyword_ideas (without siteUrl), wporg_pluginnothingpublic endpoints
pagespeedoptional SEO_MCP_PAGESPEED_KEYsetup wizard --pagespeed-key, or a Google Cloud API key
crux_field_data, crux_historySEO_MCP_CRUX_KEY (or the PageSpeed key if it may call the CrUX API)Google Cloud API key
indexnow_submitSEO_MCP_INDEXNOW_KEYany key you host at /<key>.txt
Search Console tools, snapshot propertiesservice account keysetup wizard, then add the account to the property
snapshot, list_snapshots, compare_snapshotsoptional SEO_MCP_SNAPSHOT_DIRwhere snapshot files live, defaulting to ~/.config/seo-mcp/snapshots
verifyCLOUDFLARE_API_TOKENCloudflare, Zone.DNS:Edit
app_store_listing, app_store_discovery, app_store_reviewsSEO_MCP_ASC_KEY_PATH, SEO_MCP_ASC_KEY_ID, SEO_MCP_ASC_ISSUER_IDApp Store Connect team key, any role that can read the app
app_store_salesthe above plus SEO_MCP_ASC_VENDOR_NUMBERteam key created with Admin, Finance, or Sales and Reports
play_store_statsSEO_MCP_PLAY_BUCKET, SEO_MCP_PLAY_CREDENTIALSservice account with read access to the reporting bucket
play_vitalsSEO_MCP_PLAY_CREDENTIALSservice account invited in Play Console with app quality access
the ads_ toolsGOOGLE_ADS_DEVELOPER_TOKEN, GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_CUSTOMER_IDa Google Ads developer token and an OAuth client with a refresh token

Install and build

npm install
npm run build

Run the local server with:

node /absolute/path/to/seo-mcp/dist/index.js

The package is published on npm as seo-console-mcp; it installs a command named seo-mcp. An MCP client can launch it through:

npx -y seo-console-mcp

The running server uses stdout exclusively for the MCP wire protocol. Diagnostics are written to stderr.

Setup wizard

From a local checkout:

npm run setup

Or with npx:

npx -y seo-console-mcp setup

For an unattended project choice or a custom key location:

seo-mcp setup --project my-seo-project --key /absolute/path/seo-mcp.key.json

The wizard also offers an optional PageSpeed Insights API key for higher quota. It is opt-in: use --pagespeed-key to create one without a prompt, or --no-pagespeed-key to skip the prompt explicitly. Non-interactive runs skip it unless --pagespeed-key is provided.

The wizard is safe to rerun. It:

  1. Checks for gcloud. If it is absent, it prints manual instructions and exits successfully without changing anything.
  2. Uses the active authenticated account or runs gcloud auth login.
  3. Uses the current project, a supplied --project, or asks for a project ID. It creates the project if it does not exist and selects it.
  4. Enables searchconsole.googleapis.com, pagespeedonline.googleapis.com, and siteverification.googleapis.com.
  5. Reuses or creates the seo-mcp service account.
  6. Reuses an existing key or creates seo-mcp.key.json.
  7. Optionally creates a project-scoped API key restricted to PageSpeed Insights.
  8. Prints the required Search Console permission step and ready-to-copy client configurations.

The wizard never prints the service account key contents. When PageSpeed key creation is requested and succeeds, it prints that key once in the final client configuration. The generated *.key.json filename is ignored by Git.

Granting the service account Search Console access

The Search Console API has no endpoint for adding a user to a property, so the service account has to become a verified owner of the domain itself. There are two ways to do that.

Automated (Cloudflare DNS)

If the domain's DNS is on Cloudflare, verify does the whole thing: it asks Google for a verification token, writes the TXT record through the Cloudflare API, waits for verification, and registers the property.

export CLOUDFLARE_API_TOKEN=...   # a token scoped to Zone.DNS:Edit for the zone
seo-mcp verify getpsst.app another-domain.com

The token can also be passed with --cf-token, and the key path with --credentials (otherwise GOOGLE_APPLICATION_CREDENTIALS / SEO_MCP_CREDENTIALS is used). The command is idempotent: the TXT record is left in place (Google re-checks it), so re-running a domain is safe. Leave the record in DNS or ownership is lost.

verify reads the token from CLOUDFLARE_API_TOKEN or CF_API_TOKEN (or --cf-token) and never stores or logs it, so any secret store that can export an environment variable works. The token needs Zone -> DNS -> Edit and Zone -> Zone -> Read (the "Edit zone DNS" template), scoped to the zones you verify. To keep it out of shell history:

macOS (Keychain):

security add-generic-password -a "$USER" -s cloudflare-dns-edit -l "Cloudflare DNS Edit" -U -w   # store once, hidden prompt
CLOUDFLARE_API_TOKEN=$(security find-generic-password -s cloudflare-dns-edit -w) seo-mcp verify example.com

Linux (libsecret, or pass):

secret-tool store --label="Cloudflare DNS Edit" service cloudflare-dns-edit   # store once, hidden prompt
CLOUDFLARE_API_TOKEN=$(secret-tool lookup service cloudflare-dns-edit) seo-mcp verify example.com

Windows (PowerShell SecretManagement):

Set-Secret -Name cloudflare-dns-edit -Secret (Read-Host -AsSecureString)   # store once, hidden prompt
$env:CLOUDFLARE_API_TOKEN = Get-Secret -Name cloudflare-dns-edit -AsPlainText; seo-mcp verify example.com
Manual

Add the service account as an owner in the Search Console UI:

Search Console -> your property -> Settings -> Users and permissions -> Add user
  seo-mcp@PROJECT_ID.iam.gserviceaccount.com  ->  Owner

Use the exact service account email printed by the wizard. Owner access is needed because submit_sitemap is a write operation.

Manual Google Cloud fallback

If gcloud is unavailable, create the credentials manually or run these commands after installing it:

gcloud auth login
gcloud projects create YOUR_PROJECT_ID
gcloud config set project YOUR_PROJECT_ID
gcloud services enable searchconsole.googleapis.com pagespeedonline.googleapis.com siteverification.googleapis.com
gcloud iam service-accounts create seo-mcp --display-name="SEO MCP"
gcloud iam service-accounts keys create ./seo-mcp.key.json \
  --iam-account=seo-mcp@YOUR_PROJECT_ID.iam.gserviceaccount.com

If the project already exists, skip gcloud projects create. Then grant the service account Search Console access (see above) and configure the absolute key path in the MCP client.

Authentication

The Search Console tools use google.auth.GoogleAuth with both scopes:

  • https://www.googleapis.com/auth/webmasters
  • https://www.googleapis.com/auth/webmasters.readonly

Credential lookup order is:

  1. --credentials /absolute/path/key.json
  2. SEO_MCP_CREDENTIALS
  3. GOOGLE_APPLICATION_CREDENTIALS
  4. ~/.config/seo-mcp/seo-mcp.key.json (or $XDG_CONFIG_HOME/seo-mcp/...) if it exists. This is the default location the setup wizard writes to, so a standard install needs no configuration.

For example:

node dist/index.js --credentials /absolute/path/seo-mcp.key.json

pagespeed is public and does not use the service account. Set SEO_MCP_PAGESPEED_KEY or pass apiKey to that tool for a higher PageSpeed Insights quota. seo_audit, audit_site, and indexnow_submit also need no Google credentials; indexnow_submit instead takes an IndexNow key via key or SEO_MCP_INDEXNOW_KEY. keyword_ideas only needs them when siteUrl is passed for the Search Console cross-reference. App Store Sales and Trends reads SEO_MCP_ASC_VENDOR_NUMBER. The Chrome UX Report tools read SEO_MCP_CRUX_KEY, falling back to SEO_MCP_PAGESPEED_KEY when the same key is allowed to call chromeuxreport.googleapis.com. snapshot, list_snapshots and compare_snapshots keep their documents in SEO_MCP_SNAPSHOT_DIR, defaulting to ~/.config/seo-mcp/snapshots, and cannot read or write outside it. The table under Requirements maps every tool to what it needs.

Security model

  • Verifying a domain makes the service account a verified Owner. Owners can change Search Console settings and submit removal (deindex) requests, so treat the key as a sensitive credential even though most tools here only read.
  • Keep the key local. It lives at the GOOGLE_APPLICATION_CREDENTIALS path (chmod 600 recommended). Never bundle it in a published package, a container image, or a CI secret store. If it leaks, anyone with it has owner control of every verified property.
  • Leave the google-site-verification TXT record in DNS. Google re-checks it; deleting it revokes ownership.
  • No secret is logged. The wizard and verify print credential paths only, never key or token contents.
  • Revoking is easy. Relinquish ownership from the Search Console UI (or siteVerification.webResource.delete), and rotate the key with gcloud iam service-accounts keys delete.
  • seo_audit only fetches public hosts. The target URL and every redirect hop is resolved and refused if it lands on a loopback, private, link-local, or other non-public address, so a model cannot be steered into fetching internal services or cloud metadata. The address is validated again at connection time (the socket is pinned to the validated address), so a DNS-rebinding host cannot present a public address at validation and a private one at connect. Set SEO_MCP_ALLOW_PRIVATE_HOSTS=1 to audit internal or staging hosts you trust. This is not a substitute for network-level isolation; run the server behind egress controls if you audit untrusted URLs on a host with reachable internal services.

Claude Code plugin

This repo is also a Claude Code plugin that bundles the MCP server and adds three slash commands over it. From Claude Code:

/plugin marketplace add ibrahimhajjaj/seo-console-mcp
/plugin install seo-console@verdelic

It registers the MCP server (via npx -y seo-console-mcp) and adds:

  • /seo-console:triage <siteUrl>: full property triage with a prioritized action plan
  • /seo-console:content <siteUrl>: content to create or improve, backed by Search Console data
  • /seo-console:launch <siteUrl>: pre-launch / launch SEO readiness check

The server finds your service-account key automatically at the default location (~/.config/seo-mcp/seo-mcp.key.json, where the setup wizard writes it), so no configuration is needed for a standard install. For a key elsewhere, set GOOGLE_APPLICATION_CREDENTIALS (and SEO_MCP_PAGESPEED_KEY for higher PageSpeed quota) in the environment Claude Code runs in. The seo_audit and pagespeed tools work with no credentials at all.

To try it from a local checkout without a marketplace: claude --plugin-dir ..

Claude Code (MCP server only)

Register the local build for the current user:

claude mcp add --scope user seo-mcp --env GOOGLE_APPLICATION_CREDENTIALS=/abs/path/seo-mcp.key.json -- node /abs/path/seo-mcp/dist/index.js

The -- separator is mandatory. It separates Claude Code options from the MCP server command.

Or with npx (no local build):

claude mcp add --scope user seo-mcp --env GOOGLE_APPLICATION_CREDENTIALS=/abs/path/seo-mcp.key.json -- npx -y seo-console-mcp

User scope makes the server available across your projects. Use --scope project when the registration should be shared through the current project's .mcp.json instead.

Project .mcp.json:

{
  "mcpServers": {
    "seo-mcp": {
      "type": "stdio",
      "command": "node",
      "args": ["/abs/path/seo-mcp/dist/index.js"],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/abs/path/seo-mcp.key.json"
      }
    }
  }
}

Claude Desktop

Add the same server entry under mcpServers in Claude Desktop's configuration file, then restart Claude Desktop:

{
  "mcpServers": {
    "seo-mcp": {
      "command": "node",
      "args": ["/abs/path/seo-mcp/dist/index.js"],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/abs/path/seo-mcp.key.json"
      }
    }
  }
}

To run without a local build, use "command": "npx" and "args": ["-y", "seo-console-mcp"].

Resources

seo://properties returns the Google Search Console properties available to the service account as JSON. It calls Search Console on every read, so the result is always current.

Prompts

MCP clients surface these prompts as starting points a user can pick for common SEO workflows:

  • seo_triage confirms a property, analyzes recent performance and opportunities, audits the site, and produces an impact-versus-effort action plan.
  • content_opportunities groups evidence-backed recommendations into content to create and existing content to improve.
  • launch_seo_check produces a go/no-go checklist for technical and indexing readiness before launch.

Tools

Every tool validates its input with Zod. Tool failures return an MCP error result instead of terminating the server. Google API status, message, and reason are included when available. A Search Console 403 also explains how to grant the service account property access.

list_properties

Lists every Google Search Console property the service account can access, returning each property's exact siteUrl and permissionLevel. It takes no input. Service-account credentials are required, unlike pagespeed, seo_audit, audit_site, and indexnow_submit.

This tool takes no parameters.

search_analytics

Queries searchanalytics.query and returns a compact ranked table plus structured rows.

{
  "siteUrl": "sc-domain:example.com",
  "startDate": "2026-06-01",
  "endDate": "2026-06-28",
  "dimensions": ["query", "page"],
  "rowLimit": 100,
  "maxTableRows": 25,
  "dimensionFilterGroups": [
    {
      "groupType": "and",
      "filters": [
        { "dimension": "query", "operator": "contains", "expression": "seo" }
      ]
    }
  ],
  "type": "web"
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property, such as https://example.com/ or sc-domain:example.com
startDatestringnoStart date in YYYY-MM-DD; defaults to 28 days ago
endDatestringnoEnd date in YYYY-MM-DD; defaults to today
dimensionslist of one of query, page, country, device, date, searchAppearanceno["query"]Dimensions used to group results
rowLimitnumberno25Maximum rows to return
startRownumberno0Zero-based row to start from, for paging through a large result
maxTableRowsnumberno25Cap rows shown in the text table; structured rows are always complete. 0 = summary only.
dimensionFilterGroupsJSON listnoSearch Console dimension filters
typeone of web, image, video, news, discover, googleNewsnoResult type. discover is the Discover feed and googleNews is the Google News app and news.google.com, not the News tab in Search. Both support fewer dimensions than web: neither reports a query dimension
dataStateone of full, allnofull = finalized data (default, ~2-3 day lag); all = include recent partial data
aggregationTypeone of auto, byProperty, byPagenoHow Search Console aggregates rows

maxTableRows caps only the text table; the structured rows stay complete, so 0 returns the totals with no table rather than an empty result. discover and googleNews support fewer dimensions than web: neither reports a query dimension.

keyword_ideas

Expands a seed through Google Autocomplete and returns normalized, deduplicated keyword ideas grouped by discovery family. It uses the public autocomplete endpoint, needs no extra API key, and works without Google credentials unless siteUrl is provided. With a Search Console property, it labels ideas already ranking with their average position, clicks, and impressions over the selected lookback window.

{
  "seed": "technical seo",
  "siteUrl": "sc-domain:example.com",
  "language": "en",
  "country": "us",
  "expansions": ["alphabet", "questions", "prepositions", "comparisons"],
  "days": 90,
  "limit": 100
}
ParameterTypeRequiredDefaultDescription
seedstringyesSeed keyword to expand
siteUrlstringnoOptional Search Console property used to identify queries already ranking
languagestringno"en"Autocomplete interface language passed as hl
countrystringnoAutocomplete country passed as gl
expansionslist of one of alphabet, questions, prepositions, comparisonsno["alphabet","questions","prepositions","comparisons"]Suggestion expansion families to run beyond the bare seed
daysnumberno90Search Console lookback window in days
limitnumberno100Maximum keyword ideas to return

All four expansion families run by default. days defaults to 90 and is capped at 480; limit defaults to 100 and is capped at 500. Individual autocomplete failures are counted without discarding successful suggestions.

search_opportunities

Finds high-impression queries in striking distance of stronger rankings. It groups by query and page, defaults to positions 5 through 20, and returns opportunities ranked by impression-weighted position.

{
  "siteUrl": "sc-domain:example.com",
  "startDate": "2026-06-01",
  "endDate": "2026-06-28",
  "minPosition": 5,
  "maxPosition": 20,
  "minImpressions": 100,
  "limit": 25
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property to analyze
startDatestringnoStart date in YYYY-MM-DD; defaults to the latest 28-day window
endDatestringnoEnd date in YYYY-MM-DD; defaults to today
minPositionnumbernoLowest average position to include; defaults to 5
maxPositionnumbernoHighest average position to include; defaults to 20
minImpressionsnumbernoMinimum impressions required; defaults to 10
limitnumbernoMaximum opportunities to return; defaults to 50

compare_search_periods

Compares a selected window with the immediately preceding equal-length window. It returns the largest click gainers and losers grouped by query or page.

{
  "siteUrl": "sc-domain:example.com",
  "startDate": "2026-06-01",
  "endDate": "2026-06-28",
  "by": "query",
  "limit": 25
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property to analyze
startDatestringnoStart date in YYYY-MM-DD; defaults to the latest 28-day window
endDatestringnoEnd date in YYYY-MM-DD; defaults to today
byone of query, pageno"query"Dimension used to compare performance
limitnumbernoMaximum gainers and losers to return; defaults to 50 each

ctr_gaps

Finds high-impression queries or pages whose CTR trails the average for rows at the same rounded position. The missed-click estimate helps prioritize title and description rewrites.

{
  "siteUrl": "sc-domain:example.com",
  "by": "page",
  "minImpressions": 250,
  "limit": 25
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property to analyze
startDatestringnoStart date in YYYY-MM-DD; defaults to the latest 28-day window
endDatestringnoEnd date in YYYY-MM-DD; defaults to today
byone of query, pageno"query"Dimension used to identify CTR gaps
minImpressionsnumbernoMinimum impressions required; defaults to 100
limitnumbernoMaximum gaps to return; defaults to 50

query_cannibalization

Finds queries for which multiple pages receive Search Console impressions. Results group the competing pages and rank groups by total impressions.

{
  "siteUrl": "sc-domain:example.com",
  "startDate": "2026-06-01",
  "endDate": "2026-06-28",
  "minImpressions": 25
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property to analyze
startDatestringnoStart date in YYYY-MM-DD; defaults to the latest 28-day window
endDatestringnoEnd date in YYYY-MM-DD; defaults to today
minImpressionsnumbernoMinimum impressions per query-page row; defaults to 10

list_sitemaps

Lists sitemap path, submission/download times, pending/index flags, warning/error counts, and content counts.

{
  "siteUrl": "https://www.example.com/"
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property

submit_sitemap

Submits a sitemap and refreshes its current state. This is a write operation. If submission succeeds but the state refresh fails, the result still confirms that Google accepted the write and reports the refresh warning.

{
  "siteUrl": "sc-domain:example.com",
  "feedpath": "https://www.example.com/sitemap.xml"
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property
feedpathstringyesAbsolute URL of the sitemap to submit
dryRunbooleannofalseIf true, report what would be submitted without writing to Search Console

delete_sitemap

Removes a submitted sitemap from a Search Console property. This is a write operation. Set dryRun to true to preview the removal without changing Search Console.

{
  "siteUrl": "sc-domain:example.com",
  "feedpath": "https://www.example.com/sitemap.xml",
  "dryRun": true
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property
feedpathstringyesAbsolute URL of the sitemap to remove
dryRunbooleannofalseIf true, report what would be removed without writing to Search Console

inspect_url

Returns index coverage, verdict, robots state, indexing state, crawl time, fetch state, Google and user canonicals, mobile usability, and rich-result status.

{
  "siteUrl": "sc-domain:example.com",
  "inspectionUrl": "https://www.example.com/products/widget"
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property containing the inspected URL
inspectionUrlstringyesFully qualified URL to inspect

index_coverage

Fetches a sitemap and checks a bounded set of its direct page URLs with Google's URL Inspection API. It returns indexed, not-indexed, and failed counts, the not-indexed URLs and coverage states, full per-URL results, and whether the result was truncated. Sitemap indexes are not followed into child sitemaps.

{
  "siteUrl": "sc-domain:example.com",
  "sitemapUrl": "https://www.example.com/sitemap.xml",
  "maxUrls": 20,
  "concurrency": 3
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property containing the sitemap URLs
sitemapUrlstringyesFully qualified sitemap URL to inspect
maxUrlsnumberno20Maximum URLs to inspect
concurrencynumberno3Concurrent URL Inspection requests

maxUrls defaults to 20 and has a hard maximum of 50. concurrency defaults to 3 and has a hard maximum of 5. These limits protect the URL Inspection API quota, which is approximately 2,000 queries per day and 600 per minute for each property.

request_recrawl

Checks URLs with the URL Inspection API and, when some are not indexed, resubmits the covering sitemap. That resubmission is Google's only supported bulk recrawl signal: there is no request-indexing API, and the Search Console UI's Request Indexing button has no programmatic equivalent. URLs come from urls or are read from sitemapUrl; the sitemap to resubmit is feedpath, defaulting to sitemapUrl. This is a write operation. Set dryRun to true to inspect and report without resubmitting.

{
  "siteUrl": "sc-domain:example.com",
  "sitemapUrl": "https://www.example.com/sitemap.xml",
  "maxUrls": 20,
  "dryRun": true
}
ParameterTypeRequiredDefaultDescription
siteUrlstringyesSearch Console property containing the URLs
urlslist of stringnoExplicit URLs to check; omit to read them from sitemapUrl
sitemapUrlstringnoSitemap to read URLs from; also the default sitemap to resubmit
feedpathstringnoSitemap to resubmit when unindexed URLs are found; defaults to sitemapUrl
maxUrlsnumberno20Maximum sitemap URLs to inspect
concurrencynumberno3Concurrent URL Inspection requests
dryRunbooleannofalseIf true, inspect and report without resubmitting the sitemap

It shares the index_coverage caps (maxUrls up to 50, concurrency up to 5) because both draw on the same URL Inspection quota. Resubmission only prompts a recrawl of pages whose sitemap lastmod is fresh, so keep lastmod accurate for changed URLs.

indexnow_submit

Submits up to 10,000 changed URLs in one call to an IndexNow endpoint. Participating engines (Bing, Yandex, Naver, Seznam, Yep) share submissions with each other. Google does not use IndexNow; use request_recrawl for Google. This is a write operation and supports dryRun. It needs no Google credentials.

{
  "urls": ["https://www.example.com/new-page", "https://www.example.com/updated-page"],
  "key": "your-indexnow-key"
}
ParameterTypeRequiredDefaultDescription
urlslist of stringyesChanged page URLs; one submission covers one host
keystringnoIndexNow key; defaults to SEO_MCP_INDEXNOW_KEY. The same key must be hosted on the site as a text file at https:///.txt (or at keyLocation) containing only the key
keyLocationstringnoURL of the hosted key file when it is not https:///.txt
endpointone of api.indexnow.org, www.bing.com, yandex.com, searchadvisor.naver.com, search.seznam.cz, indexnow.yep.comno"api.indexnow.org"IndexNow endpoint to notify; participating engines share submissions
dryRunbooleannofalseIf true, report what would be submitted without notifying the endpoint

All URLs in one submission must share one host. The key is any 8-128 character value of letters, digits, or dashes, passed as key or SEO_MCP_INDEXNOW_KEY, and must be hosted as a text file containing exactly the key at https://<host>/<key>.txt (or at keyLocation on the same host). Because key file URLs conventionally contain the key, neither the key nor keyLocation is ever echoed in tool output. endpoint defaults to api.indexnow.org; a submission to any participating endpoint reaches all of them.

pagespeed

Returns CrUX field data when available, including LCP, CLS, INP or FID, FCP, and TTFB. It also returns Lighthouse category scores and up to ten highest-savings opportunities.

{
  "url": "https://www.example.com/",
  "strategy": "mobile",
  "category": ["performance", "seo", "accessibility", "best-practices"]
}
ParameterTypeRequiredDefaultDescription
urlstringyesPublic page URL to analyze
strategyone of mobile, desktopno"mobile"Lighthouse device strategy
categorylist of one of performance, seo, accessibility, best-practicesno["performance","seo","accessibility","best-practices"]Lighthouse categories to run
apiKeystringnoOptional PageSpeed Insights API key; defaults to SEO_MCP_PAGESPEED_KEY

strategy defaults to mobile. All four categories are requested by default. apiKey is optional and overrides SEO_MCP_PAGESPEED_KEY for that call.

seo_audit

Fetches up to 10 MB of HTML with redirects enabled, a 15-second timeout, and an identifying user agent. It extracts title and description lengths, canonical, robots, H1s and heading outline, Open Graph and Twitter tags, JSON-LD types, image alt coverage, internal/external links, word count, language, and viewport. It flags missing or duplicate titles, a missing description, missing or multiple H1s, a missing canonical, and missing or invalid JSON-LD.

{
  "url": "https://www.example.com/landing-page"
}
ParameterTypeRequiredDefaultDescription
urlstringyesPublic page URL to audit

audit_site

Fetches a sitemap and audits up to 50 of its page URLs with bounded concurrency. Sitemap indexes are supported with a hard cap of five child sitemap fetches. The result includes compact per-page findings, isolated page-fetch errors, a count of each shared issue, and explicit truncation and skipped counts. It does not require Google credentials.

{
  "sitemapUrl": "https://www.example.com/sitemap.xml",
  "maxPages": 20,
  "concurrency": 5
}
ParameterTypeRequiredDefaultDescription
sitemapUrlstringyesPublic sitemap URL to audit
maxPagesnumberno20Maximum pages to audit
concurrencynumberno5Maximum page fetches in flight

maxPages defaults to 20 and concurrency defaults to 5. Their maximum values are 50 and 10, respectively.

server_version

Which build of the server is answering, where it is running from, and whether it came out of an npx cache. No credentials.

This tool takes no parameters.

Four values look like this one and are not: what npm calls latest, what the version range resolves to, what the plugin manifest declares, and what is actually running. The first three are all readable and none of them answers the question. Checking the command-line tool is not a substitute either, since it is a separate process resolved separately and can be a different build on the same machine.

The install path is the tell. npx reuses a cached build without re-resolving the range and without erroring, so a server can trail the published release while every other signal reads current; a path under _npx is what shows it.

Call it after updating, before reporting anything. npm view <pkg> version reads a local registry cache and can return the previous version for minutes after a successful publish, while dist-tags and the versions array already carry the new one. Two sessions here independently concluded a publish had failed when it had not, on separate releases. A registry read cannot tell a slow publish from a failed one; asking the running process what it is can.

wporg_plugin

Looks up a WordPress.org plugin by slug and returns active installs, downloads, ratings, support threads, and version dates. It uses the public wp.org API and needs no credentials or API key. A plugin published within the last few days is reported with possiblyLagging: true when a field looks empty, because the wp.org API under-reports fresh plugins; the field may be live on the page already.

{ "slug": "akismet" }
ParameterTypeRequiredDefaultDescription
slugstringyesWordPress.org plugin slug, e.g. akismet
downloadDaysnumberno30Days of daily download history to fetch; 0 skips it
includeVersionDistributionbooleannotrueAlso fetch the share of active installs on each plugin version

play_store_stats

Reads the Google Play bulk reports for an app and returns Active Device Installs, plus store-listing visitors and acquisitions grouped by traffic source and search term. hasPlaySearchRows states outright whether any Play search traffic appears, since its absence is a finding rather than an error. Reports lag by days, so lastDatePresent is the last date actually in the files rather than today.

{ "packageName": "com.example.app", "month": "202608" }
ParameterTypeRequiredDefaultDescription
packageNamestringyesAndroid package name, e.g. app.getpsst
monthstringnoReport month as YYYYMM; defaults to the current UTC month. Ignored when startDate and endDate are given
installsDimensionone of overview, country, language, device, os_version, carrier, app_versionno"overview"Which installs report to read. overview is undocumented by Google but present in real buckets; the others are the documented breakdowns
includelist of one of ratings, crashes, reviewsno[]Extra report families to read. Missing files are normal: Google emits a report only when there is something to report
storePerformanceDimensionone of traffic_source, countryno"traffic_source"Which store performance breakdown to read
storePerformanceTotalsbooleannofalseRead the total_ variant instead. It is a different report, not a rollup of the same one: it carries acquisitions only, with no visitors and no conversion rate, and for some apps it covers far fewer dates and attributes every acquisition to a placeholder source
ratingsDimensionone of country, language, device, os_version, carrier, app_versionno"country"Dimension for the ratings report
crashesDimensionone of device, os_version, app_versionno"app_version"Dimension for the crashes report
startDatestringnoWindow start in YYYY-MM-DD. With endDate, reads every month the window touches and filters rows to it
endDatestringnoWindow end in YYYY-MM-DD

Set SEO_MCP_PLAY_BUCKET to the reporting bucket (gs://pubsite_prod_... and the bare name both work) and SEO_MCP_PLAY_CREDENTIALS to a service account key with read access to that bucket, falling back to GOOGLE_APPLICATION_CREDENTIALS. Read access to the bucket is a different grant from the Play Console invite play_vitals needs. month defaults to the current UTC month.

app_store_listing

Reads an App Store listing through App Store Connect and measures each locale's fields against Apple's limits: name 30, subtitle 30, keywords 100, promotional text 170. Apple indexes the name, subtitle, and keyword field only, so the description is reported but never scored, and a field one character over its limit is dropped silently rather than rejected, which is why every field is reported against its limit. Promotional text is called out separately because it is the only one of these that can be changed on a live version without a review.

An app can hold a live record and an editable one at the same time, so state selects which is read and the result states the record and version it used. When the record you asked for does not exist, the other one is reported and a note says so rather than passing it off as what you asked for.

The reported state comes from appVersionState, falling back to the deprecated appStoreState. The two spell the same thing differently: a live listing reads READY_FOR_DISTRIBUTION where the deprecated attribute said READY_FOR_SALE. Output captured before and after that change will differ on the string alone, with nothing having happened to the listing.

{ "bundleId": "com.example.app", "state": "live", "platform": "IOS", "storefronts": ["us", "gb"] }
ParameterTypeRequiredDefaultDescription
appIdstringnoApp Store Connect numeric app id; provide this or bundleId
bundleIdstringnoBundle id, resolved to an app id when appId is not given; provide this or appId
platformone of IOS, MAC_OS, TV_OS, VISION_OSno"IOS"App Store platform whose version is read
stateone of live, editableno"live"Read the live listing or the editable one being prepared for release
storefrontslist of stringno["us"]Storefront country codes for the public ratings lookup

Provide appId or bundleId. Set SEO_MCP_ASC_KEY_PATH to the .p8 private key and SEO_MCP_ASC_KEY_ID to its key id, plus SEO_MCP_ASC_ISSUER_ID for a team key (individual keys have no issuer id). The key and the token it signs never appear in output.

A team key reaches every app on the team, so one key can serve them all. What limits it is the role it was given, and Apple does not let a key's role be changed afterwards: the only edit offered is Revoke. An App Manager key reads listings but not Sales and Trends or analytics reports, so those need a separate key created with Admin, Finance, or Sales and Reports rather than an upgrade of the one you have.

ratings is a list, one entry per requested storefront, not an object keyed by storefront:

{ "ratings": [{ "storefront": "us", "source": "itunes-lookup", "averageUserRating": 4.5, "userRatingCount": 12 }] }

The star rating does not come from App Store Connect. Its API has no aggregate rating resource at all, only age ratings, so the rating is read from the public App Store storefront lookup while every other field on this tool comes from App Store Connect. Two sources reporting one number that looks the same either way, which is why each entry carries source. A rating from a store page and a rating from a private API are not interchangeable and should not be compared as if they were the same measurement.

list_snapshots

Lists the snapshot documents already in the snapshot directory, newest first, with when each was taken, the window it covers, and how many properties, apps, packages and plugins it holds.

{ "limit": 50 }
ParameterTypeRequiredDefaultDescription
limitnumberno50Maximum snapshots to return, newest first

A snapshot pair is worthless if nothing can say which files exist, and every caller was otherwise left keeping its own index of a directory the server owns. A file in the directory that is not a snapshot document is listed with its error rather than hidden, so a name you expect to find never quietly reads as absent. A missing directory is an empty list, not a failure: nothing has been captured yet. total and truncated sit beside the list because the command line prints the structured half alone, where a page cut at limit would otherwise read as the whole history.

snapshot

Captures four surfaces into one timestamped document: Search Console totals and top rows per property, App Store listings, Google Play installs and traffic, and WordPress.org stats. Core Web Vitals field data, Android vitals, App Store sales and App Store reviews are not in it; crux_field_data, play_vitals, app_store_sales and app_store_reviews read those. This is the tool for recording a point in a series, because none of the consoles keep a history you can diff against later.

Search Console totals come from the date dimension, never by summing the query dimension. Google withholds low-volume queries, so a query-level sum undercounts, and that gap reads later as a decline that never happened.

A surface that cannot be read is recorded in place with its error and named in surfacesWithErrors, never omitted, because a surface that silently vanishes reads later as a drop to zero. One slow surface times out without taking the document down.

{
  "properties": ["sc-domain:example.com"],
  "apps": ["1234567890"],
  "packages": ["com.example.app"],
  "slugs": ["akismet"],
  "windowDays": 28,
  "outPath": "2026-09-03.json"
}
ParameterTypeRequiredDefaultDescription
propertieslist of stringno[]Search Console properties to capture
appslist of stringno[]App Store apps, each a numeric app id or a bundle id
packageslist of stringno[]Google Play package names
slugslist of stringno[]WordPress.org plugin slugs
windowDaysnumberno28Search Console window in days, ending today
platformone of IOS, MAC_OS, TV_OS, VISION_OSno"IOS"App Store platform for the app surfaces
storefrontslist of stringno["us"]Storefront country codes for App Store ratings
outPathstringnoFile name or path inside the snapshot directory (SEO_MCP_SNAPSHOT_DIR, default ~/.config/seo-mcp/snapshots); must end in .json, or pass auto to name the file after the moment it was taken. An existing file is not overwritten unless overwrite is true
overwritebooleannofalseReplace an existing file at outPath; without it an existing file is left alone and reported

Pass outPath to write the document where compare_snapshots can read it later, or outPath: "auto" to have it named after the moment it was taken (2026-09-04T00-15Z.json), which is what makes an unattended run produce a series rather than one file overwritten forever. It is a file name inside the snapshot directory, SEO_MCP_SNAPSHOT_DIR or ~/.config/seo-mcp/snapshots by default; a path that resolves outside that directory or does not end in .json is refused, and an existing file is left in place and reported unless you pass overwrite: true. A model chooses this string, so the directory is the boundary that keeps a tool call from truncating anything else on the machine. Position and CTR are null rather than 0 when a window has no impressions, so an empty window never compares against real data as a collapse.

compare_snapshots

Reads two snapshot documents and reports what changed between them: clicks, impressions and position per property, page-level and query-level movers above an impressions floor, install and rating deltas, App Store version and locale-count changes, the per-locale name, subtitle, keyword, promotional-text and description lengths plus which fields crossed a character limit, Google Play traffic sources by visitors and acquisitions, and the WordPress.org five-star histogram.

{ "from": "2026-08-06.json", "to": "2026-09-03.json", "minImpressions": 100 }
ParameterTypeRequiredDefaultDescription
fromstringyesSnapshot file name or path inside the snapshot directory; latest names the newest snapshot on disk and previous the one before it
tostringyesSnapshot file name or path inside the snapshot directory; latest names the newest snapshot on disk and previous the one before it
minImpressionsnumberno100Ignore page position moves below this many impressions on both sides

from and to resolve inside the same snapshot directory as snapshot's outPath, so this tool reads snapshots and nothing else. Either one also takes latest or previous instead of a file name, which is the comparison almost every caller actually wants and the only one they can ask for without listing the directory first. Both skip a file that will not parse, and asking for previous with a single snapshot on disk says so rather than comparing a document against itself.

It does arithmetic, never judgement. It will not tell you whether a change was good or what caused it, because a diff cannot support that claim. A surface that failed or is missing on either side is marked not comparable and named, so a collection failure is never read as a change, and a file that is not a snapshot document is refused rather than half-parsed.

Snapshots taken before a field was captured still compare. A field one side does not carry comes back as a null delta rather than as a change, and an app pair with no per-locale lengths on either side reports localesComparable: false instead of a listing emptied to zero characters.

app_store_reviews

Reads App Store customer reviews and your responses, filtered by star rating or storefront, following Apple's own paging cursor.

{ "bundleId": "com.example.app", "rating": [1, 2], "territory": "USA", "limit": 100 }
ParameterTypeRequiredDefaultDescription
appIdstringnoApp Store Connect numeric app id; provide this or bundleId
bundleIdstringnoBundle id; provide this or appId
ratinglist of numbernoOnly these star ratings
territorystringnoOnly reviews from this storefront
sortone of -createdDate, createdDate, rating, -ratingno"-createdDate"Sort order; newest first by default
limitnumberno100Maximum reviews to return across pages
maxPagesnumberno5Maximum pages to follow

It reports meanOfFetched and histogramOfFetched, never "the rating". Those describe only the reviews this call returned, and a filtered or truncated page would make a mean a different number wearing the same name. App Store Connect exposes no aggregate rating resource at all, which is verifiable in Apple's own OpenAPI specification: every path matching "rating" is an age rating.

app_store_discovery

Reads the App Store surfaces beyond the listing text: search keywords (Apple's actual indexed keyword list, held per locale), app tags, product page optimization experiments, custom product pages, in-app events, territory availability, and review summarizations.

{ "bundleId": "com.example.app", "locales": ["en-US", "ar-SA"], "platform": "IOS" }
ParameterTypeRequiredDefaultDescription
appIdstringnoApp Store Connect numeric app id; provide this or bundleId
bundleIdstringnoBundle id; provide this or appId
includelist of one of searchKeywords, appTags, experiments, customProductPages, appEvents, availability, reviewSummarizationsno[]Which discovery surfaces to read; empty reads all of them
limitnumberno50Rows per resource
localeslist of stringno["en-US"]Locales for per-locale resources such as searchKeywords
platformone of IOS, MAC_OS, TV_OS, VISION_OSno"IOS"Platform for resources that require one
includeRowsbooleannofalseInclude every raw row as well as the counts; off by default so a summary call stays small

Each resource carries its own required parameters: searchKeywords needs both a platfor

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y seo-console-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-ibrahimhajjaj-seo-console-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "seo-console-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

seo-console-mcpnpm

Compatible MCP Clients

SEO Console works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More