GA

Google Analytics

Created 5 months ago

Connect Google Analytics 4 data to MCP clients like Claude and Cursor.

development documentation public analytics MCP

What is Google Analytics?

Google Analytics MCP Server to bring data across 200+ dimensions & metrics for LLMs to analyse.

Documentation

Google Analytics MCP Server

Prerequisites

  • Python 3.10 or higher
  • Google Analytics 4 property with data
  • Service account with Analytics Reporting API access

Setup Instructions

  1. Create Service Account in Google Cloud Console
  2. Add Service Account to GA4
  3. Find Your GA4 Property ID
  4. Install the MCP Server

Usage

Ask your MCP client questions like:

  • What GA4 dimension categories are available?
  • Show me all ecommerce metrics.

Performance Optimizations

  • Smart Data Volume Management
  • Server-Side Processing

Available Tools

  1. get_ga4_data
  2. list_dimension_categories
  3. list_metric_categories
  4. get_dimensions_by_category
  5. get_metrics_by_category

License

MIT License

Server Config

{
  "mcpServers": {
    "google-analytics-server": {
      "command": "npx",
      "args": [
        "google-analytics"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: Jul 02, 2025
Updated At: Aug 07, 2025
Author: Surendran B.
Category: community
License: MIT License
Tags:
development documentation public