VOOZH about

URL: https://apify.com/constant_quadruped/google-analytics-mcp-server

โ‡ฑ Google Analytics MCP Server ยท Apify


Pricing

Pay per usage

Go to Apify Store

Google Analytics MCP Server

MCP server for Google Analytics 4. AI agents can run custom reports, check real-time data, analyze traffic sources, demographics, devices, conversions, and compare date ranges. 12 tools with GA4 Data API.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

๐Ÿ‘ CQ

CQ

Maintained by Community

Actor stats

1

Bookmarked

9

Total users

2

Monthly active users

2 months ago

Last modified

Share

MCP server enabling AI assistants to query Google Analytics 4 (GA4) data. 12 tools covering custom reports, real-time data, traffic sources, demographics, device breakdown, conversions, date comparisons, and funnel analysis.

Features

  • Custom reports โ€” any combination of dimensions, metrics, date ranges, and filters
  • Real-time data โ€” active users and events right now
  • Preset reports โ€” top pages, traffic sources, demographics, devices, conversions
  • Date comparison โ€” compare any two time periods with % change calculation
  • Funnel analysis โ€” track user flow through specific page paths
  • Property discovery โ€” list all accessible GA4 properties
  • Metadata โ€” discover available dimensions and metrics

Input

{
"credentialsJson":"{ ... service account JSON ... }",
"propertyId":"123456789",
"toolCall":{
"name":"ga_top_pages",
"arguments":{
"start_date":"30daysAgo",
"end_date":"today",
"limit":10
}
}
}

Tools (12)

ToolDescription
ga_run_reportCustom report with dimensions, metrics, date range, filters
ga_realtimeReal-time active users and events
ga_top_pagesTop pages by pageviews or sessions
ga_traffic_sourcesTraffic source breakdown (organic, direct, referral)
ga_user_demographicsUser demographics by country, city, or language
ga_device_breakdownDevice category split (desktop, mobile, tablet)
ga_conversionsConversion and event data
ga_date_comparisonCompare metrics between two date ranges
ga_funnelPage path funnel analysis
ga_propertiesList accessible GA4 properties
ga_metadataAvailable dimensions and metrics for the property
ga_infoServer info and connection stats

Setup

  1. Create a Google Cloud project
  2. Enable the Google Analytics Data API
  3. Create a service account and download the JSON key
  4. In GA4 Admin, add the service account email as a Viewer
  5. Pass the JSON key as credentialsJson and your property ID as propertyId

Common Queries

Top 10 pages this month:

{"name":"ga_top_pages","arguments":{"limit":10,"start_date":"30daysAgo"}}

Traffic sources last week:

{"name":"ga_traffic_sources","arguments":{"start_date":"7daysAgo"}}

Month-over-month comparison:

{"name":"ga_date_comparison","arguments":{
"metrics":["totalUsers","sessions","screenPageViews"],
"period1_start":"30daysAgo","period1_end":"today",
"period2_start":"60daysAgo","period2_end":"31daysAgo"
}}

You might also like

Google Analytics MCP (GA4)

smacient/ga4-mcp-worker

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.

MCP Server: Rss

dltik/mcp-server-rss

MCP Server: Rss: an MCP server exposing 4 tools for AI agents. HTTP-only, no API key. Pay $0.005/tool-call.

Excel Mcp Server

lovely_radiologist/excel-mcp-server

Google Calendar MCP Server

constant_quadruped/google-calendar-mcp-server

MCP server for Google Calendar. AI agents can list, create, update, and delete events, check free/busy status, search by text, and quick-add events from natural language. 12 tools with Calendar API v3.

Real Estate MCP Server Multi-Platform Property Data for AI

alizarin_refrigerator-owner/real-estate-mcp-server

MCP Server providing AI assistants with unified access to 4+ real estate platforms through a single interface. Search properties, analyze market trends, compare listings, and generate investment reports across Zillow, Redfin, Realtor.com, and MLS.

Mcp Server Generator

fiery_dream/mcp-server-generator

๐Ÿ‘ User avatar

Cody Churchwell

1

Related articles

Best MCP servers for developers
Read more
Build and deploy MCP servers in minutes with a TypeScript template
Read more
How to use MCP with Apify Actors
Read more