Acknowledge User Data Collection
Attest the User Data Collection acknowledgement on a property, which GA4 requires before Measurement Protocol secrets can be created.
Let your AI agents run Google Analytics 4 for you, safely.
A hosted GA4 MCP server for Claude, ChatGPT, Cursor and CLI agents. Sign in with Google, paste one server URL, then run any Google Analytics 4 report and manage key events, custom dimensions and audiences. No Google Cloud project needed.
Enable or disable every action, per account. Block your agent from doing dangerous actions.
Ask in plain English. Pull reports, find insights and take action in Google Analytics 4.
62 read and write actions. Every Google Analytics 4 task your agent needs, from reporting to making changes.
Built for teams. Invite your team and share one connected account.
62 actions available to automate your Google Analytics 4 workflows.
62 actions
Attest the User Data Collection acknowledgement on a property, which GA4 requires before Measurement Protocol secrets can be created.
Archive an audience so it stops collecting members.
Archive a GA4 custom dimension (frees a slot; not a hard delete).
Archive a GA4 custom metric (frees a slot; not a hard delete).
Create an audience from a set of filter clauses.
Link a GA4 property to a BigQuery project for raw event export.
Create a custom channel group from grouping rules.
Create a GA4 custom dimension from an event parameter.
Create a GA4 custom metric from an event parameter.
Create a web, Android or iOS data stream on a GA4 property.
Link a Google Ads account to a GA4 property.
Create a GA4 key event (conversion) for an event name.
Create a Measurement Protocol secret so server-side events can be sent to a stream.
Create a new GA4 property under an account.
Remove a BigQuery export link.
Delete a custom channel group.
Delete a data stream from a GA4 property.
Unlink a Google Ads account from a GA4 property.
Delete a GA4 key event (conversion).
Delete a Measurement Protocol secret, revoking server-side sends that use it.
Soft-delete (trash) the connected GA4 property.
E-commerce performance data including transactions, revenue, and product metrics
Event tracking data including event names, counts, and user engagement
Geographic performance data including country, region, city, and language
Get one audience, including its filter clauses.
Get one BigQuery export link.
Get one channel group, including its grouping rules.
Get a single GA4 custom dimension by id.
Get a single GA4 custom metric by id.
Read a GA4 property's event and user data retention settings.
Fetch one data stream, including its Measurement ID.
Read the enhanced measurement settings of a web data stream.
Get a single GA4 key event by id.
Get one Measurement Protocol secret, including its secret value.
Fetch a GA4 property's settings (name, time zone, currency, industry).
Execute GA4 runReport with arbitrary metrics and dimensions.
List the GA4 accounts this connection can administer.
List the audiences on a property.
List the BigQuery export links on a property.
List the channel groups on a property.
List the GA4 custom dimensions on a property.
List the GA4 custom metrics on a property.
List a GA4 property's data streams (web, Android, iOS).
List the Google Ads accounts linked to a GA4 property.
List the GA4 key events (conversions) on a property.
List the Measurement Protocol secrets on a data stream.
Page-level performance data including views, engagement, and user behavior
Technology breakdown data including browser, device, OS, and platform
Traffic acquisition data including source, medium, campaign, and channel groupings
Rename an audience or change its description.
Change what a BigQuery export link exports.
Change a channel group's name, description, rules, or primary flag.
Update a GA4 custom dimension's display name / description.
Update a GA4 custom metric's display name / description.
Set how long a GA4 property retains event and user data.
Update a data stream's display name or default URI.
Turn enhanced measurement events (scrolls, outbound clicks, site search, video, downloads) on or off.
Update a Google Ads link's personalized-advertising setting.
Update a GA4 key event's counting method or default value.
Rename a Measurement Protocol secret.
Update a GA4 property's display name, time zone, currency or industry.
User demographic data including age, gender, interests, and user type
Google offers an experimental, open-source Google Analytics MCP server. It suits developers who want free, read-only access and are comfortable running it locally. InsightfulPipe is a hosted alternative with property management and team controls.
| What you operate | InsightfulPipe MCP server | Google Analytics MCP (Google, experimental) |
|---|---|---|
| Hosting | Hosted by InsightfulPipe | Runs locally with pipx and Python 3.10+ |
| Setup | Sign in with Google and pick properties | Google Cloud project with the Analytics Admin and Data APIs enabled, plus Application Default Credentials |
| Read or write | Read and write: 62 actions, 36 of them write | Read-only |
| Reports | Custom and ready-made standard reports (no realtime) | Standard, realtime, funnel and conversions reports |
| Property management | Key events, custom dimensions and metrics, audiences, channel groups, data streams, links and retention | Not available |
| Controls | Read-only connections, per-property action controls, destructive actions off by default | Local credentials with the analytics.readonly scope |
| Other platforms | Google Ads, Meta Ads, LinkedIn Ads and 40+ more MCP servers, plus a CLI | Google Analytics only |
| Price | Included in plans from $29.99/month, with a 7-day free trial | Free and open source (Apache-2.0) |
The InsightfulPipe GA4 MCP server is a hosted Model Context Protocol server for Google Analytics 4. Connect your GA4 properties with a Google sign-in, add the server URL to Claude, ChatGPT, Cursor, Claude Code, Gemini CLI or Codex, and ask about traffic, conversions and user behavior in plain English.
See sessions, users and key events by source, medium, channel group and campaign, and how they trend over time.
See all Google Analytics 4 actionsFind the pages that drive engagement and conversions, and the ones where visitors leave.
See all Google Analytics 4 actionsReport on revenue, transactions, items and purchase behavior without building explorations.
See all Google Analytics 4 actionsAdd the server URL to your AI client, then sign in with your InsightfulPipe account to authorize access. The server is hosted, so there is nothing to install.
https://google-analytics.insightfulmcp.com/Fastest: add InsightfulPipe from the Claude Directory
One click connects the full InsightfulPipe MCP with all your connected accounts. To add a server scoped to Google Analytics 4 only, follow the steps below.
Or add the Google Analytics 4 server manually:
https://google-analytics.insightfulmcp.com/
Start a new chat, click +, open Connectors and turn the connector on to use it.
The Free plan can add one custom connector. On Team and Enterprise plans, an Owner first adds it under Organization settings > Connectors, then each member clicks Connect in Customize > Connectors.
Fastest: add InsightfulPipe from the ChatGPT app directory
One click connects the full InsightfulPipe MCP with all your connected accounts. To add a server scoped to Google Analytics 4 only, follow the steps below.
Or add the Google Analytics 4 server manually. Custom MCP servers need ChatGPT's Developer mode, which OpenAI offers on Plus, Pro, Business, Enterprise and Education accounts on the web.
https://google-analytics.insightfulmcp.com/
See OpenAI's Developer mode guide.
claude mcp add --transport http google-analytics-mcp https://google-analytics.insightfulmcp.com/
/mcp, select google-analytics-mcp and choose Authenticate.~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):{
"mcpServers": {
"google-analytics-mcp": {
"url": "https://google-analytics.insightfulmcp.com/"
}
}
}gemini mcp add --transport http google-analytics-mcp https://google-analytics.insightfulmcp.com/
/mcp auth google-analytics-mcp.Using the Codex app? Add InsightfulPipe from the OpenAI app directory
The listed app connects the full InsightfulPipe MCP with all your connected accounts, in both ChatGPT and Codex.
codex mcp add google-analytics-mcp --url https://google-analytics.insightfulmcp.com/
codex mcp login google-analytics-mcp.One hosted server URL, any MCP-compatible client. Pick yours to see the setup steps, or paste the URL into anything that speaks MCP.
Setup guide for ChatGPT
Setup guide for Claude
Setup guide for Claude Code
Setup guide for Codex
Setup guide for Cursor
Setup guide for Gemini CLI
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Paste the server URL to connect
Run actions from your terminal
Copy a prompt into any connected client, or install a Claude skill that chains the actions for you.
“How did sessions and key events change week over week by channel group?”
Trend report by default channel group
Claude skill that improves post-signup onboarding: defines your activation metric, picks onboarding patterns and plans behavior-triggered emails.
“Which landing pages had the most sessions but the lowest engagement rate last month?”
Finds pages that need work
Claude skill that diagnoses why a landing page, homepage, pricing or feature page is not converting and prioritizes fixes with the ICE framework.
“Show revenue and transactions by device category for the last 90 days”
Ecommerce performance by device
Claude skill that optimizes signup and registration flows: fields, social sign-in, email verification, page design and the path to activation.
“Which countries grew the most in new users this quarter?”
Geography comparison with date ranges
Claude skill that analyzes customer journeys across channels, compares attribution models and finds undervalued and overvalued channels.
“List the key events on this property”
Reviews conversion setup
Join hundreds of agencies and brands using InsightfulPipe to connect marketing data to AI.
Start a free trial today.