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. |
Capabilities
Features and capabilities supported by this server
| 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 | |
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/mattwilkerson1121/ga-ai-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server