GA4 MCP avatar
GA4 MCP

Pricing

Pay per event

Go to Apify Store
GA4 MCP

GA4 MCP

Developed by

Smacient

Smacient

Maintained by Community

A powerful Google Analytics 4 Model Context Protocol (MCP) Actor that provides fast, reliable and customizable data analysis using your Google Analytics account. Perfect for businesses and marketers to unlock instant GA4 insights with flexible pay per event pricing.

0.0 (0)

Pricing

Pay per event

0

2

2

Last modified

18 hours ago

GA4 MCP Worker - Complete Usage Guide

Overview

A powerful Google Analytics 4 Model Context Protocol (MCP) Worker Actor that provides fast, reliable and customizable data analysis using Google Analytics APIs. Perfect for businesses and marketers to unlock instant GA4 insights with flexible pay-as-you-go pricing.

Features

  • Real-time and Historical Reporting: Retrieve up-to-date and past GA4 data
  • Comparative Period Analysis: Analyze metrics over multiple date ranges
  • Custom Dimensions & Metrics: Run advanced, tailored queries for your business
  • Account & Property Management: List all your GA4 properties and accounts via MCP
  • Tiered Pricing: Volume discounts with transparent pay-as-you-go pricing
  • MCP Integration: Seamless Claude AI workflows

Getting Started

Step 1: Connect to Claude AI

  1. Open Claude AI at https://claude.ai
  2. Navigate to the integrations or MCP settings

Step 2: Add MCP Connection

Use the following MCP Connector URL: https://apify-ga4mcp.smacient.com/mcp

Then you will be redirected to authenticate your google account associated to your GA4.

Step 3: Authenticate with Google

  • Sign in using the Google account associated with your GA4 properties
  • This ensures secure and authorized access to your analytics data
  • Make sure you have appropriate permissions for the GA4 properties you want to access

Step 4: Get Your Apify API Token

  1. Visit your Apify Console
  2. Navigate to Settings → Integrations
  3. Copy your Apify API token
  4. Paste this token when prompted during MCP setup

Step 5: Start Using GA4 MCP Worker

You're now ready to use the GA4 MCP Worker! Ask Claude to:

  • Run GA4 reports
  • Get real-time analytics
  • Create comparative reports
  • List properties and accounts

Available Tools

Core Reporting Tools

ToolDescriptionUse Case
runReportStandard GA4 historical reportsGet pageviews, users, sessions for any date range
runRealtimeReportLive GA4 dataMonitor current website activity
runComparativeReportCompare two time periodsMonth-over-month, year-over-year analysis
runReportWithOrderingSorted reportsTop pages, top sources, ranked data

Management Tools

ToolDescriptionUse Case
listAccountsList all GA4 accountsFind your account IDs
listPropertiesList properties in an accountGet property IDs for reporting
getUserPropertiesGet all accessible propertiesQuick overview of available data