Google Analytics 4 MCP Server
Google Analytics 4 MCP server: 27 read tools, no write tools.
Google Analytics 4 scores 40 (Fair), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It declares 27 tools. Filed under Data and analytics. GitHub shows 0 stars. Package registries report about 147 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
40 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
69/100 for listing completeness. Lost points: no README, 2 of 27 tools barely described, short summary.
How quality is graded
Where the 40 comes from
0 + 20 + 3 + 10 + 4 + 3 = 40. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "get-mcp-ads-google-analytics-mcp-server": { "command": "npx", "args": [ "-y", "@getmcpads/google-analytics-mcp-server@2.1.2" ], "env": { "GA4_CLIENT_ID": "", "GA4_CLIENT_SECRET": "YOUR_GA4_CLIENT_SECRET", "GA4_REFRESH_TOKEN": "YOUR_GA4_REFRESH_TOKEN", "GA4_PROPERTY_ID": "", "GA4_PROPERTY_IDS": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GA4_CLIENT_ID | Required | OAuth client ID. |
GA4_CLIENT_SECRETSecret | Required | OAuth client secret. |
GA4_REFRESH_TOKENSecret | Required | OAuth refresh token, analytics.readonly scope. |
GA4_PROPERTY_ID | Optional | Default GA4 property ID. |
GA4_PROPERTY_IDS | Optional | Comma-separated property IDs every tool is limited to. Optional in 2.x, required in 3.0.0. |
Tools27Tool docs quality grade C
All capabilitiesRun 1-5 independent read-only GA4 pivot reports for the same property in one official Data API batch request.
Run 1-5 independent read-only GA4 Core reports for the same property in one official Data API batch request.
Ask the official GA4 Data API which dimensions and metrics are compatible with a proposed Core report selection.
Read-only audience diagnostics from Admin API audiences, Data API recurring audience lists, and observed audienceName report fallback.
Read-only Audience Export diagnostics.
Detect GA4 BigQuery export links and diagnose export modes, stream coverage, excluded events, and dataset location.
List custom channel groups defined for a GA4 property.
List custom dimensions and custom metrics exposed by GA4 Data API metadata.
Read-only ecommerce coverage diagnostics for core ecommerce events, revenue metrics, and item-level reporting over a date range.
Best-effort event parameter inventory from GA4 metadata plus event reports.
Inventory GA4 key events/conversions using metadata-aware Data API reports.
ga4_get_metadatatoolGet the complete list of dimensions and metrics available for a specific GA4 property.
About
Google Analytics 4 MCP server: 27 read tools, no write tools.
Frequently asked questions
What is Google Analytics 4 MCP Server?
Google Analytics 4 MCP server: 27 read tools, no write tools.
How do I install Google Analytics 4 MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Google Analytics 4 MCP Server runs locally from the npm package @getmcpads/google-analytics-mcp-server with the command npx -y @getmcpads/google-analytics-mcp-server@2.1.2.
Is Google Analytics 4 MCP Server free and open source?
Yes. Google Analytics 4 MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Google Analytics 4 MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Google Analytics 4 MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Google Analytics 4 MCP Server provide?
Google Analytics 4 MCP Server provides 27 tools, including ga4_batch_run_pivot_reports, ga4_batch_run_reports, ga4_check_compatibility, and ga4_get_audience_diagnostics. See the full tool list for descriptions and parameters.
How is Google Analytics 4 MCP Server's trust score calculated?
Google Analytics 4 MCP Server scores 40 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.