google-measurement-mcp MCP Server

One local MCP server, installed through npm. Start with 20 read tools. Enable 8 editing and staging tools explicitly. Live publishing stays in Google Tag Manager.

Local serverstdioApache-2.0

What is the google-measurement-mcp Server?

google-measurement-mcp is an MCP project maintained in the jabeer4148-ops/google-measurement-mcp repository. The maintainer describes its purpose as “One local MCP server, installed through npm. Start with 20 read tools. Enable 8 editing and staging tools explicitly. Live publishing stays in Google Tag…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares GMCP_OAUTH_CLIENT_JSON. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
gmcp_diagnosticsCheck auth and mode without exposing secrets
ga4_get_metadataDiscover valid dimensions and metrics
ga4_list_account_summariesDiscover accounts and property IDs
ga4_run_reportReports with filters, sorting, quality metadata and row caps
ga4_run_realtime_reportRecent activity using GA4's realtime schema
ga4_list_custom_dimensionsCustom dimension definitions
ga4_list_key_eventsKey-event definitions
gsc_list_sitesDiscover exact property strings
gsc_search_analytics_querySearch performance, filters and offset pagination
gsc_compare_periodsCompare two equal-length completed periods
gsc_list_sitemapsSubmitted sitemap status
gsc_inspect_urlIndex status for a specific URL
gtm_list_accountsGTM account discovery
gtm_list_containersContainer discovery
gtm_list_workspacesWorkspace discovery
gtm_list_tagsWorkspace tags and trigger bindings
gtm_list_triggersWorkspace trigger definitions
gtm_list_variablesUser-defined workspace variables
gtm_get_live_versionFull published configuration; potentially large
gtm_preview_versionCandidate-versus-live configuration review

How to install the google-measurement-mcp Server

{
  "mcpServers": {
    "google-measurement": {
      "command": "node",
      "args": [
        "/absolute/path/to/google-measurement-mcp/dist/index.js"
      ],
      "env": {
        "GMCP_OAUTH_CLIENT_JSON": "/absolute/path/to/desktop-client.json"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
GMCP_OAUTH_CLIENT_JSONDeclared in the maintainer’s client configuration.Check documentation