Google's Analytics MCP server is a Python program that calls the GA4 Admin and Data APIs at the moment you ask, signed in with your Google Application Default Credentials, and each report it runs covers one GA4 property. etlmcp's MCP server does not call Google when you ask: it reads the daily rows that etlmcp's syncs already stored for every source in one workspace: ad platforms, and GA4 and Shopify once those connectors are available. Use Google's server for open-ended questions about one property, and etlmcp's, when its GA4 connector is available, to compare GA4 with ad spend across networks. You can use both.
What Google's server does
Google publishes the server as open source under the Apache 2.0 licence, and on PyPI as analytics-mcp. You need Python 3.10 or later and pipx or uv. The setup is yours to do:
- In a Google Cloud project, turn on the Google Analytics Admin API and the Google Analytics Data API.
- Make sure your Google account (or a service account) has at least the Viewer role on the property.
- Create Application Default Credentials with the
analytics.readonlyscope, either withgcloud auth application-default loginor from a service account key. - Add the server to your MCP client, with
GOOGLE_APPLICATION_CREDENTIALSpointing at the credentials file andGOOGLE_CLOUD_PROJECTset to your Cloud project's ID.
Its tools list your accounts and properties, read a property's details, Google Ads links, annotations, and custom dimensions and metrics, and run standard, realtime, funnel and conversions reports. The run_report tool takes a single property_id, any dimensions and metrics you name, filters, ordering, and an optional currency_code. To compare two properties, the model runs two reports.
Google's two pages differ on writing. The developer guide says the server serves read requests only. The repository's README also lists tools that create annotations, custom dimensions and key events, off unless you start the server with --allow-write and grant the analytics.edit scope. The README also describes a remote HTTP mode, in which an agent framework can have each user sign in with their own Google account.
Every report it runs spends the property's Data API quota. Google's limits page says property quotas apply to all requests: a standard property gets 200,000 core tokens a day and 40,000 an hour, and one Cloud project may use at most 14,000 of those an hour. Your dashboards, other tools and any GA4 sync draw on the same budget.
What etlmcp's server does
etlmcp serves its MCP tools over streamable HTTP at the app's own /mcp endpoint. A client sends an etlmcp API key or OAuth access token in the Authorization header, and the credential acts in the one workspace it was made for. You install nothing and create no Google Cloud project; each credential may make 120 requests a minute, REST and MCP counted together. See connecting a client.
The tool for data is query_data, whose page lists its filters and row limits. It returns rows as stored, before any pipeline's transform rules, one per day per ad, ad group or campaign; it does not aggregate or pick new dimensions.
When the GA4 connector is available, a GA4 sync stores one row per day, session campaign and session source / medium for each property, with sessions, engaged sessions, total and new users, views, key events, orders and revenue as extra fields. Cost, impressions and clicks stay empty, because GA4 does not measure ad delivery; those come from the ad platforms' own rows. Revenue is in the property's currency. The GA4 sync page lists the fields.
Side by side
| Google's Analytics MCP server | etlmcp's MCP server | |
|---|---|---|
| Where it runs | On your machine, or a server you host | Hosted by etlmcp |
| Sign-in | Google Application Default Credentials, or per-user Google OAuth in HTTP mode | etlmcp API key or OAuth token |
| Data | Live from the GA4 APIs | Rows stored by earlier syncs |
| Scope of one query | One property | Every source in one workspace |
| Other platforms | GA4 only | Ad platforms; GA4 and Shopify when those connectors are available |
| Dimensions | Any the Data API offers | For GA4, when available: date, campaign and source / medium |
| Realtime and funnels | Yes | No |
| Starts syncs | No | Yes, with run_pipeline and a key with the run scope |
When the numbers differ
Google's server shows the property as GA4 reports it now; etlmcp's rows show what a sync pulled. When the GA4 connector is available, each routine sync re-pulls the last 13 days, so older days keep the figures stored when they were last synced. The clearest case is a currency change: Google's help center says that when you change a property's currency, its past data is converted to the new one as well. Google's server then reports every day in the new currency, while etlmcp's older stored rows keep the old one. To bring them in line, start a backfill: call run_pipeline with a start and end covering the affected days. One backfill may span up to 366 days and must stay within your plan's history, and a pipeline can have only one run queued or running at a time, so cover a longer period with several runs, one after another. See backfills.
A GA4 report and an etlmcp row can also differ because Google's report can use any dimension, while etlmcp's GA4 rows are always split by day, session campaign and source / medium. Ask Google's server with the same dimensions before you compare totals.