Google Analytics 4 MCP for AI. Analyze user flow and conversions on demand.
Works with every AI agent you already use
…and any MCP-compatible client








Connect to your AI in seconds.
Google Analytics 4 provides event-based web analytics directly through your AI agent. Analyze user paths, conversion funnels, traffic sources, and device performance without opening the GA4 dashboard.
It gives you full access to dimensions like country demographics or metrics like revenue, letting you ask questions about user behavior in plain English.
What your AI can do
Batch run reports
Runs multiple different types of reports in one go for efficiency.
Check compatibility
Verifies if the dimensions and metrics you want are available together.
Get conversions
Retrieves specific data on how many conversions happened and what revenue they generated.
Retrieves a ranked list of your site's most viewed pages over any specified time frame.
Pinpoints where website visitors came from, breaking down traffic by source and medium (e.g., Google Organic, Paid Ads).
Shows you which countries are sending the most traffic to your site.
Gathers counts and revenue data for specific goal or conversion events.
Monitors active users and current page views as they happen right now.
Ask an AI about this
Waiting for input…
Google Analytics 4: 12 Reporting Tools
These twelve tools give you granular control over every type of web data. You can run pivot reports, check compatibility, and get real-time metrics to deep-dive into user behavior.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using Google Analytics 4 on VinkiusBatch Run Reports
Runs multiple different types of reports in one go for efficiency.
Check Compatibility
Verifies if the dimensions and metrics you want are available together.
Get Conversions
Retrieves specific data on how many conversions happened and what revenue they...
Get Device Breakdown
Separates user traffic counts by device type, like desktop or mobile.
Get Metadata
Lists all the available data dimensions and metrics you can use in reports.
Get Page Views
Gets a ranked list of your top 25 pages based on how many times they were viewed.
Get Traffic Sources
Identifies where the visitors are coming from, like Google or LinkedIn.
Get User Demographics
Provides user data broken down by country and other demographic info.
List Audience Exports
Retrieves a list of audience export options from GA4.
Run Pivot Report
Creates complex, cross-tabulated reports to compare different metrics across...
Run Realtime Report
Displays active user count and page views for the current moment in time.
Run Report
Runs a fully customized report using specified date ranges, dimensions, and metrics.
Security and governance baked right in.
Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Google Analytics 4, then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,100+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Google Analytics 4. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This connection provides 12 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.
Sifting through dashboard clicks takes forever.
Today, figuring out if a new landing page is working requires navigating multiple tabs. You pull up the 'Pages' report to see views, then open another tab to check demographics, and finally jump into a third section to verify conversions. It’s a cycle of clicking, exporting data, and copy-pasting numbers between sheets just to piece together one narrative.
With this MCP, that manual effort vanishes. You talk to your agent: 'Analyze the top pages by views and tell me which countries are seeing the most action.' The agent runs all necessary checks—getting page views, gathering demographics, checking conversions—and gives you a single, synthesized answer.
Get Conversions with get_conversions
Before this MCP, tracking conversion data meant running specific reports and hoping the dates matched up. If you needed to see how many sign-ups happened versus actual purchases in a given window, it involved multiple manual report generations.
Now, you just ask for conversions. The agent runs `get_conversions`, giving you immediate counts and revenue totals based on your prompt. You get the answer without ever opening the conversion funnel tab.
What your AI can actually do with this
This MCP connects your Google Analytics 4 property to any AI agent, letting you run complex web analytics from a simple chat prompt. You can figure out exactly where traffic comes from, what pages perform best, and which users are converting into paying customers—all without touching the GA4 UI. Need to know if mobile users drop off at checkout? Ask.
Want to see how your latest campaign is affecting sign-ups? Just ask.
It's about making raw data actionable. Whether you use it through Vinkius or another MCP-compatible client, you get full power over custom reports and advanced metrics like device breakdown and user demographics. Your agent handles the heavy lifting of querying dimensions and metrics, letting you focus on what those numbers actually mean for your business.
019dd0fc-dbd3-7165-a92d-60d5213e64ec Here's how it actually works
The bottom line is: you talk to your agent, and it pulls specific analytics reports from Google Analytics 4 without needing to log into the dashboard.
Subscribe to this MCP, then enter your Google OAuth Access Token and GA4 Property ID.
Your AI agent sends a request specifying the required date ranges, dimensions, and metrics.
The MCP runs the query against GA4 data and returns structured results directly to your chat interface.
Who is this actually for?
Marketing managers who get frustrated having to manually jump between GA4 tabs just to answer a simple stakeholder question. It’s for product teams that need rapid, ad-hoc data checks without waiting on analysts.
Uses the MCP to monitor feature adoption and user engagement by checking page views and conversion rates after a beta release.
Analyzes device breakdowns, demographics, and real-time traffic patterns to figure out if a recent site change impacted mobile users specifically.
Quickly determines the performance of specific campaigns by running reports on traffic sources and conversion funnels without building a complex dashboard first.
What Changes When You Connect
Stop leaving the GA4 dashboard. You can ask your agent for things like 'show me all traffic from LinkedIn' or 'what are our top pages?' without ever clicking a filter.
Need to check if certain metrics work together? Use the get_metadata tool to list available dimensions and verify compatibility before running any report.
When you need deep comparisons, use run_pivot_report. It lets you cross-reference user demographics against conversion counts in one shot.
Want to know what's happening right now? The run_realtime_report tool gives you instant visibility into active users and current page views. No waiting for data refresh cycles.
Targeting campaign performance is easy. Run a report using the get_traffic_sources tool to immediately see if your paid ads are driving better revenue than organic search.
Analyze user location instantly. The get_user_demographics tool tells you exactly which countries are sending traffic, helping prioritize regional campaigns.
See it in action
Investigating a sudden drop in sign-ups
A user asks the agent: 'Our sign-up conversions dropped 20% last week. What's up?' The agent runs get_conversions and then cross-references it with run_pivot_report, revealing that only mobile traffic from a specific country was affected.
Preparing for an executive meeting
A manager needs to show the board how much revenue is coming from different device types. They use the agent to run get_device_breakdown and then ask for a summary of conversion data, which saves them hours in manual reporting.
Debugging a new feature launch
A product team needs immediate feedback on a page update. They use the agent to run run_realtime_report while QA tests it, seeing if active users are behaving differently than expected right now.
Understanding user drop-off points
A growth engineer wants to map out the path a typical user takes. They use get_page_views to find high-traffic pages, then follow up with get_user_demographics to see which countries are interested in those specific pages.
The honest tradeoffs
Copying and pasting metrics
Getting the top 10 pages by views into a spreadsheet, then manually pulling demographics for each page to understand regional performance.
Use the agent's ability to run reports. Combine get_page_views with run_pivot_report in one prompt. The system handles the data linking and comparison automatically.
Over-relying on dashboard filters
Spending 15 minutes clicking through GA4's internal menus, switching dates, and resetting views just to compare mobile vs. desktop traffic.
Ask the agent directly: 'Compare conversions for users on mobile versus desktop.' This triggers get_device_breakdown and get_conversions with a single query.
Assuming data availability
Writing a complex report request that uses metrics or dimensions the account hasn't configured, resulting in an error.
Always start by running get_metadata. This lists everything available, letting you confirm which fields you can actually use before building anything.
When It Fits, When It Doesn't
Use this MCP if your primary bottleneck is translating complex web data into quick answers. You need to know why traffic patterns are shifting or what specific segments (like mobile users in Germany) convert best, and you don't want to open the GA4 dashboard. Don't use it if you just need basic reporting; for simple metrics, a direct platform report is fine. If you only need raw lists of available fields, run get_metadata first. If your goal is to compare multiple data types (e.g., views vs. revenue) across different segments, prioritize the advanced tools like run_pivot_report. Never use this just because it's easy; use it when complexity and speed are non-negotiable.
Questions you might have
How do I run a custom report using get_metadata with Google Analytics 4? +
You first use get_metadata to list all available dimensions and metrics. Then, you provide those specific field names when asking the agent to 'run a report' so it knows exactly what data to pull.
What is the difference between get_page_views and run_report? +
get_page_views quickly gives you the top 25 pages by views. run_report, however, lets you build a fully custom report by specifying date ranges, dimensions, and metrics to cover specific analyses.
Can I see live traffic using run_realtime_report? +
Yes. run_realtime_report monitors active users and current page views instantly. This is perfect for checking how a site performs during peak hours without delay.
Does get_user_demographics cover all countries? +
It pulls user distribution by country, providing geographic insights on your traffic sources. You can use this data to focus marketing efforts regionally.
Before running a custom report, how do I use `check_compatibility` to verify my GA4 dimensions and metrics? +
It confirms whether the combination of dimensions, metrics, and date ranges you plan to query are supported by your specific GA4 property. Run this tool first before calling run_report to prevent errors and ensure accurate data retrieval.
Is there a way to run several different analytics reports simultaneously using `batch_run_reports`? +
Yes, batch_run_reports is designed for efficiency. It lets you submit multiple, varied report requests in a single call. This saves time compared to calling run_report repeatedly for different date ranges or segments.
What does the `list_audience_exports` tool help me find regarding user groups? +
This function retrieves a list of pre-defined audience exports within your GA4 property. It tells you which specialized user groups—like 'High Value Shoppers' or 'Lapsed Users'—you can analyze further for deeper segmentation.
When I call `run_report`, what specific data structure must the JSON request include? +
You must provide three distinct arrays in your JSON payload: dateRanges for time periods, an array of desired dimensions, and an array of target metrics. Missing any one of these elements will cause the report to fail.
Can I run custom reports with specific dimensions and metrics? +
Yes! The run_report tool 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.
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.
Can I see real-time active users on my website? +
Yes. The run_realtime_report tool 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.
We've already built the connector for Google Analytics 4. Just plug in your AI agents and start using Vinkius.
No hosting. No infrastructure. No complex setup.
All 12 tools are live and waiting.
You're up and running in seconds.
Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.
Built, hosted, and secured by Vinkius. You just connect and go.