
Connect Google Analytics 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 AI agent into a dedicated analytics analyst.
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
Get metadata
This capability retrieves all available metrics and dimensions for your property. Use it to see what custom definitions and standard data points are available for reporting.
- 02
Check compatibility
This capability validates that your chosen metrics and dimensions can actually be combined. It prevents API errors by checking for conflicts before you run a report.
- 03
List accounts
This capability lists all Google Analytics accounts you have access to. It serves as the starting point for finding specific properties.
- 04
Get user activity
This capability retrieves the interaction history for a specific user ID. It is designed for troubleshooting customer issues or mapping individual user journeys.
05-08
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 05
Get audience export
This capability monitors the status of an audience export job. Use it to track the progress of user lists being prepared for external activation.
- 06
Get property
This capability pulls detailed configuration settings for a specific GA4 property. It helps your agent understand the setup of a particular website or app.
- 07
List audience exports
This capability shows all active or completed audience export jobs for a property. It tracks the status of user segmentation tasks.
- 08
List properties
This capability lists all the individual properties within a Google Analytics account. It provides the property IDs needed to run specific reports.
09-12
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 09
Run funnel report
This capability generates a funnel analysis to show user progression through defined steps. It highlights exactly where users drop off in a conversion path.
- 10
Batch run reports
This capability runs multiple report configurations in a single API call. It is useful for loading entire dashboards or performing comparative analysis quickly.
- 11
Run realtime report
This capability pulls live data from the last 30 to 60 minutes. Use it to see current active users, pageviews, and traffic sources as they happen.
- 12
Run report
This capability executes a custom GA4 report using specific metrics and dimensions. You can filter results by date ranges or specific criteria to get exact data points.
Real work
What teams actually run
Conversion Optimization
Ask your agent to find where users are leaving your checkout process.
Traffic Monitoring
Check real-time user counts and traffic sources during a marketing campaign.
Customer Troubleshooting
Look up the specific activity history of a user to solve support tickets.
Automated Reporting
Request weekly summaries of active users and pageviews by country.
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
907ms average. Fast in production.
Google Analytics 4 is checked daily against the live service.
- Fastest day
- 762ms
- Slowest day
- 1180ms
- 14-day trend
- Slowing+7%
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_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/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-mcp": {
"url": "https://edge.vinkius.com/vk_preview_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/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 pull data from GA4 without manually building reports in the Google dashboard.
- 01
Marketing Teams
Pull custom reports by channel or geography through chat.
- 02
Product Managers
Monitor conversion rates and user drop off in specific flows.
- 03
Data Analysts
Validate metric compatibility and export data for BI capabilities.
- 04
Support Teams
Investigate specific customer journeys using user activity logs.
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 Google Analytics API key. Once connected, your AI client can immediately start querying your properties.
- 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 use custom dimensions in my reports?
Yes. You can use the get_metadata capability to find your custom definitions and then include them in your run_report requests.
- 04
How recent is the realtime data?
The realtime reports provide data from the last 30 to 60 minutes of activity on your site or app.
- 05
What happens if I request incompatible metrics?
You can use the check_compatibility capability to verify your metrics and dimensions before running a report to avoid errors.
- 06
How do I get a Google Analytics API key and what type of credentials do I need?
You need an API Key from Google Cloud Console. Go to console.cloud.google.com → Select or create a project → Enable the Google Analytics Data API v1 → Navigate to APIs & Services > Credentials → Click Create Credentials > API Key. Copy the key (starts with AIzaSy...). Then, in Google Analytics Admin, add the service account email with Viewer or Analyst role to your GA4 property. Paste the API key below.
- 07
What metrics and dimensions are available in GA4 and how do I find them?
Use the get_metadata capability with your property_id to list all available metrics and dimensions. Common metrics include: activeUsers, screenPageViews, sessions, eventCount, engagementRate, averageSessionDuration, conversions. Common dimensions include: city, country, deviceCategory, sessionDefaultChannelGrouping, pageTitle, pagePath, streamName. The metadata response shows descriptions, types, and whether each field is a metric or dimension.
- 08
Can I get realtime data and how far back does it go?
Yes! Use the run_realtime_report capability to get data from the last 30-60 minutes. Realtime reports show active users, events, and traffic sources as they happen on your site. This is useful for monitoring campaign launches, tracking live events, or checking if tracking is working correctly. Unlike standard reports which can take 24-48 hours to process, realtime data is available within minutes.
- 09
How do I analyze funnel conversion rates and identify drop-off points?
Use the run_funnel_report capability with a funnel_spec JSON object defining your conversion steps. Each step includes a stepName, filterExpression (e.g., eventName equals 'page_view'), and optional breakdown settings. The response shows how many users entered each step, how many completed it, and where the biggest drop-offs occurred. This helps identify friction points in checkout flows, signup processes, or any multi-step user journey.
Explore
More in Industry Titans
Google Analytics 4 AI Connector
Understand your website and app traffic with event-based analytics that reveal user behavior, conversions, and
ViewQuestDB (Time-Series) AI Connector
High-performance time-series database for fast SQL queries, data ingestion, and real-time analytics directly f
ViewMixpanel (Event Analytics & Insights) AI Connector
Manage product analytics via Mixpanel — query event trends, track conversion funnels, and audit user cohorts.
ViewSensors Data AI Connector
Orchestrate Sensors Data analytics — manage events, query user profiles, and monitor data ingestion 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
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
ViewMatomo AI Connector
Open-source web analytics via Matomo — track visits, goals, and user behavior directly from any AI agent.
View
Connect Google Analytics 4 to Claude, Cursor, ChatGPT & more
