google-webtools-mcp
Analyze and manage Google Search Console and Google Analytics 4 data (39 tools across 5 Google APIs) for SEO auditing, reporting, and property administration.
GSC properties — list all accessible properties with permission levels, get details for one, register or remove properties.
Sitemaps — list submitted sitemaps with status/errors, inspect one sitemap's counts and warnings, submit or withdraw a sitemap.
Search performance — run raw search analytics with custom dates/dimensions/filters, get period summaries with period-over-period trends, compare two date ranges, rank top queries or pages with CTR benchmarks, split traffic by device.
Opportunities — find quick wins near page one, spot declining pages and queries, find pages with below-benchmark CTR plus fix notes, uncover content gaps and zero-click queries, and cluster demand by intent to plan what to build next.
Indexing — inspect a single URL's coverage/mobile/rich-result status, batch-inspect up to 50 URLs, or audit top traffic pages for indexing and canonical issues.
Query analysis — classify the query landscape (intent, branded vs non-branded, position bands), detect new/rising queries, and find cannibalization between your own pages.
Reports — generate a one-call weekly SEO digest or an A–F health grade with sub-scores.
GA4 administration — list accounts/properties, inspect property config, create properties and web data streams (write ops), and list or read data streams and measurement IDs.
GA4 reporting — run standard reports over absolute or relative date ranges, run realtime (last 30 min) reports, and discover valid dimensions/metrics including custom ones.
Site verification — fetch a verification token with placement instructions (FILE, DNS_TXT, META, ANALYTICS) and complete ownership verification.
Post-processing layer — most tools return readable Summary/Data blocks with CTR benchmarks, trend detection, recommendations, and limitations, backed by an in-memory TTL+LRU cache, rate limiter, and stdio or HTTP transports.
Limitations — GSC data lags 2–3 days with 16 months max history; no Google Ads, PageSpeed, CrUX, or Indexing API; write operations (add/delete property, sitemap changes, GA4 property/stream creation, verification) act on live configuration with no dry-run.
Provides integration with Google Analytics 4 (GA4), enabling account and property discovery, property and data stream management, metadata discovery, and standard or realtime reporting through the GA4 Admin and Data APIs.
Provides integration with Google Search Console, enabling property management, sitemap submission and monitoring, search analytics, URL inspection, indexing issue audits, query and opportunity analysis, and SEO reporting/health checks.
google-webtools-mcp
An MCP server that gives an AI agent direct access to Google Search Console and Google Analytics 4 — property management, search performance analysis, indexing checks, GA4 reporting, and site verification.
For AI agents
If an agent is driving this server, point it at SKILL.md first (Russian). It covers the working order — property discovery, verification, sitemaps, indexing checks, the regular audit path — how to read a URL Inspection result, what Search Console does not expose, which calls burn quota, and which tools write to live configuration.
Related MCP server: gsc-mcp
What it does
The server exposes 39 tools built on five Google APIs:
API | Used for |
Search Console API ( | Properties, sitemaps, search analytics |
Search Console API ( | URL Inspection |
Google Analytics Admin API (v1beta) | GA4 accounts, properties, data streams |
Google Analytics Data API (v1beta) | GA4 reports, realtime, metadata |
Site Verification API (v1) | Verification tokens, ownership verification |
Beyond raw API access, tool responses are post-processed by a local analysis layer:
position-based CTR benchmarks, trend detection, query intent classification,
opportunity scoring, and a recommendation engine. Most tools return a readable
Summary and Data block rather than bare JSON, plus Recommendations and
Limitations sections when there is something worth saying.
Infrastructure: an in-memory TTL+LRU cache (search analytics 15 min when the range ends within the last 2 days and 1 h once it is older, sitemaps 15 min, site lists 30 min, URL inspections 1 h), a rate limiter (20 req/s, burst 30), and two transports — stdio (default) and stateless Streamable HTTP.
Tools
Search Console properties (4)
Tool | When to use |
| Starting point — see every GSC property you can access and your permission level on each. |
| Check the type and permission level of one specific property. |
| Register a new site in Search Console (verification is a separate step). |
| Drop a property from the authenticated account's Search Console site list. Historical data is not destroyed — the property can be added back. |
Sitemaps (4)
Tool | When to use |
| See which sitemaps are submitted and whether Google reports errors or warnings. |
| Drill into one sitemap: URL counts by content type, last download time, error and warning counts. |
| Submit a new sitemap after publishing or moving one. |
| Withdraw a sitemap that is stale, duplicated, or returning errors. |
Search performance (6)
Tool | When to use |
| The raw query — full control over dimensions, filters, search type, row limit, data state, aggregation. Use when the shaped tools below don't fit. |
| "How are we doing?" — clicks, impressions, CTR, position with period-over-period comparison. Trend advice is withheld when the previous period returned no data at all. |
| Compare two explicit date ranges side by side (before/after a release, seasonal comparison). |
| Top queries by clicks, each scored against the CTR benchmark for its position. |
| Top pages by clicks with the same CTR analysis. |
| Split traffic across desktop, mobile, and tablet — spot device-specific problems. |
Opportunities (5)
Tool | When to use |
| "Where is money left on the table?" — query/page pairs ranking well but under-clicked, and those sitting just off page 1. Each pair lands in exactly one bucket (CTR 1-3, quick gain >3 to 10, page two >10 to 20), so the counts and click estimates add up over the period you asked for. |
| Catch traffic loss while it is still recoverable — compares the current period against the previous one and reports declining pages and declining queries as two separate rankings. |
| Find pages whose CTR is far below the benchmark for their position, with per-page fix suggestions. |
| Queries landing on the wrong page, high-impression zero-click queries, topics that need a dedicated page. |
| Content planning — groups queries by user intent (question, comparison, problem, buying) into topic clusters. |
Indexing (3)
Tool | When to use |
| Why is this one URL not showing up? Indexing status, mobile usability, rich results — including the per-item validation issues behind a FAIL verdict. |
| Same check across a list of URLs (max 50 per call). |
| Audit your top traffic pages for indexing failures, canonical mismatches, missing canonicals, and mobile problems. A URL the API errors on is reported as not inspected; the rest of the audit still runs. |
Query analysis (3)
Tool | When to use |
| Understand the shape of your demand — intent mix, branded vs non-branded, position distribution. |
| Surface genuinely new and fast-rising queries by diffing this period against the previous one. |
| Detect several of your own pages competing for the same query. The winner is the page with the most clicks, not the best average position, and queries where only one page carries real volume get no consolidation advice. |
Reports (2)
Tool | When to use |
| One-call weekly digest: trends, growers, decliners, quick wins, sitemap health, prioritized actions. |
| Overall A–F grade with sub-scores for traffic trend, CTR efficiency, position distribution, and sitemap health. |
GA4 administration (7)
Tool | When to use |
| See every GA4 account and property the credentials can reach. |
| List properties under one specific account. |
| Inspect a property's configuration. |
| Provision a new GA4 property. Write operation. |
| Create a web data stream and get back its measurement ID (for installing the tag). Write operation. |
| List a property's data streams. |
| Get one data stream's details, including its measurement ID. |
GA4 reporting (3)
Tool | When to use |
| Any GA4 report — pick metrics, dimensions, and a date range (absolute or relative like |
| Who is on the site right now. |
| Discover which dimensions and metrics (including custom ones) a property supports — run this before guessing metric names. |
Site verification (2)
Tool | When to use |
| Get the token to place, plus method-specific instructions. Methods: |
| Complete verification once the token is in place. |
Setup
1. Get Google credentials
Enable these APIs in your Google Cloud project: Search Console API, Google Analytics Admin API, Google Analytics Data API, and Site Verification API.
The server requests these OAuth scopes:
https://www.googleapis.com/auth/webmasters
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
https://www.googleapis.com/auth/siteverification.verify_onlyOption A — Service account (best for servers and automation):
Google Cloud Console → IAM & Admin → Service Accounts → create one.
Add a key → Create new key → JSON → download it.
In Search Console → Settings → Users and permissions → add the service account's email address.
In GA4 → Admin → Property access management → add the same email.
Option B — OAuth 2.0 (best for personal, local use):
Google Cloud Console → APIs & Services → Credentials → Create credentials → OAuth client ID → Desktop app.
Download the client secrets JSON.
On first run, the server prints an authorization URL to stderr and starts a temporary local callback listener. Open the URL, consent, done.
The token is stored at
~/.google-webtools-mcp/token.jsonand refreshed automatically, so you authorize only once.
2. Environment variables
Variable | Purpose |
| Path to a service account JSON key file. |
| The service account key as an inline JSON string — for Docker and CI, where mounting a file is awkward. |
| Path to an OAuth client secrets JSON file. |
| HTTP transport port. Default |
Authentication methods are tried in this order, and the first one that yields
usable credentials wins. A method that fails is recorded and the next one is
tried: if GOOGLE_APPLICATION_CREDENTIALS points at a missing or malformed
file, the server does not stop there — with OAuth configured (and a saved token)
it starts under the OAuth account instead. Check the [auth] Authenticated via …
line on stderr to see which identity was actually used.
Service account —
GOOGLE_APPLICATION_CREDENTIALS, thenGOOGLE_SERVICE_ACCOUNT_KEY, then./credentials.jsonif itstypeisservice_account.Application Default Credentials (
gcloud auth application-default login) — skipped ifGOOGLE_APPLICATION_CREDENTIALSis set.OAuth via
GSC_OAUTH_CLIENT_SECRETS_FILE../credentials.jsonin the working directory, if it looks like OAuth client secrets (has aninstalledorwebkey).
If none succeed, the server prints a setup guide to stderr and starts anyway, so a host or a directory can still list its tools without keys. Every tool call then looks for credentials again and, until one method works, returns the same error with the setup hint instead of calling Google. Fixing the key file needs no restart.
3. Install
docker run -i --rm \
-v /absolute/path/to/service-account.json:/creds/sa.json:ro \
-e GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json \
ghcr.io/stufently/google-webtools-mcp:1.2.2Replace /absolute/path/to/service-account.json with the key file from step 1 (Docker needs an absolute path), then paste the command. Docker pulls the image on the first run (amd64 and arm64), so nothing else needs installing. It should print Server running on stdio to stderr and wait for a client (Ctrl+C to quit). Every client block below runs this same docker run; the key file is mounted read-only and never written into the client config.
The image covers the service account. OAuth does not work in a container on the first run (see Docker); for OAuth, build from source.
Verified clients and platforms
Only what has actually been run is listed as verified. Everything else in Connecting it is a documented config that nobody has checked end to end.
Client / runtime | OS | How it runs | Status | Evidence |
Claude Code 2.1 | Ubuntu 26.04 LTS, x86_64 | Docker image built from this repo, stdio, gcloud ADC mounted read-only | Verified | Daily use on the maintainer's host |
Codex CLI 0.162 | Ubuntu 26.04 LTS, x86_64 | Same Docker image, stdio | Configured, not checked separately | Maintainer's host config |
Node.js 22, 24, 26 | Ubuntu ( |
| Verified in CI |
|
Docker image | Ubuntu ( |
| Verified in CI |
|
Claude Desktop ( | macOS, Windows | Desktop Extension | Not verified | Bundle is built in CI, never installed in a real Desktop |
Cursor, Windsurf, Zed | any | Configs below | Not verified | Documented only |
macOS, Windows | — | Any client | Not verified | No CI runner on these systems |
Connecting it
Each block below starts the server with docker and the arguments from the install command above. The only thing to change is /absolute/path/to/service-account.json.
Claude Code
Project file .mcp.json, at the root of the project:
{
"mcpServers": {
"google-webtools": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/absolute/path/to/service-account.json:/creds/sa.json:ro",
"-e",
"GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
]
}
}
}The same server can be registered from a terminal:
claude mcp add google-webtools -- docker run -i --rm \
-v /absolute/path/to/service-account.json:/creds/sa.json:ro \
-e GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json \
ghcr.io/stufently/google-webtools-mcp:1.2.2Add --scope user to make it available in every project.
Claude Desktop
claude_desktop_config.json — macOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\Claude\claude_desktop_config.json, Linux ~/.config/Claude/claude_desktop_config.json. Restart Claude Desktop after saving.
{
"mcpServers": {
"google-webtools": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/absolute/path/to/service-account.json:/creds/sa.json:ro",
"-e",
"GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
]
}
}
}Claude Desktop can also install this server in one click. Download the .mcpb from https://github.com/stufently/google-webtools-mcp/releases/latest and open it. Desktop asks for the service account JSON key, which must belong to an account added in Search Console and GA4.
The same release includes checksums.txt with a SHA256 for each .mcpb. Download that file next to the bundle and check it:
sha256sum -c --ignore-missing checksums.txt # run next to the downloaded .mcpbOn macOS, shasum -a 256 -c --ignore-missing checksums.txt does the same check.
Releases from the next tag on also carry a GitHub build provenance attestation for each
.mcpb, signed in the release workflow. Check that a bundle was built by this
repository's workflow and not swapped afterwards (needs the GitHub CLI):
gh attestation verify <bundle>.mcpb --repo stufently/google-webtools-mcpCursor
After installing, replace /absolute/path/to/service-account.json in ~/.cursor/mcp.json with the path to your key file. Or add the block below by hand.
~/.cursor/mcp.json, or .cursor/mcp.json in a project:
{
"mcpServers": {
"google-webtools": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/absolute/path/to/service-account.json:/creds/sa.json:ro",
"-e",
"GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
]
}
}
}Windsurf
mcp_config.json. On macOS and Linux that is ~/.config/devin/mcp_config.json (or $XDG_CONFIG_HOME/devin/mcp_config.json). On Windows it is %APPDATA%\devin\mcp_config.json. Older builds used ~/.codeium/windsurf/mcp_config.json.
{
"mcpServers": {
"google-webtools": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/absolute/path/to/service-account.json:/creds/sa.json:ro",
"-e",
"GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
]
}
}
}Zed
Zed calls MCP servers context servers. The file is settings.json (zed: open settings):
{
"context_servers": {
"google-webtools": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/absolute/path/to/service-account.json:/creds/sa.json:ro",
"-e",
"GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
],
"env": {}
}
}
}Codex
codex mcp add google-webtools -- docker run -i --rm \
-v /absolute/path/to/service-account.json:/creds/sa.json:ro \
-e GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json \
ghcr.io/stufently/google-webtools-mcp:1.2.2Or by hand, in ~/.codex/config.toml:
[mcp_servers.google-webtools]
command = "docker"
args = [
"run", "-i", "--rm",
"-v", "/absolute/path/to/service-account.json:/creds/sa.json:ro",
"-e", "GOOGLE_APPLICATION_CREDENTIALS=/creds/sa.json",
"ghcr.io/stufently/google-webtools-mcp:1.2.2",
]Key as a string instead of a file
Where mounting a file is awkward (CI, a remote runner), pass the whole key JSON
in GOOGLE_SERVICE_ACCOUNT_KEY and let Docker forward it from the environment:
replace the -v … and -e GOOGLE_APPLICATION_CREDENTIALS=… arguments with
-e GOOGLE_SERVICE_ACCOUNT_KEY, and set the variable in your shell
(export GOOGLE_SERVICE_ACCOUNT_KEY="$(cat service-account.json)") or in the
client's env block. Inside a JSON or TOML config the key must be a single
escaped string, not pasted JSON: jq -c . service-account.json | jq -R .
prints it ready to paste. This is
also what the MCP registry entry
io.github.stufently/google-webtools-mcp asks for.
Build from source
Needed for OAuth, or to run without Docker. Requires Node.js 22 or newer.
git clone https://github.com/stufently/google-webtools-mcp.git
cd google-webtools-mcp
npm install
npm run buildThen use node as the command and /path/to/google-webtools-mcp/dist/cli.js as its only argument, with the credentials in env, for example:
claude mcp add google-webtools \
--env GSC_OAUTH_CLIENT_SECRETS_FILE=/path/to/client-secrets.json \
-- node /path/to/google-webtools-mcp/dist/cli.jsHTTP transport
For a client that talks to the server over the network instead of spawning it. The mode is stateless: every POST /mcp is handled by a fresh MCP server instance, no Mcp-Session-Id is issued, and requests can run in parallel. The Google credentials, cache and rate limiter are shared across requests.
node dist/cli.js --http # listens on :3000
PORT=8080 node dist/cli.js --http # or pick a portEndpoints:
POST /mcp— MCP JSON-RPC (Streamable HTTP). SendAccept: application/json, text/event-stream.GET /health— liveness, returns{"status":"ok","auth":"<method>"}.GET/DELETE /mcpreturn 405: there is no server-to-client stream and no session to terminate.
There is no authentication on the HTTP endpoint and it listens on all interfaces, while the tools act with your Google credentials (including write tools). Keep it on localhost or behind an authenticating proxy.
Docker
The OAuth consent callback listens on a random port on 127.0.0.1 inside the container, so a browser on the host cannot reach it and a first OAuth run in Docker times out. Either use a service account (the install command above), or authorize once outside Docker and copy ~/.google-webtools-mcp/token.json into the token volume.
docker compose up --buildThe bundled docker-compose.yml mounts ./credentials read-only and keeps the OAuth token in a named volume so it survives container rebuilds. The Dockerfile compiles the TypeScript itself, so no local dist/ is needed; it is the same build that is published to GHCR.
Example prompts
Why did my site lose clicks last week?
Which pages rank close to page one but get almost no clicks?
Are these URLs indexed, and what is wrong with the ones that are not?
What should we publish next, based on the queries we already show up for?
How is search traffic split between phones and desktops?
More prompts
Create a GA4 property for example.com with a web stream and give me the measurement id to install.
Where are my own pages competing for the same query?
Limitations
Search Console data lag. Search analytics data is typically 2–3 days behind, and the lag drifts. Every named period (
last7d,last28d, …) is therefore anchored to the last day the API reports as complete — read from thefirst_incomplete_datethe API returns for adataState: "all"query grouped by date — rather than to yesterday, so the newest days are excluded on purpose and period-over-period comparisons are not distorted by a half-collected tail.get_search_analyticsstill takes an explicitdataStateand explicit dates when you want the fresh edge.16 months of history, maximum. That is a Search Console API limit, not a server limit.
Row sampling and caps. Search analytics is capped at 25,000 rows per request; GA4 reports at 100,000. Large GA4 date ranges may be sampled by Google.
batch_inspect_urlshandles 50 URLs per call, and the URL Inspection API has its own daily quota per property.Site verification is not one-click. The server hands you a token and instructions; you still have to place the file, DNS record, or meta tag yourself before calling
gsc_verify_site.Domain properties can't use FILE or META verification — use
DNS_TXT.No Google Ads, PageSpeed Insights, CrUX, or Indexing API. This server covers Search Console, GA4, and Site Verification only.
Cache is in-memory and per-process. It resets whenever the server restarts and is not shared between instances.
Write operations are real.
add_property,delete_property,submit_sitemap,delete_sitemap,ga4_create_property,ga4_create_data_stream, andgsc_verify_sitechange live configuration, and there is no dry-run mode. The Search Console ones are reversible by re-adding the property or re-submitting the sitemap; a created GA4 property or data stream is not something this server can remove.
Development
npm install
npm run build # bundle with tsup
npm run dev # rebuild on change
npm test # vitest
npm run lint # tsc --noEmitRequires Node.js 22 or newer.
Releasing
The version lives in package.json. server.json (the MCP registry entry) and
every ghcr.io/stufently/google-webtools-mcp:<tag> in this README are derived
from it, never edited by hand:
npm version patch --no-git-tag-version # or minor / major
# Docker instead of a local Node:
# docker run --rm -u "$(id -u):$(id -g)" -v "$PWD":/app -w /app node:24-slim \
# npm version patch --no-git-tag-versionnpm version bumps package.json and the lockfile, then its version
lifecycle script (scripts/sync-version.mjs) rewrites server.json and the
image tags here (a plain npm version patch also stages them, so its own
commit and tag are complete — but tag only after CI is green, as below). Add a
CHANGELOG.md section, commit, push to main and wait
for CI — its Versions agree step (npm run check:version) fails if any of
the three disagree. Then tag and push the tag:
git tag v1.2.3 && git push origin v1.2.3The Publish workflow builds and pushes the image (:<version> and
:latest) and publishes server.json to the MCP registry; it refuses a tag
that differs from package.json. The MCPB workflow, on the same tag,
builds the Desktop Extension with scripts/build-mcpb.sh, writes
dist-mcpb/checksums.txt, attests build provenance for every bundle, and
uploads the .mcpb bundles and that checksum file to the GitHub Release. It does not push the image or
the registry entry.
Credits
This project started as a fork of awesome-gsc-mcp by Magdoub, which provided the Search Console tools, the analysis layer (CTR benchmarks, trend detection, query classification, opportunity scoring, recommendations), the cache and the rate limiter. The GA4 Admin/Data and Site Verification tools, the authentication rework and the later fixes were added here. The original is published under the MIT license.
License
MIT — see LICENSE. The copyright notice of the original project is kept alongside this one.
Available Tools
39 toolsadd_propertyAIdempotent
Register a site URL or a domain as a Google Search Console property on the authenticated account. Use when the user asks to add a site to Search Console. Adding a property does not verify it. Call gsc_get_verification_token and then gsc_verify_site to prove ownership, and call list_properties to see sites that are already listed.
Inputs: siteUrl (required).
analyze_query_landscapeARead-onlyIdempotent
Classify the Search Console queries of a property by intent, branded versus non-branded demand, and position band. Use when the user wants the shape of search demand rather than a list of winners. Call find_new_queries for queries that just appeared, and call find_cannibalization when several pages share one query.
Inputs: siteUrl (required), period, searchType, minImpressions.
batch_inspect_urlsARead-onlyIdempotent
Inspect up to 50 URLs in one call and group them into indexed, not indexed, and errors. Indexed URLs show coverage state and last crawl; not-indexed URLs show verdict, coverage state, robots.txt state, and page fetch state; URLs without index data are listed as errors. Use when the user hands over a list of URLs to check. Call inspect_url for a single URL, and call check_indexing_issues when they want the top traffic pages audited without supplying the list.
Inputs: urls (required), siteUrl (required).
check_indexing_issuesARead-onlyIdempotent
Audit the top traffic pages of a property for indexing failures, canonical mismatches, missing canonicals, and mobile problems. Use when the user wants an indexing health pass rather than a check of URLs they already named. Call inspect_url or batch_inspect_urls when they already have the URL list.
Inputs: siteUrl (required), limit.
compare_periodsARead-onlyIdempotent
Compare Search Console clicks, impressions, CTR, and position between two explicit date ranges, optionally grouped by a dimension. Use when the user names a before and an after, such as a release or a season. Call get_performance_summary when they want the latest period against the one just before it, without choosing dates.
Inputs: siteUrl (required), period1EndDate (required), period2EndDate (required), period1StartDate (required), +3 more.
delete_propertyADestructiveIdempotent
Remove a Google Search Console property from the authenticated account site list. Use when the user explicitly asks to drop a property. The property can be added back later, and this call does not erase historical data held by Google. Call delete_sitemap to withdraw a sitemap instead, and call add_property to register the site again.
Inputs: siteUrl (required).
delete_sitemapADestructiveIdempotent
Withdraw a previously submitted sitemap from a Google Search Console property. Use when the user asks to remove a stale, duplicated, or broken sitemap. Removing the sitemap does not drop its URLs from the Google index. Call submit_sitemap to file that feed again, and call list_sitemaps to see what is still submitted.
Inputs: siteUrl (required), feedpath (required).
find_cannibalizationARead-onlyIdempotent
Detect queries where more than one page of the property ranks, and name the page that wins the clicks. Use when the user asks whether their own pages compete for the same query. Call find_content_gaps when the query lands on the wrong page, and call get_top_pages for a plain page ranking.
Inputs: siteUrl (required), period, searchType, minImpressions, +1 more.
find_content_gapsARead-onlyIdempotent
Find Search Console queries that land on the wrong page, high-impression queries with no clicks, and topics that still need a dedicated page. Use when the user asks what content is missing. Call find_what_to_build_next to group that demand by intent, and call find_cannibalization when several pages already compete for one query.
Inputs: siteUrl (required), period, searchType, minImpressions.
find_ctr_opportunitiesARead-onlyIdempotent
Find pages whose Search Console click-through rate sits well below the benchmark for their average position, with a fix note for each page. Use when the user asks which titles or snippets are wasting impressions. Call find_quick_wins for query and page pairs near page one, and call get_top_pages for a plain traffic ranking.
Inputs: siteUrl (required), period, searchType, minImpressions.
find_declining_contentARead-onlyIdempotent
Compare the current Search Console period with the previous one and rank the pages and the queries that lost clicks. Use when the user asks what stopped getting traffic or what dropped recently. Call find_quick_wins for under-clicked rankings that are not necessarily declining, and call weekly_seo_report for a full weekly digest.
Inputs: siteUrl (required), period, searchType, minClicksInPrevious.
find_new_queriesARead-onlyIdempotent
Find queries that are new or rising fast by diffing this Search Console period against the previous one. Use when the user asks what people started searching recently. Call analyze_query_landscape for the overall mix of intent, and call find_what_to_build_next when they want those queries grouped into topics to write.
Inputs: siteUrl (required), period, searchType, minImpressions.
find_quick_winsARead-onlyIdempotent
Find query and page pairs that rank well but are under-clicked, sit just off page one, or would gain clicks from a small position push. Use when the user asks where search traffic is being left on the table. Call find_ctr_opportunities for page-level CTR gaps, and call find_declining_content when the problem is traffic that is already falling.
Inputs: siteUrl (required), period, searchType, minImpressions.
find_what_to_build_nextARead-onlyIdempotent
Group Search Console queries by user intent, covering questions, comparisons, problems, and buying signals, into topic clusters for what to write next. Use when the user asks what content to create. Call find_content_gaps for mismatched landing pages and zero-click queries, and call analyze_query_landscape for the overall intent mix.
Inputs: siteUrl (required), period, searchType, minImpressions.
ga4_create_data_streamA
Create a web data stream on a Google Analytics 4 property and return its measurement id for the tag. Use when the user needs a measurement id to install analytics on a site. This server cannot delete the stream afterwards. Call ga4_list_data_streams if a stream may already exist, and call ga4_create_property first when the property itself does not exist yet.
Inputs: url (required), property_id (required), stream_name.
ga4_create_propertyA
Create a new Google Analytics 4 property under an account, with a display name, timezone, and currency. Use when the user asks to provision a GA4 property. This server cannot remove the property afterwards. Call ga4_list_properties to see properties that already exist, and call ga4_create_data_stream next when they need a measurement id.
Inputs: timezone (required), account_id (required), display_name (required), currency_code, +1 more.
ga4_get_data_streamARead-onlyIdempotent
Read one Google Analytics 4 data stream, including its measurement id, default URI, and created and updated times. Use when the user names a stream and wants its measurement id or settings. Call ga4_list_data_streams when the stream id is not known yet.
Inputs: stream_id (required), property_id (required).
ga4_get_metadataARead-onlyIdempotent
List the dimensions and metrics a Google Analytics 4 property accepts, including custom definitions. Use when a report needs valid metric and dimension names and guessing would be wrong. Call ga4_run_report once the names are known; this tool does not return the numbers.
Inputs: property_id (required).
ga4_get_propertyARead-onlyIdempotent
Read one Google Analytics 4 property display name, timezone, currency, industry, and parent account. Use when the user asks how a known property is configured. Call ga4_list_properties to find the id first, and call ga4_list_data_streams for the streams on that property.
Inputs: property_id (required).
ga4_list_accountsARead-onlyIdempotent
List every Google Analytics 4 account the credentials can reach, and the properties under each account. Use when the user does not yet know the account or property id. Call ga4_list_properties when they already named an account, and call ga4_get_property for one property settings.
Inputs: no named parameters.
ga4_list_data_streamsARead-onlyIdempotent
List the data streams on a Google Analytics 4 property, including each web stream measurement id and default URI. Use when the user asks which streams or measurement ids a property already has. Call ga4_get_data_stream for one stream, and call ga4_create_data_stream only when they want a new stream.
Inputs: property_id (required).
ga4_list_propertiesARead-onlyIdempotent
List Google Analytics 4 properties under one account, including timezone, currency, and when each property was created. Use when the user names an account and wants its properties. Call ga4_list_accounts when the account id is unknown, and call ga4_get_property to open one property.
Inputs: account_id (required).
ga4_run_realtime_reportARead-onlyIdempotent
Run a Google Analytics 4 realtime report of active users and on-site activity from the last thirty minutes. Use when the user asks who is on the site right now. Call ga4_run_report for any date range older than that live window, and call ga4_get_metadata if a realtime metric name is rejected.
Inputs: metrics (required), property_id (required), dimensions.
ga4_run_reportARead-onlyIdempotent
Run a Google Analytics 4 report for chosen metrics, dimensions, and an absolute or relative date range. Use when the user asks for historical GA4 numbers such as users, sessions, or page views. Call ga4_run_realtime_report for who is on the site right now, and call ga4_get_metadata before guessing a custom metric name.
Inputs: metrics (required), end_date (required), start_date (required), property_id (required), +2 more.
get_performance_summaryARead-onlyIdempotent
Summarize clicks, impressions, CTR, and average position for one property against the previous period of the same length. Use when the user asks how search traffic is doing over a named period such as the last 28 days. Call compare_periods when they name two specific date ranges, and call get_search_analytics when they need the raw rows.
Inputs: siteUrl (required), period, searchType.
get_property_detailsARead-onlyIdempotent
Read the type, permission level, and verification state of one Google Search Console property. Use when the user names a specific site and wants to know how that property is registered. Call list_properties when the property URL is not known yet.
Inputs: siteUrl (required).
get_search_analyticsARead-onlyIdempotent
Query raw Google Search Console search analytics with explicit dates, dimensions, filters, search type, row limit, and data state. Use when the user needs a custom breakdown that the shaped reports do not offer. Call get_performance_summary for a period overview, call get_top_queries or get_top_pages for a ranking, and call compare_periods for two named date ranges.
Inputs: endDate (required), siteUrl (required), startDate (required), filters, +5 more.
get_sitemap_detailsARead-onlyIdempotent
Read one submitted sitemap, including its type, last download, URL counts by content type, and error and warning totals. Use when the user names a sitemap and wants its processing status. Call list_sitemaps when they do not yet know which feed to open.
Inputs: siteUrl (required), feedpath (required).
get_top_pagesARead-onlyIdempotent
List the top Search Console pages by clicks and score each page against the CTR benchmark for its position. Use when the user asks which URLs earn the search traffic. Call get_top_queries for queries, call get_traffic_by_device for a device split, and call find_ctr_opportunities for pages far below the benchmark.
Inputs: siteUrl (required), limit, query, device, +2 more.
get_top_queriesARead-onlyIdempotent
List the top Search Console queries by clicks and score each query against the CTR benchmark for its position. Use when the user asks which queries bring traffic or which queries underperform their rank. Call get_top_pages for pages rather than queries, and call find_quick_wins for opportunity buckets instead of a plain ranking.
Inputs: siteUrl (required), page, limit, device, +3 more.
get_traffic_by_deviceARead-onlyIdempotent
Split Search Console clicks, impressions, CTR, and average position across desktop, mobile, and tablet. Use when the user asks whether one device is underperforming the others. Call get_top_pages or get_top_queries when they want the pages or queries behind that device split.
Inputs: siteUrl (required), period, searchType.
gsc_get_verification_tokenARead-onlyIdempotent
Request a site-verification token for FILE, DNS_TXT, META, or ANALYTICS, and the steps for placing that token. Use when the user needs the token before they can prove they own a site. Call gsc_verify_site only after the token is in place. Domain properties cannot use FILE or META; call this tool with DNS_TXT for those.
Inputs: method (required), site_url (required).
gsc_verify_siteAIdempotent
Record Google site ownership for a URL or a domain once the verification token is already in place. Use when the user says the file, DNS record, meta tag, or Analytics tag is published and asks to finish verification. Call gsc_get_verification_token first if they do not have a token yet. This does not add the Search Console property; call add_property for that.
Inputs: method (required), site_url (required).
inspect_urlARead-onlyIdempotent
Inspect one URL in the Google Search Console index for coverage, mobile usability, and rich-result verdicts, including the issues behind a failure. Use when the user asks why a single URL is missing from search or looks wrong. Call batch_inspect_urls for a list of URLs, and call check_indexing_issues to audit the top traffic pages of the property.
Inputs: url (required), siteUrl (required).
list_propertiesARead-onlyIdempotent
List every Google Search Console property the credentials can access, including each property type and permission level. Use when the user wants to see which sites they can query before choosing one. Call get_property_details for a single known property, and call add_property only when they ask to register a new site.
Inputs: no named parameters.
list_sitemapsARead-onlyIdempotent
List the sitemaps submitted for one Google Search Console property, with status, URL counts, and error flags. Use when the user asks which sitemaps are filed or whether Google reports sitemap problems. Call get_sitemap_details to open one feed, and call submit_sitemap only when they want to file a sitemap.
Inputs: siteUrl (required).
seo_health_checkARead-onlyIdempotent
Score a Search Console property from A to F, with sub-scores for traffic trend, CTR efficiency, position distribution, and sitemap health. Use when the user asks how healthy the site is in search or wants a grade. Call weekly_seo_report for the narrative digest, and call find_declining_content when they already know traffic fell.
Inputs: siteUrl (required), searchType.
submit_sitemapAIdempotent
Submit a sitemap URL to Google Search Console so Google can discover the pages of that property. Use when the user has published or moved a sitemap and asks to file it. Submitting the same feed again refreshes it and does not delete anything. Call delete_sitemap to withdraw a feed, and call get_sitemap_details to check processing afterwards.
Inputs: siteUrl (required), feedpath (required).
weekly_seo_reportARead-onlyIdempotent
Build a one-call weekly SEO digest with traffic versus last week, top growers and decliners, quick wins, sitemap health, and prioritized recommendations. Use when the user asks for a weekly report or a regular status update. Call seo_health_check for a letter grade, and call get_performance_summary when they only want the headline numbers.
Inputs: siteUrl (required), searchType.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 39 tools
Most tools have distinct targets, but the Search Console SEO diagnostics cluster (find_quick_wins, find_ctr_opportunities, find_declining_content, find_content_gaps, find_what_to_build_next, etc.) has overlapping opportunity-analysis purposes. Descriptions provide cross-references that help, but an agent must read carefully to avoid misselection.
Names are almost entirely snake_case and often follow a verb_noun pattern. The main inconsistency is prefixing: GA4 tools use ga4_ and verification tools use gsc_, while many core Search Console tools like list_properties and get_search_analytics are unprefixed, making the convention readable but not fully uniform.
39 tools is heavy for a single server. Although the surface spans Search Console and GA4 and includes many specialized report types, the count goes well beyond a well-scoped set and is likely to feel unwieldy despite each tool having some purpose.
Coverage is broad: Search Console properties, sitemaps, search analytics, URL inspection, and verification, plus GA4 accounts, properties, data streams, reporting, and metadata. Minor gaps remain, especially the inability to update or delete GA4 properties/data streams and the lack of GA4 account creation.
Maintenance
Related MCP Connectors
Read and edit GA4, Search Console and Google Tag Manager from any MCP client. 29 tools.
Free Google Search Console MCP + Bing Webmaster Tools: queries, URL inspection, sitemaps.
Free Search Console & GA4 MCP, plus SERP, keywords, rank charts, GEO, AEO and AI visibility.
Google Search Console, GA4 and PageSpeed MCP server for Claude, ChatGPT and Cursor. Free, hosted.
Related MCP Servers
- AlicenseBqualityBmaintenanceSEO audit and Google Search Console MCP server with 23 tools. Search analytics, URL inspection, Indexing API, Core Web Vitals (CrUX), striking distance keywords, keyword cannibalization detection, branded query analysis, and automated site audits.433MIT
- AlicenseAqualityBmaintenanceMCP server for Google Search Console, URL Inspection & Indexing API — search analytics, sitemap management, and batch indexing13154 npm8MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Google Search Console. 21 tools for search analytics, keyword opportunities, URL inspection, sitemaps, indexing, and property management.1MIT
- AlicenseBqualityDmaintenanceProfessional Google Search Console MCP server providing 40+ SEO tools for performance analysis, content decay, CTR opportunities, and more, enabling real search data in clients like Cursor and Claude.4021 npm6MIT