Skip to main content
Google Analytics 4 is Google’s web and app analytics platform. The Google Analytics MCP server lets you run reports, manage accounts and properties, configure custom dimensions, metrics, and conversions, and send server-side events using natural language.

What Can It Do?

  • Run reports for users, sessions, pageviews, and other metrics, including real-time data
  • Check report compatibility to see which dimensions and metrics can be combined
  • Manage accounts and properties including create, update, delete, and data retention settings
  • Configure data streams for web, iOS, and Android
  • Manage custom dimensions, metrics, and conversion (key) events
  • Link Google Ads and Firebase projects to your GA4 properties
  • Export and download audiences for downstream activation
  • Send server-side events via the Measurement Protocol with auto-fetched API secrets

Where to Use It

Add Google Analytics as a tool to any agent. The agent can then explore your analytics data and configuration conversationally, choosing the right actions based on context. To add an MCP tool to your agent:
  1. Open your agent’s configuration
  2. Click Add toolsConnect an app with MCP
  3. Search for the integration and select it
  4. Authenticate with your Google account
You can control which tools your agent has access to. After adding an integration, click on it to enable or disable specific tools based on what your agent needs.

In Workflows (Via Agent Node)

For automated pipelines, use an Agent Node with Google Analytics tools. This gives you the flexibility of an agent within a deterministic workflow.

As a Custom MCP Node

You can also create a standalone MCP node for a specific action. This generates a reusable node that performs one task, useful when you need the same operation repeatedly in workflows.
To create a custom MCP node:
  1. Go to your node library and search for the integration
  2. Click Create a node with AI
  3. Describe the specific action you want (e.g., “Run a 30-day report of users by country”)
  4. Test the node and save it for reuse
Custom MCP nodes are single-purpose by design. For tasks that require multiple steps or dynamic decision-making, use an agent instead.

Available Tools

Reporting

Audiences

Accounts

Properties

Data Streams

Custom Dimensions & Metrics

Conversions (Key Events)

Measurement Protocol

Example Prompts

Use these with your agent or in the Agent Node: Run a report:
Real-time monitoring:
Check compatibility:
Inspect a property:
Manage custom dimensions:
Manage conversions:
Audience export:
Send a server-side event:

Troubleshooting

Agents are smart enough to chain multiple API calls together. For example, asking “What were my top 10 pages last week on example.com?” will look up the property ID first, then run the report. If results seem off, check the agent’s step-by-step reasoning.

Need Help?


Use this integration directly in Claude or Cursor. Connect remotely via the Google Analytics MCP server using credentials from your Connectors page.