trackmcp
Back to directory
twominutereports

google-analytics-4-mcp

View on GitHub

MCP server to connect AI with Google Analytics 4

0 starsOthers Updated Apr 20, 2026

Documentation

Google Analytics 4 MCP by Two Minute Reports

MCP Compatible
Claude.ai
ChatGPT
Google Analytics 4

Ask questions about your website traffic and user behavior in plain English โ€” no GA4 exploration reports, no SQL.

GA4's interface is powerful but notoriously complex. This MCP server connects your Google Analytics 4 properties to your AI client so you can skip the exploration reports and just ask what you want to know.

> _"How many new users did we get last month and which channels drove the most?"_

>

> _"What are my top 10 landing pages by sessions in the last 30 days?"_

>

> _"Show me my conversion rate trend week over week for the last quarter."_

๐ŸŽฌ See It in Action

https://github.com/user-attachments/assets/096063ba-60b4-45cd-af8f-02bbf36c5704

> ๐ŸŽฅ _Can't see the video? Watch on YouTube โ†’_


Why Use This

GA4 is powerful, but building exploration reports, configuring dimensions and metrics, and navigating its notoriously steep learning curve turns simple questions into lengthy investigations. This MCP server cuts through all of that.

What you get:

  • Instant website analytics โ€” ask about traffic, sessions, conversions, and user behavior without building GA4 exploration reports.
  • No setup complexity โ€” no GA4 API credentials or service account setup required; connect through Two Minute Reports in minutes.
  • Multi-property support โ€” analyze multiple GA4 properties and websites from a single conversation.
  • Cross-platform context โ€” combine with 22+ other sources like Google Ads, HubSpot, and Shopify to connect traffic with revenue.

๐Ÿ‘‰ Learn more about the Google Analytics 4 connector โ†’


Quick Start

Prerequisites

  • A Two Minute Reports account (trial or paid) with your Google Analytics 4 account connected. Don't have one? Sign up free โ†’
  • An AI client that supports MCP (e.g., Claude Pro/Team, ChatGPT Plus, or any MCP-compatible app).

Connection Guides

MCP Server URL (you'll need this during setup):

code
https://mcp.twominutereports.com/mcp

What You Can Ask

Traffic & Sessions

code
How many sessions did we have last month vs the same month last year?
code
Show me daily sessions for the last 30 days broken down by device type.

Acquisition & Channels

code
Which channels drove the most new users last month?
code
What is my organic search traffic trend over the last 6 months?

Landing Page Performance

code
What are my top 20 landing pages by sessions this quarter?
code
Which landing pages have the highest bounce rate this month?

Conversions & Goals

code
What was my overall conversion rate last month and how does it compare to last quarter?
code
Which traffic channels have the highest conversion rate this year?

User Behavior

code
What is the average session duration by channel for the last 30 days?
code
Which pages have the highest exit rate this month?

Audience Insights

code
What are the top countries by sessions in the last 90 days?
code
Show me my new vs returning user ratio week over week for the last 12 weeks.

E-commerce (if applicable)

code
What was my e-commerce revenue last month by traffic source?
code
Which product pages have the highest add-to-cart rate this quarter?

TMR Google Analytics 4 MCP vs. Self-Hosted Alternatives

FeatureTMR GA4 MCPSelf-Hosted
GA4 Data API accessโœ… Handled by TMRโŒ Requires Google Cloud service account
OAuth authenticationโœ… Secure, one-clickโŒ Manual credential configuration
Multi-property supportโœ… All GA4 propertiesโš ๏ธ Separate setup per property
AI client compatibilityโœ… Claude ยท ChatGPTโš ๏ธ Varies by implementation
Natural language queriesโœ… Ask anythingโŒ Must write API queries or SQL
Maintenance & updatesโœ… Managed by TMRโŒ Self-maintained
Cross-source reportingโœ… 22+ connectorsโŒ GA4 data only

Who This Is For

  • Digital marketers who want quick, plain-English answers from GA4 without navigating the complex exploration interface.
  • SEO and content teams tracking organic traffic, landing page performance, and user behavior.
  • Growth teams monitoring conversion rates and funnel performance across channels.
  • E-commerce managers correlating website traffic with sales and product page performance.
  • Agencies managing multiple GA4 properties for clients who need fast, reliable reporting.

Security & Privacy

  • OAuth 2.0 authentication โ€” sign in securely with your Google account.
  • No data stored by the MCP server โ€” data flows directly from your sources through TMR to your AI assistant.

๐Ÿ“„ Privacy Policy ยท ๐Ÿ”’ Data Security ยท ๐Ÿ“‹ Terms of Service


Support

๐Ÿ“ง support@twominutereports.com ยท ๐ŸŽซ Submit a ticket


About Two Minute Reports

Two Minute Reports is a marketing data platform that connects 22+ data sources to Google Sheets, Looker Studio, and AI assistants. Built for agencies, marketers, and ecommerce brands.

๐ŸŒ twominutereports.com ยท ๐Ÿ”Œ MCP Server


GA4 has all the answers โ€” now you can actually ask the questions. ๐Ÿ“Š

Frequently asked questions

What is google-analytics-4-mcp?

google-analytics-4-mcp is MCP server to connect AI with Google Analytics 4

How do I install google-analytics-4-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is google-analytics-4-mcp open source?

Yes โ€” it is hosted on GitHub at https://github.com/twominutereports/google-analytics-4-mcp.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP