Skip to content
Kitbay
MCP server

google-analytics-mcp-server

Runs locallyMITUpdated on Aug 5, 202619GitHub starsNeeds an API key

A Python MCP server from GoMarble AI, built on FastMCP, that connects Claude Desktop and other MCP clients to Google Analytics 4.

What it does

A Python MCP server from GoMarble AI, built on FastMCP, that connects Claude Desktop and other MCP clients to Google Analytics 4. It lists accounts and properties and pulls page views, active users, events, traffic sources and device breakdowns for a date range, plus a general report tool that takes any metrics, dimensions and filters. Setup means creating a Google Cloud project, enabling the Analytics Data API and making a desktop OAuth client; the server then opens a browser for a one-time sign-in and stores and refreshes the token locally. It runs on the user's machine. GoMarble also points to its own hosted one-click integration as an alternative.

Capabilities

  • List GA4 accounts and properties
  • Get page views, active users and events
  • Break down traffic sources and devices
  • Run custom GA4 reports with filters