ClaudeChatGPTPerplexityGeminiMicrosoft CopilotRaycastMeta AIGrokZ.aiQwenKimi
DeepSeekMistralCursorVS CodeWindsurfJetBrainsClineLovableVercel AI SDKLangChain

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.

Included with plan

Ask AI about this Connector

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.

ChatGPTClaudeCursorPerplexityGeminiMicrosoft CopilotRaycastMeta AI

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.

Capability set01 / 03

01-04

4 capabilities in this set.

Part of 12 available through Google Analytics 4.

  1. 01

    Get traffic sources

    Get traffic sources

  2. 02

    Get user demographics

    Get user demographics

  3. 03

    Run pivot report

    Run pivot report

  4. 04

    Get conversions

    Get conversions

Capability set02 / 03

05-08

4 capabilities in this set.

Part of 12 available through Google Analytics 4.

  1. 05

    Get device breakdown

    Get device breakdown

  2. 06

    Get metadata

    Get available dimensions and metrics

  3. 07

    List audience exports

    List audience exports

  4. 08

    Batch run reports

    Batch run reports

Capability set03 / 03

09-12

4 capabilities in this set.

Part of 12 available through Google Analytics 4.

  1. 09

    Check compatibility

    Check report compatibility

  2. 10

    Get page views

    Get top pages by views

  3. 11

    Run realtime report

    Run realtime report

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

Daily averagePeak 1069ms
Aug 20Today
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.

Connector linkhttps://edge.vinkius.com/vk_preview_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Google Analytics 4 capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "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.