Skip to content
TrustedSkillsbeta
Back to all skills

Google Analytics MCP

Listed
surendranb·v1.0.0·data·MIT

Connect Google Analytics 4 to Claude, Cursor, and other MCP clients. Query GA4 traffic, user behavior, and conversion data using natural language. Supports 200+ dimensions and metrics via the GA Data API.

Install on your platform

Showing MCP (generic).

No MCP (generic) install is recorded for this skill. We only show commands that exist. Use the upstream one below.
  1. 1

    Use the upstream install command

    terminal
    $ pip install google-analytics-mcp
Repository install instructions

What we know about this skill

Publisher

surendranb

Taken from the source listing. We haven't verified who controls this account.

Install target

Pinned to 791103c9

Installs fetch a stored snapshot of that commit, so the code can't change after the fact.

Nobody has reviewed this code. TrustedSkills indexes and links skills; it does not audit, run or scan them. A skill runs with whatever access you give your agent — read the source before you install it.

Automated safety checks

scanned

We could not read this skill's source, so none of the checks below were run.

Not scanned. none of the 16 skills in the repository match this slug — it was most likely renamed or removed upstream after the registry indexed it Source recorded as surendranb/google-analytics-mcp.
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

The Google Analytics MCP Server connects Google Analytics 4 (GA4) data to AI agents, enabling them to analyze website traffic, user behavior, and performance. It provides analysis-ready outputs through server-side aggregation, automatically discovers the schema for each GA4 property, and uses context-safe defaults to handle large datasets efficiently. This allows agents to focus on answering questions rather than data wrangling.

When to use it

  • Performance Analysis: An agent needs to analyze website traffic trends over a specific period to identify potential issues or opportunities.
  • User Behavior Insights: An agent is tasked with understanding how users interact with key pages on a website, including bounce rates and conversion paths.
  • Campaign Effectiveness: An agent requires data to assess the performance of marketing campaigns and their impact on website traffic.
  • Automated Reporting: Automate the generation of regular reports summarizing key GA4 metrics for stakeholders.

Key capabilities

  • Schema discovery for GA4 properties (dimensions & metrics)
  • Server-side aggregation of data
  • Context-safe defaults for handling large datasets
  • Compatibility with various agent runtimes (Claude, ChatGPT, Cursor, Windsurf, and custom hosts)

Example prompts

  • "What was the total number of users on our website last week?"
  • "Show me a breakdown of traffic sources for the month of July."
  • “Compare conversion rates between mobile and desktop users.”
  • "Identify pages with high bounce rates and suggest potential improvements."

Tips & gotchas

A Google Analytics 4 property with data is required. You'll also need to create a service account with access to the Google Analytics Data API and your GA4 property.

Requirements

Required binaries

python3

Environment variables

GOOGLE_APPLICATION_CREDENTIALSGA4_PROPERTY_ID

This skill expects these to be set in its environment — it will have access to their values.

Tags