4,500+ servers built on MCP Fusion
Vinkius
Google Analytics logo
Vinkius
Claude Code logo

How to Use the Google Analytics MCP in Claude Code

Query GA4 metrics, run funnel reports, and build terminal dashboards directly from Claude Code.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Google Analytics MCP on Cursor AI Code Editor MCP Client Google Analytics MCP on Claude Desktop App MCP Integration Google Analytics MCP on OpenAI Agents SDK MCP Compatible Google Analytics MCP on Visual Studio Code MCP Extension Client Google Analytics MCP on GitHub Copilot AI Agent MCP Integration Google Analytics MCP on Google Gemini AI MCP Integration Google Analytics MCP on Lovable AI Development MCP Client Google Analytics MCP on Mistral AI Agents MCP Compatible Google Analytics MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Claude Code

Connect Google Analytics MCP to Claude Code

Create your Vinkius account to connect Google Analytics to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Terminal-based GA4 reporting and automation

Claude Code queries `run_report` and `batch_run_reports` directly from your terminal, piping the raw JSON output into jq or local files. This terminal-first setup makes it easy to write shell scripts that fetch daily metrics. You get direct access to your database without leaving your command line. It bypasses the slow web UI entirely.

Automate audience exports via this MCP Server

This MCP Server lets your agent trigger and monitor exports using `list_audience_exports` and `get_audience_export` straight from the command line. You can script these tools to run on a cron job, pulling fresh user lists directly into your backend. No manual CSV downloads are required. It handles the extraction in the background.

Instant real-time site monitoring

By running `run_realtime_report` and `get_user_activity`, Claude Code lets you monitor your site's health during a major product launch. The agent instantly pulls active user counts and event streams to your terminal. If anomalies appear, you get immediate answers without loading heavy browser dashboards. You see the live traffic patterns instantly.

Setup guide

Set up Google Analytics MCP in Claude Code

Prerequisites

  • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Run the add command

    Open your terminal and run the command shown on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com. Use --scope user to make it available across all projects.

  2. 2

    Verify the connection

    Start a Claude Code session and type /mcp to list connected servers. You should see google-analytics-mcp with a green status indicator.

  3. 3

    Start using tools

    Ask Claude Code something like "Check my latest Google Analytics transactions." It will automatically discover and invoke the available Google Analytics tools.

Terminal
claude mcp add --transport http google-analytics-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

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 MCP in Claude Code

Run the `claude mcp add` command with the server's HTTP URL. This registers the 12 tools in your `~/.claude.json` file for immediate terminal access.
Yes, Claude Code calls `run_funnel_report` with your custom step configurations to output funnel conversion data directly to your terminal screen.
The agent uses `get_metadata` to fetch the latest GA4 dimensions and metrics. This ensures your terminal commands always use valid, up-to-date fields.
Yes, you can run `list_accounts` and `list_properties` to quickly find the exact property IDs you need for your reporting scripts.
Yes, your GA4 report definitions, API keys, and user activity logs are processed inside an ephemeral, zero-trust sandbox. The MCP Server acts as a secure proxy, keeping your analytics data private.

Start using the Google Analytics MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 12 tools

We've already built the connector for Google Analytics. 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.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
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.