
Connect Google Analytics (#4) to ChatGPT, Claude and Gemini
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Turn your web traffic data into direct answers.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 12 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 01
Batch run reports
This capability executes multiple report requests at once. It's useful for pulling several related datasets in a single step.
- 02
Check compatibility
Use this to verify if a specific combination of dimensions and metrics can work together in a report.
- 03
Get conversions
This capability tracks your success metrics. It retrieves conversion event counts and associated revenue data.
- 04
Get device breakdown
Use this to see how users access your site. It breaks down traffic across desktop, mobile, and tablet devices.
05-08
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 05
Get metadata
This capability lists all available dimensions and metrics. It helps your agent understand what data is available to query.
- 06
Get traffic sources
This capability identifies where your visitors are coming from. It pulls session sources and mediums to show your traffic attribution.
- 07
Get user demographics
Use this to see who your users are. It provides geographic insights by showing user distribution across different countries.
- 08
List audience exports
This capability retrieves your audience export lists from Google Analytics.
09-12
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 09
Run pivot report
This capability generates pivot reports. It allows your agent to organize data into multi-dimensional tables for deeper analysis.
- 10
Run realtime report
This capability provides live data. It monitors active users and current page views as they happen.
- 11
Get page views
This capability identifies your most popular content. It returns the top 25 pages ranked by views for a chosen period.
- 12
Run report
This capability executes custom reports. You provide the date ranges, dimensions, and metrics to get specific JSON data back.
Real work
What teams actually run
Campaign Performance Check
Ask your agent how a specific marketing channel is driving conversions compared to last week.
Content Optimization
Identify which blog posts are driving the most signups to guide your editorial strategy.
User Experience Audits
Check device distribution to ensure your site is performing well on mobile users.
Real-time Site Monitoring
Verify live traffic spikes during a product launch or marketing event.
Automate a task
Put Google Analytics 4 to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
Google Analytics 4 works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put Google Analytics 4 to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
914ms average. Fast in production.
Google Analytics 4 is checked daily against the live service.
- Fastest day
- 667ms
- Slowest day
- 1388ms
- 14-day trend
- Slowing+20%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 12 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of Google Analytics 4, so you can see the experience inside your AI.
It does not authenticate your account with Google Analytics 4. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
Google Analytics 4 Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Google Analytics 4 capabilities are ready to use.
{
"mcpServers": {
"google-analytics-4-mcp": {
"url": "https://edge.vinkius.com/vk_preview_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up Google Analytics 4 in Claude and other AIs
Who it's for
Built for the work Google Analytics 4 owners hand off.
This MCP is built for professionals who need to move from data to decisions without getting stuck in the GA4 UI.
- 01
Marketing Teams
They use the agent to track campaign performance and conversion funnels.
- 02
Product Managers
They monitor feature adoption and user engagement through page views.
- 03
Growth Engineers
They analyze device breakdowns and traffic patterns to optimize user experience.
FAQ
Questions Google Analytics 4 owners ask.
- 01
How do I connect my Google Analytics data?
You subscribe to the MCP on Vinkius and provide your GA4 Property ID and a Google OAuth Access Token. Once connected, your data is ready to use in your AI client.
- 02
Which AI clients can I use with this MCP?
This MCP works with any compatible client, including Claude, Cursor, Windsurf, and VS Code.
- 03
Can I run custom reports instead of just basic queries?
Yes. You can use the run_report capability to send specific dimensions and metrics to create fully custom reports.
- 04
Does this MCP support real-time data?
Yes. The run_realtime_report capability allows your agent to see active users and current page views as they happen.
- 05
Is my data secure?
Vinkius manages your credentials and hosts the MCP, ensuring your connection to Google Analytics remains secure and managed.
- 06
Can I run custom reports with specific dimensions and metrics?
Yes! The run_report capability accepts a JSON configuration with dateRanges, dimensions (e.g., pagePath, sessionSource), and metrics (e.g., sessions, screenPageViews, conversions). Use get_metadata to list all available dimensions and metrics, and check_compatibility to verify your combination is valid before running.
- 07
Does GA4 require two credentials. an access token and a property ID?
Yes. You need a Google OAuth Access Token (for authentication via Bearer header) and a GA4 Property ID (numeric ID identifying your specific GA4 property). The Access Token can be generated via a Google Cloud Service Account with the Analytics Data API enabled. The Property ID is found in GA4 Admin > Property Settings.
- 08
Can I see real-time active users on my website?
Yes. The run_realtime_report capability provides current active user data with real-time dimensions and metrics. For pre-built convenience reports, use get_page_views for top pages, get_traffic_sources for session sources, and get_device_breakdown for device distribution.
Explore
More in Industry Titans
Google Analytics AI Connector
Query GA4 analytics data via Google Analytics API — run reports, check realtime data, analyze funnels, and exp
ViewSensors Data AI Connector
Orchestrate Sensors Data analytics — manage events, query user profiles, and monitor data ingestion directly f
ViewMixpanel (Event Analytics & Insights) AI Connector
Manage product analytics via Mixpanel — query event trends, track conversion funnels, and audit user cohorts.
ViewQuestDB (Time-Series) AI Connector
High-performance time-series database for fast SQL queries, data ingestion, and real-time analytics directly f
View
Suggestions
PubNub (Real-time Messaging) AI Connector
Enable real-time messaging, presence tracking, and message history for your AI agent using PubNub's global dat
ViewUmami (Privacy Analytics) AI Connector
Manage your Umami analytics — track events, manage websites, and oversee users directly through your AI agent.
ViewTinybird Data Platform AI Connector
Analyze real-time data via Tinybird — manage Data Sources, inspect Pipes, and query endpoints directly.
ViewReal-Time Currency Exchange AI Connector
Give your AI access to the global forex market. Convert real-time and historical currencies instantly using of
View
Connect Google Analytics 4 to Claude, Cursor, ChatGPT & more
