MCP server

Google Analytics MCP Server

Run Google Analytics 4 reports and read account and property details. Official: built and maintained by Google. It runs locally on your machine over stdio. Setup below for 12 clients (checked 2026-10-25). Repo and registry data checked 2026-10-24.
Maintainer
Official · Google
Runs
Local (stdio)
GitHub
★ 3,552, last push 2026-10-22 (checked 2026-10-24) star history
License
Apache-2.0
Connects to
Google Analytics
Google Analytics GitHub star history

Install the Google Analytics MCP Server

Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.

Run in a terminal. Everything after -- is the command that starts the server. docs

claude mcp add --transport stdio google-analytics -- uvx analytics-mcp

Security notes

  • The local server runs with your user's permissions (uvx downloads it from PyPI on first run).
  • OpenStatusofficial · ★ 9.2k

    Monitors, status pages, incidents and maintenance windows in OpenStatus.

  • Grafanaofficial · ★ 3.6k

    Search dashboards, query Prometheus and Loki, and manage incidents and alerts.

  • Google Adsofficial · ★ 1.1k

    Query Google Ads accounts, campaigns and performance with GAQL.

  • Sentryofficial · ★ 944

    Search issues and events, read stack traces and run Seer root-cause analysis.

  • Dynatraceofficial · ★ 167

    Query logs, metrics, problems and vulnerabilities in your Dynatrace environment with DQL.

  • Logfireofficial · ★ 162

    Read OpenTelemetry traces and metrics from Logfire and find exceptions.

  • Rootlyofficial · ★ 45

    Rootly incidents, on-call schedules, alerts and similar past incidents.

  • Amplitudeofficial

    Hosted server to search Amplitude charts, dashboards, experiments and event data.

FAQ

What does the Google Analytics MCP Server do?+

Run Google Analytics 4 reports and read account and property details.

Is the Google Analytics MCP server official?+

Official: built and maintained by Google.

How do I add Google Analytics to Claude Code?+

Run: claude mcp add google-analytics -- uvx analytics-mcp. Add --scope project to share it with your team through .mcp.json.

How do I use the Google Analytics MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").

Does Google Analytics work in ChatGPT and claude.ai?+

No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.

What are the alternatives to the Google Analytics MCP server?+

Other monitoring & observability MCP servers: OpenStatus, Grafana, Google Ads, Sentry and Dynatrace.

All MCP servers · What is an MCP server? · Agent skills