GA4 Automation MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GA4_PROPERTY_ID | Yes | Your GA4 property ID. For multiple properties use comma‑separated list. | |
| GOOGLE_APPLICATION_CREDENTIALS | Yes | Absolute path to the Google Cloud service account JSON key file. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_analyticsC | Query Google Analytics 4 data with custom dimensions, metrics, and date ranges |
| get_realtime_dataB | Get real-time analytics data from GA4 |
| get_traffic_sourcesB | Get traffic source data including channels, sources, and mediums |
| get_user_demographicsB | Get user demographic data including age, gender, and interests |
| get_page_performanceB | Get page performance metrics including page views, bounce rate, and time on page |
| get_conversion_dataC | Get conversion and event data including conversion events and e-commerce metrics |
| get_custom_reportC | Get a custom report with specified dimensions, metrics, date ranges, and filters |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Most tools target distinct analytics areas, but 'get_custom_report' and 'query_analytics' have nearly identical descriptions, creating ambiguity. 'get_conversion_data' and 'get_page_performance' also overlap with the general query tool.
Six tools follow the 'get_<noun>_data' or 'get_<adjective>_data' pattern, but 'get_custom_report' breaks the 'data' suffix and 'query_analytics' uses a different verb, resulting in mixed conventions.
Seven tools cover the core retrieval needs for GA4 analytics without being excessive or too sparse, each serving a clear purpose.
The tool set covers major analytics dimensions (conversion, page performance, real-time, traffic, demographics) and includes a general query tool for custom needs, though some specific areas like events or retention are missing but can be handled via query_analytics.