# Google Analytics

> Google Analytics is an MCP server for analytics and data. Read GA4 traffic, top pages, sources and live visitors from an assistant, read-only. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Website:** https://ciromaciel.click/mcp/google-analytics
- **MCP Registry name:** click.myagents/google-analytics
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-15

## About

This Portuguese-language connector by Ciro Cesar Maciel reads Google Analytics 4 properties through a Google sign-in. The access scope is analytics.readonly, which allows viewing reports and settings but never changing anything, and the connector also receives the user's email to know who connected.

Seven tools cover the common questions. One lists the accounts and properties the user can see, another runs a free-form report with any mix of dimensions and metrics, date range, filter and order, and a third compares the current period with the previous one and shows each metric's change. There are also tools for most-viewed pages with engagement time and key events, traffic by channel and source or medium, a realtime view of visitors in the last 30 minutes, and a list of valid dimension and metric names including custom ones.

The page's example answers where traffic came from in the last 28 days with sessions, change and key events per channel, and notes that figures shown are illustrative. Data passes from Google to the assistant and is said not to be stored, sold or used for training.

## Features

- **Property discovery:** Lists the GA4 accounts and properties your Google account can reach.
- **Free-form reports:** Runs any dimension and metric combination with filters, dates and ordering.
- **Period comparison:** Sets the current period against the previous one with change per metric.
- **Top pages:** Ranks pages by views with users, engagement time and key events.
- **Traffic sources:** Breaks traffic down by channel and source or medium.
- **Realtime view:** Shows who is on the site in the last 30 minutes and where.

## Good for

- Ask where traffic came from over the last 28 days
- Find which pages earn the most engagement
- Compare this month's sessions with last month's
- Look up the exact names of custom dimensions before building a report

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http google-analytics https://google-analytics.mcp.myagents.click/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://google-analytics.mcp.myagents.click/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "google-analytics": {
      "url": "https://google-analytics.mcp.myagents.click/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "google-analytics": {
      "type": "http",
      "url": "https://google-analytics.mcp.myagents.click/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "google-analytics": {
      "serverUrl": "https://google-analytics.mcp.myagents.click/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://google-analytics.mcp.myagents.click/mcp
```

Enter a Name (for example "Google Analytics"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "google-analytics": {
      "type": "http",
      "url": "https://google-analytics.mcp.myagents.click/mcp"
    }
  }
}
```

## Tools

- `list_properties`: Lists GA4 accounts and properties the user can access.
- `run_report`: Runs a free-form report with chosen dimensions, metrics, filters and ordering.
- `compare_periods`: Compares the current period with the previous one.
- `top_pages`: Lists the most viewed pages with users, engagement time and key events.
- `traffic_sources`: Breaks traffic down by channel and source or medium.
- `realtime`: Shows visitors in the last 30 minutes and where they are.
- `list_metrics`: Lists valid dimension and metric names, including custom ones.

## FAQ

### Can it change my Analytics settings?

No. The scope is analytics.readonly, so it only views reports and settings.

### How many tools are there?

Seven, all read-only.

### What does it sign in with?

A Google login with access to your GA4 properties.

### Is my data stored?

The page says data only passes through to your assistant and is not stored, sold or used for training.

### How do I add Google Analytics to Claude Code?

Run this command in your terminal: claude mcp add --transport http google-analytics https://google-analytics.mcp.myagents.click/mcp

### What are the best alternatives to Google Analytics?

The closest alternatives to Google Analytics are Vosik Signals Google Analytics 4, GA4 Analytics MCP, Site Insights by KKV Labs, QuerySail: Google Analytics and Tag Pilot GA4.

## Where this comes from

- Description: written from the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Vosik Signals Google Analytics 4](https://ai-powered.com/mcp/vosik-signals-google-analytics-4): Vosik Signals Google Analytics 4 is an MCP server for analytics and data.
- [GA4 Analytics MCP](https://ai-powered.com/mcp/ga4-analytics-mcp): GA4 Analytics MCP is an open-source MCP server for analytics and data.
- [Site Insights by KKV Labs](https://ai-powered.com/mcp/site-insights-by-kkv-labs): Site Insights by KKV Labs is a freemium MCP server for analytics and data.
- [QuerySail: Google Analytics](https://ai-powered.com/mcp/querysail-google-analytics): QuerySail: Google Analytics is an MCP server for analytics and data.
- [Tag Pilot GA4](https://ai-powered.com/mcp/tag-pilot-ga4): Tag Pilot GA4 is an open-source MCP server for analytics and data.
- [anacraft — Google Analytics 4](https://ai-powered.com/mcp/anacraft-google-analytics-4): anacraft — Google Analytics 4 is a paid MCP server for analytics and data.
- [AEO Search](https://ai-powered.com/mcp/aeo-search): AEO Search is a freemium MCP server for web search and scraping.
- [GSCmate](https://ai-powered.com/mcp/gscmate): GSCmate is an MCP server for marketing and seo.

---
Source: https://ai-powered.com/mcp/google-analytics
