How to Use the Google Analytics 4 MCP in Claude
Run custom traffic reports and pull live conversion metrics directly inside Claude Desktop using this Google Analytics 4 MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Google Analytics 4 MCP to Claude Desktop
Create your Vinkius account to connect Google Analytics 4 to Claude Desktop and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Query real-time traffic spikes inside Claude Desktop
`run_realtime_report` pulls active visitor counts and active event triggers into your Claude Desktop chat window right as they happen. You don't have to open the browser tab or wait for the standard 24-hour processing delay when monitoring a product launch. Your agent compares live hits against historical baselines on command. By using the `get_traffic_sources` tool, you can instantly see which campaigns or referrers are driving the current traffic surge. Claude Desktop displays these raw metrics directly in your workspace, letting you spot broken tracking or sudden viral loops before they ruin your daily attribution.
Analyze device and demographic performance via MCP Server
`get_device_breakdown` pulls mobile, desktop, and tablet performance data directly into your Claude Desktop workspace. You avoid the manual exporting hassle because your agent queries the Google Analytics Data API directly to pinpoint where conversion rates are dropping. Combine that breakdown with `get_user_demographics` to map exactly where your paying customers live and what language they speak. Claude Desktop processes these JSON payloads locally to help you refine your ad targeting parameters in seconds.
Run complex batch reports in your desktop chat
`batch_run_reports` lets you bundle multiple GA4 dimension queries into a single request to save API quota. Claude Desktop handles these structured payloads natively, allowing you to cross-reference page views and custom conversion events without making repetitive manual calls. If you aren't sure which dimensions are valid together, `check_compatibility` checks your custom schema before execution. This prevents broken queries and keeps your analysis moving inside the Claude Desktop interface.
Set up Google Analytics 4 MCP in Claude Web or Desktop
- 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]/mcpReplace[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 MCP tools are available immediately — no restart needed.
Endpoint URL
https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp No configuration file needed — paste the URL directly in the Claude web interface.
Available on Free (1 connector), Pro, Max, Team, and Enterprise plans.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Google Analytics 4 MCP in Claude Desktop
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Google Analytics 4 MCP today
We host it, we monitor it, we maintain it. You just paste one token.