Skip to content
MCP server

Google_analytics

MCP server giving AI clients read access to Google Analytics 4 reports and realtime data

Install
Pricing
Freemium
Platforms
API, CLI, Web
Runs
Locally or Remotely
Version
0.2.1
Listing updated
today

Similar MCP servers

About Google_analytics

Google_analytics is a freemium MCP server for analytics and data. It can run locally on your machine or as a hosted remote server.

The README describes this as a Pipeworx pack that exposes four GA4 tools to MCP clients. Its reporting tool lets you pick dimensions such as city or page path and metrics such as active users or sessions for a date range, returning aggregated rows. Companion tools list the GA4 properties you can access, pull live active-user counts for a property, and enumerate the dimensions and metrics a property supports so queries can be built correctly.

The server runs through the Pipeworx gateway, so it is reached either as a hosted streamable-HTTP endpoint or through a local npm stdio bridge that forwards calls to that gateway. The README notes that the endpoint also lists shared gateway meta-tools alongside the four pack tools, and that anonymous calls are capped daily while a free key raises the cap. It is an unofficial integration, not affiliated with Google.

This suits developers and analysts who want an assistant to answer traffic questions against their own GA4 properties without writing API code. Access to a property depends on the account behind the connection.

Install

Run in a terminal

claude mcp add --transport http google_analytics https://gateway.pipeworx.io/google_analytics/mcp

Add to Settings → Connectors → Add custom connector

https://gateway.pipeworx.io/google_analytics/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "google_analytics": {
      "url": "https://gateway.pipeworx.io/google_analytics/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "google_analytics": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/google_analytics/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "google_analytics": {
      "serverUrl": "https://gateway.pipeworx.io/google_analytics/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "google_analytics": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/google_analytics/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PIPEWORX_API_KEYOptional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

ga_run_report
Query GA4 analytics data by dimensions and metrics for a date range.
ga_list_properties
List all GA4 properties you can access.
ga_get_realtime
Check live user activity in a GA4 property right now.
ga_get_metadata
Discover available dimensions and metrics for a GA4 property.

What it does

Dimension and metric reports
Runs GA4 reports by chosen dimensions and metrics over a date range and returns aggregated rows.
Realtime user activity
Returns current active user count and real-time engagement for a given property ID.
Property discovery
Lists the GA4 properties the connected account can access, with IDs and account info.
Metadata lookup
Returns available dimension and metric names with descriptions and data types for query building.
Hosted or local connection
Connects as a remote streamable-HTTP endpoint or a local npm stdio bridge.

Good for

  • Ask an assistant for top landing pages or traffic sources over the last month
  • Check how many users are active on a site right now
  • Find the property ID for a GA4 account before running reports
  • Look up which GA4 dimensions and metrics are valid before building a query

Pricing

Freemium, from $49 a month

Free anonymous tier (50 calls/day) and free registered tier (200 calls/day); paid credits beyond that.

Prices change. Check pipeworx.io before you buy.

Google_analytics FAQ

How many tools does the endpoint list?

The README says the pack provides four tools, but a single-pack endpoint also lists roughly 30 shared Pipeworx meta-tools alongside them.

Does it need an API key?

The npm bridge works anonymously capped at 50 calls a day. A free Pipeworx key raises that to 200 calls a day.

Is this an official Google product?

No. The README states it is an independent, unofficial integration not affiliated with or endorsed by Google.

Is Google_analytics free?

Google_analytics has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

How do I add Google_analytics to Claude Code?

Run this command in your terminal: claude mcp add --transport http google_analytics https://gateway.pipeworx.io/google_analytics/mcp

What are the best alternatives to Google_analytics?

The closest alternatives to Google_analytics are GA4 Analytics MCP, Google Analytics 4, QuerySail: Google Analytics, Tag Pilot GA4 and QueryAtlas.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers