Skip to main content
Glama
chimpmatic

ga4-mcp

by chimpmatic

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GA4_MCP_PORTNoHTTP port (default: 3000)
GA4_MCP_TOOLSNoTool groups to enable: ga4, gsc, indexing, admin, all (default: all)
GA4_MCP_TRANSPORTNoTransport: stdio (default) or http (Streamable HTTP)
GOOGLE_APPLICATION_CREDENTIALSNoPath to a service account JSON key file for authentication

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
pingA

Health check — returns pong if server is running

get_account_summariesA

Retrieves all Google Analytics accounts and properties accessible to the authenticated user.

get_property_detailsA

Returns details about a GA4 property including display name, timezone, currency, and industry category.

list_google_ads_linksA

Returns a list of links to Google Ads accounts for a GA4 property.

run_reportC

Runs a Google Analytics 4 Data API report.

run_realtime_reportC

Runs a GA4 realtime report.

get_custom_dimensions_and_metricsB

Retrieves custom dimensions and custom metrics for a GA4 property.

ga4_adminA

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(property_id, event_name, counting_method?). Destructive (requires confirm:true): delete_property(property_id), delete_data_stream(property_id, stream_id), delete_key_event(property_id, key_event_id).

gsc_list_sitesA

Lists all sites (properties) the authenticated user has access to in Google Search Console.

gsc_search_analyticsB

Queries Google Search Console search analytics data — impressions, clicks, CTR, and position for queries, pages, countries, and devices.

gsc_inspect_urlA

Inspects a URL in Google Search Console — returns index status, crawl info, mobile usability, and rich results.

gsc_list_sitemapsB

Lists all sitemaps submitted for a site in Google Search Console.

gsc_add_siteA

Adds a site to Google Search Console. Use URL prefix (e.g. "https://example.com/") or domain property (e.g. "sc-domain:example.com").

gsc_submit_sitemapB

Submits a sitemap URL for a site in Google Search Console.

indexing_notifyA

Notifies Google to crawl or remove a URL via the Indexing API. Requires service account with indexing scope.

indexing_statusB

Checks the last crawl/notification status for a URL via the Indexing API.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chimpmatic/ga4-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server