GA4 Analytics MCP
v26.11.13GA4 MCP server: Google Analytics 4 reports, realtime data, property admin and Search Console.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ping
Checks server connectivity and auth status
get_account_summaries
Retrieves all Google Analytics accounts and properties accessible to the authenticated user.
get_property_details
Returns details about a GA4 property including display name, timezone, currency, and industry category.
| Parameter | Type | Description |
|---|---|---|
property_id * | string | number | GA4 property ID |
list_google_ads_links
Returns a list of links to Google Ads accounts for a GA4 property.
| Parameter | Type | Description |
|---|---|---|
property_id * | string | number | GA4 property ID |
run_report
Runs a Google Analytics 4 Data API report.
| Parameter | Type | Description |
|---|---|---|
date_ranges * | array | Date ranges |
dimensions * | array | Dimension names |
metrics * | array | Metric names |
property_id * | string | number | GA4 property ID |
currency_code | string | |
dimension_filter | object | |
limit | number | |
metric_filter | object | |
offset | number | |
order_bys | array | |
return_property_quota | boolean |
run_realtime_report
Runs a GA4 realtime report.
| Parameter | Type | Description |
|---|---|---|
dimensions * | array | |
metrics * | array | |
property_id * | string | number | GA4 property ID |
dimension_filter | object | |
limit | number | |
metric_filter | object | |
offset | number | |
order_bys | array | |
return_property_quota | boolean |
get_custom_dimensions_and_metrics
Retrieves custom dimensions and custom metrics for a GA4 property.
| Parameter | Type | Description |
|---|---|---|
property_id * | string | number | GA4 property ID |
gsc_list_sites
Lists all sites (properties) the authenticated user has access to in Google Search Console.
gsc_search_analytics
Queries Google Search Console search analytics data: impressions, clicks, CTR, and position for queries, pages, countries, and devices.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date in YYYY-MM-DD format |
site_url * | string | Site URL as defined in GSC (e.g. "https://example.com/" or "sc-domain:example.com") |
start_date * | string | Start date in YYYY-MM-DD format |
aggregation_type | string | How data is aggregated: auto, byProperty, byPage |
data_state | string | Data state: final, all (includes partial data) |
dimension_filter_groups | array | Dimension filter groups |
dimensions | array | Dimensions to group by: query, page, country, device, searchAppearance, date |
row_limit | number | Max rows to return (default 1000, max 25000) |
start_row | number | Zero-based row offset for pagination |
type | string | Search type: web, image, video, news, discover, googleNews |
gsc_inspect_url
Inspects a URL in Google Search Console. Returns index status, crawl info, mobile usability, and rich results.
| Parameter | Type | Description |
|---|---|---|
inspection_url * | string | Full URL to inspect (must be under the site_url property) |
site_url * | string | Site URL as defined in GSC (e.g. "https://example.com/" or "sc-domain:example.com") |
language_code | string | Language for issue messages (default: en-US) |
gsc_list_sitemaps
Lists all sitemaps submitted for a site in Google Search Console.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Site URL as defined in GSC (e.g. "https://example.com/" or "sc-domain:example.com") |
ga4_admin
GA4 property administration. Read: list_data_streams(property_id), list_key_events(property_id), list_audiences(property_id), list_firebase_links(property_id), get_measurement_protocol_secret(property_id, stream_id, secret_id). Write: create_property(account_id, display_name, time_zone?, currency_code?), update_property(property_id, display_name?, time_zone?, currency_code?), create_data_stream(property_id, type?, display_name, default_uri?), update_data_stream(property_id, stream_id, display_name), create_measurement_protocol_secret(property_id, stream_id, display_name?), create_key_event(pro…
| Parameter | Type | Description |
|---|---|---|
action * | string | Admin action to perform |
params | object | Action parameters: see tool description |
gsc_add_site
Adds a site to Google Search Console. Use URL prefix (e.g. "https://example.com/") or domain property (e.g. "sc-domain:example.com").
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Site URL to add (URL prefix or sc-domain: format) |
gsc_submit_sitemap
Submits a sitemap URL for a site in Google Search Console.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Site URL as defined in GSC |
sitemap_url * | string | Full URL of the sitemap to submit |
indexing_notify
Notifies Google to crawl or remove a URL via the Indexing API. Requires service account with indexing scope.
| Parameter | Type | Description |
|---|---|---|
url * | string | Full URL to notify Google about |
type | string | Notification type (default: URL_UPDATED) |
indexing_status
Checks the last crawl/notification status for a URL via the Indexing API.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to check notification status for |