Use Google Analytics 4 with your AI.
Connect your account once and let the AI you already use work with it, without building another integration. Understand your website and app traffic with event-based analytics that reveal user behavior, conversions, and growth trends.
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.
Complete set · 12 capabilities
The complete Google Analytics 4 capability set.
These are the exact actions your AI can choose when you ask it to work with Google Analytics 4.
01-04
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 01
Get traffic sources
Get traffic sources
- 02
Get user demographics
Get user demographics
- 03
Run pivot report
Run pivot report
- 04
Get conversions
Get conversions
05-08
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 05
Get device breakdown
Get device breakdown
- 06
Get metadata
Get available dimensions and metrics
- 07
List audience exports
List audience exports
- 08
Batch run reports
Batch run reports
09-12
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 09
Check compatibility
Check report compatibility
- 10
Get page views
Get top pages by views
- 11
Run realtime report
Run realtime report
- 12
Run report
Data JSON must include dateRanges, dimensions, and metrics arrays. Run a custom report
Observed, not estimated
927ms average. Fast in production.
Google Analytics 4 is checked daily against the live service.
- Fastest day
- 780ms
- Slowest day
- 1069ms
- 14-day trend
- Improving-21%
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
FAQ
Questions Google Analytics 4 owners ask.
- 01
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.
- 02
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.
- 03
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
ViewAlgolia Analytics AI Connector
Search performance intelligence — audit CTR, conversions, and top searches via AI.
ViewPirsch Analytics AI Connector
Privacy-friendly web analytics — track hits, events, and retrieve detailed statistics for your domains directl
Viewjourny.io AI Connector
Manage SaaS growth, users, and accounts via journy.io API.
View
Suggestions
Mixpanel (Event Analytics & Insights) AI Connector
Manage product analytics via Mixpanel — query event trends, track conversion funnels, and audit user cohorts.
ViewMatomo AI Connector
Open-source web analytics via Matomo — track visits, goals, and user behavior directly from any AI agent.
ViewSalesforce Analytics & SOQL AI Connector
Run SOQL queries, execute reports, view dashboards, and analyze CRM data in real-time through natural conversa
ViewTubular AI Connector
Analyze social video performance across YouTube, Facebook, and TikTok with audience insights and competitive b
View
