GuidesPlatform Guide
Platform GuideBeginner 3 min

Connect Google Analytics 4 to MCP360

Connect GA4 to MCP360 to let AI agents answer "why did signups drop?" and analyze user behavior.

Prerequisites

  • Google Analytics 4 property (not Universal Analytics)
  • Admin access to the GA4 property
  • MCP360 account with Analytics MCP subscription
  • Step 1: Connect GA4 via OAuth

  • Go to [Dashboard → Accounts](/dashboard/accounts)
  • Click **Connect** next to **Google Analytics 4**
  • Sign in with the Google account that has GA4 access
  • Select your GA4 property from the list
  • Authorize MCP360 to read analytics data
  • Step 2: Configure Your AI Client

    Your Analytics MCP endpoint: https://analytics.mcp.mcp360.net/

    Add to Claude Desktop:

    json
    {
      "mcpServers": {
        "mcp360-analytics": {
          "command": "npx",
          "args": ["-y", "mcp-remote", "https://analytics.mcp.mcp360.net/"],
          "env": { "MCP_API_KEY": "mcp_live_YOUR_KEY_HERE" }
        }
      }
    }

    Step 3: Test Your Connection

    > What were my top 10 pages by sessions last week?
    > Why did my bounce rate increase this month?
    > Show me my conversion funnel from landing page to signup

    Available GA4 Tools

  • `get_page_views` — Page views, unique visitors, engagement
  • `get_sessions` — Sessions, bounce rate, avg duration
  • `get_conversion_funnel` — Funnel steps with drop-off rates
  • `get_traffic_sources` — Organic, paid, direct, social breakdown
  • `get_user_retention` — Day 1, 7, 30 retention curves
  • `explain_metric_change` — AI explanation of why a metric changed
  • `compare_periods` — Current vs previous period comparison
  • Related Guides