ga4-gsc-mcp
Provides read-only GA4 reporting through the Google Analytics Admin and Data APIs, including sessions, key events, revenue, traffic sources, batch/pivot/realtime reports, attribution, and funnel analysis.
Provides read-only Search Console access via the Search Analytics API and URL inspection, including clicks, impressions, CTR, position, query/page performance, indexing status, quick wins, cannibalization, and content decay analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ga4-gsc-mcp Why did my organic traffic drop last week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GA4 + Google Search Console + Bing MCP server (Google Analytics 4, GSC and Bing Webmaster Tools for Claude, Cursor, Claude Code)
An open-source Model Context Protocol server that lets Claude Desktop, Claude Code, Cursor and any other MCP client answer questions from Google Analytics 4 (GA4), Google Search Console (GSC) and Bing Webmaster Tools in one place. It runs on your machine with your own credentials, asks only for read-only scopes, and joins the sources so you can ask "why did my traffic drop?" or "which platform sent fewer visitors?" in plain English.
36 read-only tools, three sources. GA4 sessions, key events and revenue next to GSC clicks, impressions, CTR and position, plus Bing clicks, crawl issues, backlinks and keyword data.
Answers, not raw dumps. Why traffic dropped (with Google ranking updates in the window), keyword cannibalization, content decay, top movers, unusual days, AI Overview suspects, quick wins with a CTR benchmark, which platform dropped, attribution and funnels are calculated for you.
Honest dates. Search Console data lags 2 to 3 days, so default ranges end on the last settled day. Every result carries a receipt with the property, dates and source.
Local and read-only.
analytics.readonlyandwebmasters.readonlyonly. Calls go only to Google's APIs and Bing's API, over HTTPS, from your machine. No telemetry.Raw access when you need it.
run_ga4_report, batch, pivot and realtime reports, andsearch_console_queryexpose the full GA4 Data API and Search Analytics API. Tables can come back as CSV.
Want this without the Google Cloud setup, in Claude.ai and ChatGPT on the web? See Want it hosted?
Contents
Related MCP server: seoclaude
Quick start
You need Node.js 20 or newer and Google credentials (3 options below). Try it first with built-in fake data, no credentials needed:
GA4_GSC_MCP_DEMO=1 npx -y ga4-gsc-mcp checkThen check your real credentials:
npx -y ga4-gsc-mcp checkClaude Code
Set up credentials.
Add the server:
claude mcp add ga4-gsc --scope user -- npx -y ga4-gsc-mcpWith a service account, pass the key path:
claude mcp add ga4-gsc --scope user -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/key.json -- npx -y ga4-gsc-mcpRun
/mcpin Claude Code to confirmga4-gscis connected, then ask "How is example.com doing this month?"
Claude Desktop
Set up credentials.
Open Settings > Developer > Edit Config (
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS,%APPDATA%\Claude\claude_desktop_config.jsonon Windows) and add:{ "mcpServers": { "ga4-gsc": { "command": "npx", "args": ["-y", "ga4-gsc-mcp"], "env": { "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/key.json" } } } }Leave out the
envblock if you use gcloud orga4-gsc-mcp authcredentials.Restart Claude Desktop. The tools appear under the tools icon in a new chat.
Cursor
Set up credentials.
Add this to
~/.cursor/mcp.json(all projects) or.cursor/mcp.json(one project):{ "mcpServers": { "ga4-gsc": { "command": "npx", "args": ["-y", "ga4-gsc-mcp"] } } }Open Cursor Settings > MCP, check that
ga4-gscshows a green dot, then ask in Agent mode.
Any other MCP client (Windsurf, VS Code, Cline, Zed, Goose) works the same way: the command is npx -y ga4-gsc-mcp over stdio.
Credentials
The server looks for credentials in this order and uses the first it finds:
GOOGLE_APPLICATION_CREDENTIALSpointing to a service account key (or any ADC JSON file)A login saved by
npx ga4-gsc-mcp authgcloud Application Default Credentials
Whichever you pick, first enable three APIs in a Google Cloud project you own (console, or with gcloud):
gcloud services enable analyticsadmin.googleapis.com analyticsdata.googleapis.com searchconsole.googleapis.com --project=YOUR_PROJECT_IDThese are the Google Analytics Admin API (lists properties), the Google Analytics Data API (reports) and the Google Search Console API (search analytics and URL inspection).
Option A: one-time browser login (recommended)
This is the only option where the saved token holds nothing but the two read-only scopes.
In Google Cloud > Google Auth Platform (APIs & Services > OAuth consent screen), configure the consent screen as External and add your Google account under Test users (or Internal on Google Workspace).
Go to Clients (APIs & Services > Credentials) > Create client > Desktop app, then download the JSON.
Sign in once:
npx -y ga4-gsc-mcp auth --client-secret ~/Downloads/client_secret_XXXX.jsonYour browser opens, you approve read-only access, and a refresh token is saved to
~/.config/ga4-gsc-mcp/oauth-token.json(%APPDATA%\ga4-gsc-mcpon Windows) with file mode 600.
While the consent screen is in Testing, Google expires refresh tokens after 7 days. Switch the publishing status to In production to keep the login (unverified apps for your own use show a warning screen you can click through), or run auth again.
Option B: gcloud Application Default Credentials
gcloud's built-in OAuth client is meant for Google Cloud APIs. For other Google APIs such as Analytics and Search Console, Google's gcloud docs say to create your own OAuth client and pass it with --client-id-file (steps 1 and 2 of Option A):
gcloud auth application-default login \
--scopes=https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/webmasters.readonly,https://www.googleapis.com/auth/cloud-platform \
--client-id-file=/path/to/client_secret_XXXX.jsonWith --client-id-file, the project that owns the OAuth client is used for quota. No environment variables are needed afterwards.
Be aware: gcloud requires the cloud-platform scope in this command, so the Application Default Credentials token it saves also has full access to your Google Cloud projects, and any other tool on your machine that uses ADC gets that access too. This server only calls the read-only Analytics and Search Console APIs with it, but if you do not already use ADC, prefer Option A.
Option C: service account (servers, CI, shared machines)
gcloud iam service-accounts create ga4-gsc-mcp --project=YOUR_PROJECT_ID
gcloud iam service-accounts keys create ~/ga4-gsc-mcp-key.json \
--iam-account=ga4-gsc-mcp@YOUR_PROJECT_ID.iam.gserviceaccount.comThen give the service account's email (client_email in the key file) access to your data:
GA4: Admin > Property access management > add the email with the Viewer role.
Search Console: Settings > Users and permissions > Add user > the email with Restricted permission (enough for the reports this server reads; do not give it Owner). If URL inspection or sitemaps answer with a permission error, raise it to Full, which is still read-only through this server.
Lock the key file down so only your user can read it, then set GOOGLE_APPLICATION_CREDENTIALS=/path/to/ga4-gsc-mcp-key.json in your MCP client config:
chmod 600 ~/ga4-gsc-mcp-key.jsonKeep the key file out of git and backups you share. Some organizations block key creation with the iam.disableServiceAccountKeyCreation policy; use Option A or B there.
Example questions
"How is example.com doing compared with last month?"
"What are my top 20 Google searches this quarter, and which ones lost clicks?"
"Which pages get search clicks but few key events in GA4?"
"Give me 10 SEO quick wins for example.com with the page to fix."
"What pages lost the most traffic compared with the same period last year?"
"How many visits came from ChatGPT, Perplexity, Claude, Gemini and Copilot in the last 90 days, and where did they land?"
"Sessions by country and device for October." (uses
run_ga4_report)"Search Console clicks by day for /pricing in the last 28 days." (uses
search_console_query)"Is https://example.com/blog/new-post indexed?"
"Why did my Google traffic drop last month? Was there a Google update?"
"Which of my pages compete for the same keywords?"
"Which pages have been slowly losing clicks for three months?"
"Which platform sent fewer visitors this month: Google, Bing, ChatGPT, social or email?"
"Which channels bring the most conversions and revenue, first touch?"
"Where do visitors drop off between the pricing page and the sign-up event?"
"How fast is my home page on mobile? What are the Core Web Vitals?"
"Top Bing searches and crawl errors for example.com." (needs a Bing key)
Tools
All tools are read-only (readOnlyHint: true) and return JSON that starts with a receipt: the GA4 property, the Search Console site, the exact dates, the comparison range and any caveats.
Overview and search (GSC)
Tool | Answers | Sources |
| Which GA4 properties and Search Console sites can these credentials see? | GA4 Admin, GSC |
| How is my site doing? Sessions, users, key events, engagement, clicks, impressions, CTR, position, each with change, plus bot or spam flags | GA4 + GSC |
| Which Google searches bring clicks? Filter by page, text, or brand vs non-brand. JSON or CSV | GSC |
| Which pages get the most search clicks and visits? GSC pages joined with GA4 landing pages. JSON or CSV | GSC + GA4 |
| What should I improve first? Positions 4 to 20 with real impressions, ranked by extra clicks, plus your CTR by position against a benchmark | GSC |
| What lost traffic? Every page or query with the biggest click (or GA4 session) losses | GSC or GA4 |
| Why did Google traffic drop? Change split into impressions and CTR, start date, cause per page and query, index status, Google ranking updates in the window | GSC + GA4 + Search Status Dashboard |
| Which queries are split between two or more of my pages, and which page to keep? | GSC |
| Which pages are slowly losing clicks over 3 months? | GSC |
| What gained or lost most, week on week, month on month or year on year? | GSC + GA4 |
| Which days were unusual spikes or dips, and when did a lasting drop start? | GSC + GA4 |
| Which searches might an AI Overview be taking clicks from? | GSC |
| Is this URL indexed? Verdict, coverage, last crawl, canonical, robots.txt | GSC URL Inspection |
| Up to 20 URLs or paths at once, not indexed first, canonical mismatches flagged | GSC URL Inspection |
| Which sitemaps has Google got, with errors and warnings? | GSC |
| Core Web Vitals from real visitors (LCP, INP, CLS), Lighthouse score and top fixes | PageSpeed Insights |
| Any Search Console query: by query, page, country, device, date or search appearance, any search type, filters, paging | GSC |
Visitors and conversions (GA4)
Tool | Answers | Sources |
| Where do visitors come from? By channel, source / medium, source, campaign, country, device or landing page, with bot or spam flags | GA4 |
| Which platform sent fewer visitors? Google, Bing, each AI assistant, social, email, direct, paid, cross-checked with GSC and Bing clicks | GA4 (+ GSC, Bing) |
| Which channels bring key events and revenue? Session or first-user scope | GA4 |
| How many visits come from ChatGPT, Perplexity, Claude, Gemini, Copilot and others? | GA4 |
| Where do visitors drop off before a goal? 2 to 10 steps by event or page (beta, Data API v1alpha) | GA4 |
| Any GA4 report: your own dimensions, metrics, filters, order and paging. JSON or CSV | GA4 |
| Up to 5 GA4 reports in one call | GA4 |
| A GA4 pivot table | GA4 |
| Who is on the site right now? | GA4 realtime |
| Which dimensions and metrics (including custom ones) can I use? | GA4 |
Bing Webmaster Tools (only when BING_WEBMASTER_API_KEY is set, see below)
Tool | Answers |
| Which sites are in my Bing account? |
| Bing clicks, impressions and CTR with change, and the daily numbers |
| Top Bing searches and pages with clicks, impressions, CTR and position |
| 4xx, 5xx, redirects, robots.txt blocks, DNS and timeout errors, and crawl stats |
| Which pages have inbound links, and who links to one page (with anchor text). Bing's API often returns no link list even when the Backlinks report on the Bing website shows links; the tool then gives Bing's inbound anchor counts and a link to that report |
| Submitted sitemaps and feeds with status and URL counts |
| Bing's index details for one URL, or that Bing has no record of it yet |
| Weekly Bing search impressions for a keyword and related keywords |
Common inputs: site (a domain such as example.com, a URL, or sc-domain:example.com), ga4_property (optional; found automatically from the GA4 web stream that matches the site), period (last_7_days, last_28_days, last_90_days, last_3_months, last_6_months, last_12_months, last_month) or start_date / end_date, and compare (previous_period, previous_year, none).
Brand vs non-brand: top_queries and quick_wins take brand: "brand" | "non_brand". Terms come from brand_terms, else the BRAND_TERMS environment variable, else the domain name (my-brand.com gives "mybrand" and "my brand").
Large sites: analysis tools page through Search Console up to 100,000 rows per request.
Dates: Search Console data settles about 2 to 3 days late and GA4 about 1 day late, so named periods end 3 days ago for Search Console and combined tools, and 1 day ago for GA4-only tools. Explicit end dates inside the lag window are allowed and flagged in the receipt.
Bing Webmaster Tools
Sign in to Bing Webmaster Tools and open Settings > API Access.
Generate an API key. The key belongs to your user, not one site, and is read here only for the read-only methods listed in
src/bing.ts.Add it to the server's environment, for example in Claude Code:
claude mcp add ga4-gsc --scope user -e BING_WEBMASTER_API_KEY=your-key -- npx -y ga4-gsc-mcpor in Claude Desktop and Cursor, under
"env": { "BING_WEBMASTER_API_KEY": "your-key" }.Run
npx -y ga4-gsc-mcp checkto see your Bing sites.
Bing keeps about 6 months of history and reports query and page stats by week. Bing sites are matched to your Google sites by domain.
Configuration
Variable | Purpose |
| Path to a service account key or other ADC JSON file |
| Default GA4 property, so you can leave |
| Default Search Console site, e.g. |
| Where |
| Bing Webmaster Tools API key. Adds the nine |
| Google API key with the PageSpeed Insights API enabled, for a higher |
| Comma-separated brand terms, e.g. |
| Use built-in fake data for example.com; no network calls at all |
Commands: ga4-gsc-mcp (start the server on stdio), ga4-gsc-mcp auth --client-secret FILE, ga4-gsc-mcp check, ga4-gsc-mcp --help.
Security
This server reads analytics data you own, so it is built to do as little as possible with it:
Read-only access. With Option A (
auth) the token holds onlyanalytics.readonlyandwebmasters.readonly. A service account (Option C) gets only the access you grant it in GA4 and Search Console (Viewer and Restricted). gcloud ADC (Option B) also carriescloud-platform, because gcloud requires it; this server still calls only read-only Analytics and Search Console endpoints, but the token itself is broader, so prefer Option A. Bing calls are limited to a fixed list of read (GET) methods; write methods such as URL submission are refused in code before any request.Fixed destinations. Every request goes through one guard (
src/net.ts): HTTPS only, a fixed allow list of hosts (Google's Analytics and Search Console APIs,www.googleapis.comfor PageSpeed,status.search.google.comfor ranking updates,ssl.bing.com), no redirects, a timeout and a response size cap. Google credentials are sent only to Google API hosts; the Bing key only tossl.bing.com.No telemetry. Nothing is sent anywhere else, and nothing is stored except the refresh token you create with
auth.Secrets stay secret. The saved login is written atomically with file mode 600 in a 700 directory, and tightened to 600 if it was loosened. Tokens, API keys and private keys are redacted from every error message and log line.
Safe sign-in.
authuses a loopback redirect on 127.0.0.1 with PKCE and a random state, ignores any request without that state, and times out after 5 minutes. The browser is opened without a shell (on Windows throughrundll32, so the URL is never parsed bycmd.exe).Strict inputs. Property IDs must be numeric, sites must be domains, URLs or
sc-domain:properties, dates must beYYYY-MM-DD, GA4 field names must be API names, JSON filters are size capped and row limits are capped.inspect_urlsonly inspects URLs inside the property.No outbound side channel.
page_speedis the one tool that sends a URL to a Google service outside your account, so it only tests pages on a Search Console (or Bing) site these credentials can see, and it strips the query string and fragment before sending.Tool output is untrusted text. Answers include text other people control: search queries, backlink anchor text, referrer hostnames, page paths and titles. A query or anchor could contain instructions aimed at your AI assistant. Keep your client's confirmation prompts on for tools that reach other hosts (web fetch, email, file writes), especially in sessions that use this server.
Safe CSV. Cells that a spreadsheet would run as a formula (
=,+,-,@) are prefixed with a quote.Pinned dependencies, GitHub Actions pinned by commit SHA,
npm auditin CI, and npm releases published from CI with provenance.
Found a security issue? Please email support@kkvlabs.com rather than opening a public issue.
Troubleshooting
Run npx -y ga4-gsc-mcp check first. It prints which credentials were used and every property and site they can see.
Error or symptom | Fix |
| Enable the Google Analytics Admin API, Google Analytics Data API and Google Search Console API in the project your credentials belong to. Wait a minute and retry. |
| Your login lacks a scope. Re-run Option A or the Option B command with both |
"This app is blocked" during | gcloud's own client cannot request these scopes. Add |
| Add your account under Test users on the OAuth consent screen. |
| The consent screen is in Testing, so the token expired. Publish it to In production or run |
| The account or service account is not a user on that GA4 property or Search Console site. Add |
| Use the exact site from |
| Pass |
Claude Desktop shows "Server disconnected" or | Claude Desktop does not always see your shell's PATH. Use the full path to |
| No credentials were found. Pick Option A, B or C above. |
Numbers differ from the Search Console UI | The UI includes the last 2 to 3 unsettled days; this server ends on settled days by default. Pass |
| GA4 and Search Console have per-project quotas. Use shorter ranges or fewer rows, and retry after a few minutes. URL Inspection allows about 2,000 a day and 600 a minute per site. |
No | Set |
| Check the key in Bing Webmaster Tools > Settings > API Access and that the site is verified in that account. |
| It uses Google's v1alpha funnel API, which can change. Check step event names with |
| Set |
How it compares
ga4-gsc-mcp (this repo) | Site Insights by KKV Labs (hosted) | |||
Google Analytics 4 (GA4) | Yes | Yes | No | Yes |
Google Search Console (GSC) | Yes | No | Yes | Yes |
GA4 and GSC joined (pages, overview) | Yes | No | No | Yes |
Bing Webmaster Tools | Yes (API key) | No | No | Yes |
Why it dropped, cannibalization, content decay, movers | Yes | No (raw reports) | Some (GSC only) | Yes |
Attribution, funnels, which platform dropped | Yes | No (raw reports) | No | Yes |
Core Web Vitals (PageSpeed Insights) | Yes | No | No | Yes |
Client reports (white-label page) | No | No | No | Yes |
Many sites in one account | Yes, any your credentials see | Yes | Yes | Yes |
Runtime | Node.js, | Python, | Python | Nothing to install |
Google Cloud project and credentials | You set up | You set up | You set up | Not needed: sign in with Google |
Works in Claude.ai and ChatGPT on the web | No (local stdio) | No (local stdio) | No (local stdio) | Yes |
Access | Read-only | Read-only | Read and write (sitemaps) | Read-only |
Price | Free, MIT | Free, Apache-2.0 | Free, MIT | Free plan: 1 site, 20 lookups a day; paid plans for more |
Corrections welcome: open an issue if a row is out of date.
Want it hosted?
This repo is the free local edition of Site Insights by KKV Labs, a hosted connector at https://insights.kkvlabs.com/mcp. It needs no Google Cloud project or Node process (sign in with Google), works in Claude.ai and ChatGPT on the web, and adds white-label client reports and weekly emails. It has a free plan. Both are read-only; this repo stays MIT and fully usable on its own.
Development
git clone https://github.com/kkvlabs/ga4-gsc-mcp.git
cd ga4-gsc-mcp
npm install
npm run check # lint, typecheck, unit tests, then build and a stdio smoke testnpm testruns the vitest suite against mocked Google APIs (no network).npm run smokebuilds, starts the server over stdio in demo mode with the MCP SDK client, lists the tools and calls all 36.GA4_GSC_MCP_DEMO=1 npx @modelcontextprotocol/inspector node dist/index.jsopens the MCP Inspector against demo data.
See CONTRIBUTING.md for guidelines and CHANGELOG.md for releases.
Feedback or a feature request? Email support@kkvlabs.com or open an issue.
License
MIT © KKV Labs LLC. Google Analytics, Google Search Console and Google Cloud are trademarks of Google LLC. This project is not affiliated with or endorsed by Google.
Available Tools
27 toolsai_overview_suspectsAI Overview suspectsARead-onlyIdempotent
Which searches might an AI Overview be taking clicks from? Queries with more impressions, a much lower CTR and a steady position, ranked by clicks lost.
Inputs: site, limit, period, compare, +3 more.
ai_trafficAI assistant trafficARead-onlyIdempotent
How many visits come from ChatGPT, Perplexity, Claude, Gemini and Copilot? GA4 sessions from AI assistant referrers by assistant, share of all sessions, engagement and top landing pages.
Inputs: site, limit, period, compare, +3 more.
attributionConversions and revenue by channelBRead-onlyIdempotent
Which channels bring conversions and revenue? GA4 key events and revenue by channel, source / medium or campaign, in session or first-user scope, with change.
Inputs: site, limit, scope, period, +5 more.
channel_changesWhich platform dropped?ARead-onlyIdempotent
Which platform sent fewer visitors? GA4 sessions by platform (Google, Bing, each AI assistant, social, email, direct, paid), worst change first, cross-checked with Search Console and Bing.
Inputs: site, limit, period, compare, +3 more.
content_decayContent decayARead-onlyIdempotent
Which pages are slowly losing Google clicks? Pages whose clicks fell steadily over the last 3 complete months against the 3 before, with monthly clicks and position.
Inputs: site, limit, min_clicks, min_drop_pct.
find_anomaliesFind unusual daysARead-onlyIdempotent
Were there unusual days? Spikes and dips in daily Search Console clicks and GA4 sessions against the normal range, plus the day a lasting drop began.
Inputs: site, period, ga4_property.
find_cannibalizationKeyword cannibalizationARead-onlyIdempotent
Which queries are split between two or more of my pages? Search Console queries where a second page takes a real share of impressions, with the page to keep.
Inputs: site, limit, period, end_date, +3 more.
ga4_funnelFunnel (beta)ARead-onlyIdempotent
Where do visitors drop off before a goal? A GA4 funnel of 2 to 10 steps (event names or page paths): users per step, completion and abandonment. Beta: uses Google's v1alpha API.
Inputs: steps (required), open, site, period, +3 more.
ga4_metadataGA4 dimensions and metricsARead-onlyIdempotent
Which dimensions and metrics can I use? GA4 metadata for a property, including custom dimensions and metrics, searchable by name or category.
Inputs: kind, site, search, custom_only, +1 more.
inspect_urlInspect a URLARead-onlyIdempotent
Is this page indexed by Google? Search Console URL Inspection: index verdict, coverage, last crawl, canonical, robots.txt and mobile usability.
Inputs: url (required), site.
inspect_urlsInspect several URLsARead-onlyIdempotent
Are these pages indexed? Search Console URL Inspection for up to 20 URLs or paths at once, not indexed first, with canonical mismatches flagged.
Inputs: urls (required), site.
list_propertiesList GA4 properties and Search Console sitesARead-onlyIdempotent
Which GA4 properties and Search Console sites can these credentials see? Returns property IDs and site URLs to use with the other tools.
Inputs: no named parameters.
page_speedPage speed and Core Web VitalsARead-onlyIdempotent
How fast is this page? PageSpeed Insights: Core Web Vitals from real visitors (LCP, INP, CLS), Lighthouse score and the top fixes. Sends only the URL to Google.
Inputs: url (required), strategy.
quick_winsSEO quick winsARead-onlyIdempotent
What should I improve first? Queries ranking 4 to 20 with real impressions and low CTR, ranked by extra clicks from a top-3 spot, plus the site's CTR by position against a benchmark.
Inputs: site, brand, limit, period, +4 more.
run_ga4_batch_reportsSeveral GA4 reports at onceARead-onlyIdempotent
Several GA4 reports in one call (up to 5) over the same dates, e.g. sessions by country, by device and by channel together.
Inputs: reports (required), site, period, end_date, +2 more.
run_ga4_pivot_reportGA4 pivot reportCRead-onlyIdempotent
A GA4 pivot table, e.g. sessions by channel down the side and device across the top (Data API runPivotReport).
Inputs: pivots (required), metrics (required), dimensions (required), site, +5 more.
run_ga4_realtime_reportGA4 realtime reportARead-onlyIdempotent
Who is on my site right now? GA4 realtime report for the last 30 minutes: active users by country, page, device, event or source.
Inputs: site, limit, metrics, dimensions, +2 more.
run_ga4_reportRun a GA4 reportARead-onlyIdempotent
Any GA4 question the other tools do not cover: a raw Google Analytics Data API runReport with your own dimensions, metrics, filters and order (API names, e.g. sessionDefaultChannelGroup, sessions).
Inputs: metrics (required), site, limit, format, +9 more.
search_console_queryRun a Search Console queryBRead-onlyIdempotent
Any Search Console question: raw searchanalytics.query by query, page, country, device, date or searchAppearance, with filters, search type (web, image, video, news, Discover) and paging.
Inputs: site, type, period, filters, +7 more.
sitemapsSitemapsARead-onlyIdempotent
Which sitemaps has Google got for my site? Submitted sitemaps with last read date, URL counts, errors and warnings. Read only.
Inputs: site.
site_overviewSite overviewARead-onlyIdempotent
How is my site doing? GA4 sessions, users, key events and engagement plus Search Console clicks, impressions, CTR and average position, each with change against the previous period or last year.
Inputs: site, period, compare, end_date, +2 more.
top_moversTop moversARead-onlyIdempotent
What changed most? Queries and pages that gained or lost the most Search Console clicks, plus GA4 landing pages by sessions: week on week, month on month or year on year.
Inputs: site, limit, compare, ga4_property.
top_pagesTop pagesARead-onlyIdempotent
Which pages get the most search clicks and visits? Search Console pages joined with GA4 landing-page sessions, key events and engagement.
Inputs: site, limit, format, period, +5 more.
top_queriesTop search queriesARead-onlyIdempotent
Which Google searches bring clicks? Top Search Console queries with impressions, CTR, position and change. Filter by page, text, or brand vs non-brand. JSON or CSV.
Inputs: site, brand, limit, format, +7 more.
traffic_dropsTraffic dropsARead-onlyIdempotent
What lost traffic? Pages or queries that lost the most Search Console clicks (or GA4 landing-page sessions) against the previous period or last year, worst first, with position change.
Inputs: by, site, limit, period, +5 more.
traffic_sourcesTraffic sourcesBRead-onlyIdempotent
Where do my visitors come from? GA4 sessions by channel, source / medium, source, campaign, country, device or landing page, with change, engagement, key events and bot or spam flags.
Inputs: by, site, limit, period, +4 more.
why_did_it_dropWhy did my traffic drop?BRead-onlyIdempotent
Why did Google traffic drop? Clicks change split into impressions and CTR, start date, cause per page and query, index status, and Google ranking updates in the window.
Inputs: site, period, compare, end_date, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
The question-style descriptions genuinely help, but several clusters overlap: traffic_sources / attribution / channel_changes all break GA4 sessions down by channel-ish dimensions, and top_movers / traffic_drops / find_anomalies / why_did_it_drop all answer 'what changed'. Raw escape hatches (run_ga4_report, search_console_query) also shadow many of the curated tools, so an agent must read carefully to pick the right one, and ai_traffic duplicates part of channel_changes.
Two conventions coexist: verb_noun imperatives (list_properties, inspect_url, find_anomalies, find_cannibalization) and bare noun phrases (site_overview, top_queries, content_decay, page_speed). The raw API tools do form a predictable run_ga4_* family, and inspect_url vs inspect_urls is a clear single/batch pair, but the overall surface mixes styles and includes question-flavored names unlike anything else.
27 tools is heavy and crosses into the crowded range; the curated insight tools (quick_wins, ai_overview_suspects, content_decay, traffic_drops) could partly be parameterized instead of being separate endpoints. The breadth is defensible given two products plus PageSpeed plus four GA4 API dialects, but the count sits at the upper edge of what an agent can scan reliably.
Coverage is strong: raw report/query tools for both GA4 and Search Console, metadata discovery, realtime, batch, pivot, funnels, URL inspection (single and batch), sitemaps and page speed, so almost any read-only analytics question has a path. Gaps are minor and mostly write-side or specialized (sitemap submission, annotations, cohort/audience reports), which are not reachable even via the raw escape hatches.
Maintenance
Related MCP Connectors
Ask Claude, ChatGPT or any MCP client about your Google Analytics 4 and Search Console data, plus Bing Webmaster Tools when connected, for every site you manage, with one Google sign-in. Read only: traffic changes, why a page dropped, top queries and pages, quick-win queries, AI assistant referral traffic, URL indexing, sitemaps, custom GA4 reports and client reports. Built for site owners and agencies with many sites. Free for 1 site.
Google Search Console, GA4, Bing Webmaster and PageSpeed MCP for Claude, ChatGPT, Cursor. Free.
SEO research, Search Console, GA4 and PPC tools for Claude and ChatGPT.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables Claude, Cursor, VS Code, ChatGPT and other MCP clients to analyze Google Search Console, Google Ads and AdSense data through 57 read-only tools covering search performance, indexing, wasted ad spend, quality scores, earnings and combined paid-vs-organic insights. Runs as a thin local client against a hosted backend, so no Google Cloud project, OAuth client or developer token is needed.53 npmMIT
- AlicenseBqualityCmaintenanceConnects Claude to Google Search Console, GA4, Bing Webmaster Tools, IndexNow, PageSpeed Insights, AdSense and Google Ads Keyword Planner, plus live technical SEO audits of pages and sitemaps. Users ask plain-language questions about traffic drops, index status, canonicals, AI referral traffic and keyword volumes, and answers are pulled live from the APIs in real time.2825 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude, ChatGPT, Cursor, and other MCP clients to query Google Search Console, GA4, PageSpeed Insights, and live SERPs through 38 read-only SEO tools for quick wins, content decay, indexing, Core Web Vitals, AI traffic, and conversion analysis.2MIT
- AlicenseBqualityBmaintenanceEnables Claude Desktop to analyze Google Search Console performance, diagnose traffic drops and indexing issues, and run technical SEO checks such as robots.txt, redirects, HTTPS, DNS, Core Web Vitals, and crawl stats using read-only Google APIs and local server logs.44MIT