Vinkius
Google Analytics 4

Google Analytics 4 MCP for AI. Analyze user flow and conversions on demand.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Google Analytics 4 MCP on Cursor AI Code EditorGoogle Analytics 4 MCP on Claude Desktop AppGoogle Analytics 4 MCP on OpenAI Agents SDKGoogle Analytics 4 MCP on Visual Studio CodeGoogle Analytics 4 MCP on GitHub Copilot AI AgentGoogle Analytics 4 MCP on Google Gemini AIGoogle Analytics 4 MCP on Lovable AI DevelopmentGoogle Analytics 4 MCP on Mistral AI AgentsGoogle Analytics 4 MCP on Amazon AWS Bedrock

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.

+ 9 more capabilities included
Identify top web pages

Retrieves a ranked list of your site's most viewed pages over any specified time frame.

Trace visitor sources

Pinpoints where website visitors came from, breaking down traffic by source and medium (e.g., Google Organic, Paid Ads).

Analyze user locations

Shows you which countries are sending the most traffic to your site.

Track conversion details

Gathers counts and revenue data for specific goal or conversion events.

View real-time activity

Monitors active users and current page views as they happen right now.

Included with Plan

Waiting for input…

AI Agent

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 Vinkius

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...

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.

Claude AI

Claude AI

1

Open Claude Settings

Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.

2

Add Custom Connector

Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:

https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials.

3

Start a conversation

Open a new chat. The Google Analytics 4 integration is available immediately — no restart needed.

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
Start building

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
Google Analytics 4 MCP server cover

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

Your data is protected. See how we built it.

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.

Built · Hosted · Managed by Vinkius Google Analytics 4 MCP - Analyze Web Traffic & Conversions
Server ID 019dd0fc-dbd3-7165-a92d-60d5213e64ec
Vinkius Inspector
Compliance Grade A+
Score 98.33/100
Vinkius Inspector Badge — Score 98.33/100

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.

Built & Managed by Vinkius 30s setup 12 tools

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 runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

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.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.