Agentβ™₯︎Age
Catalog

io.github.leonardosepulvedat/mcp-google-analytics

Official

by leonardosepulvedat Β· TypeScript

GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.

io.github.leonardosepulvedat/mcp-google-analytics MCP Server

This Model Context Protocol (MCP) server integrates with Google Analytics 4 to both read and write data. It connects to the Google Analytics Data API for reporting and to Measurement Protocol v2 for sending server-side events, including audits and verification via realtime reporting. It provides 26 tools for GA4 workflows.

πŸ› οΈ Key Features

  • GA4 integration using the Google Analytics Data API (read reports)
  • Measurement Protocol v2 support (send events)
  • Includes reports, funnels, audits, and server-side events
  • Covers ecommerce and conversion events server-side
  • Verifies sent events in realtime report
  • 26 tools

πŸš€ Use Cases

  • Run GA4 reports and funnels
  • Audit GA4 setup (custom dimensions, key events, compatibility checks)
  • Send ecommerce and conversion events server-side
  • Validate events by checking realtime reporting

⚑ Developer Benefits

  • Enables a read-and-write loop for an AI agent
  • Supports configuration checks and setup verification
  • Consolidates GA4 reading and event submission through MCP tools

⚠️ Limitations

  • Not described as read-only; supports both reading and writing, but specific coverage beyond listed tools is not specified.

Topics

analyticsclaudecursorga4google-analyticsmcpmcp-servermeasurement-protocolmodel-context-protocolserver-side-tracking