Skip to main content
Glama
google-data-mcp

google-data-mcp

by seliem-attia

google-data-mcp

An MCP server for Google Analytics 4 (Data API + Admin API) and Google Tag Manager (API v2) that can read and write — built for people who let an AI assistant work on real tracking setups and want guard rails.

  • 45 tools: GA4 reports, realtime, funnels, metadata and compatibility checks, key events, custom definitions, data redaction, annotations, change history; GTM workspaces, tags/triggers/variables, versions, sync and merge conflicts, Community Template Gallery import, container snippet and lookup.

  • Automatic backups before every write: GA4 has no configuration versioning, and GTM does not version unsaved workspace changes, so the server snapshots the affected state to local JSON first. If the backup fails, nothing is written.

  • GTM code validation before saving: JavaScript in Custom HTML tags and Custom JavaScript variables is parsed as ES5 strict (what GTM's compiler accepts), and every {{Variable}} must exist. Errors come back with name, line and column instead of GTM's bare compilerError: true.

  • Preview before risky actions: publishing a GTM version, deleting a GTM entity, and any DELETE through the generic API tools return a preview (diff against the live version, rollback flag, what still references the entity) and change nothing until called again with confirm: true.

  • Read-only mode (GOOGLE_DATA_MCP_READONLY=1) hides every write tool and forces the read-only token.

  • All tools carry MCP annotations (readOnlyHint, destructiveHint) so clients can ask before acting.

Runs locally over stdio (Claude Desktop, Claude Code, any MCP client). Node.js ≥ 20, three dependencies (@modelcontextprotocol/sdk, zod, acorn).

Tools

Read

Tool

What it does

google_token_info

Active token (write / read-only) and its scopes; first check on a 403

ga4_list_properties

All GA4 properties with account

ga4_run_report

Core report with dimension/metric filters and ordering

ga4_realtime_report

Last ~30 minutes

ga4_run_funnel_report

Funnel (Data API v1alpha): steps as eventName + optional urlContains, or a raw FunnelFilterExpression; optional breakdown

ga4_get_metadata

Dimensions and metrics available for the property, incl. custom ones; without a filter only apiNames

ga4_check_compatibility

Do these dimensions and metrics fit one report? listAddable lists what can still be added

ga4_list_data_streams, ga4_list_key_events, ga4_list_custom_definitions

Admin configuration

ga4_get_data_redaction

E-mail / URL query parameter redaction of web streams (v1alpha)

ga4_list_annotations

Annotations shown in GA4 reports

ga4_change_history

Who changed what and when, incl. changes made in the GA4 UI

gtm_list_accounts

Accounts and containers

gtm_export_container

Overview of the live version, or of an older one via containerVersionId

gtm_list_versions

Container versions, newest first, live version flagged

gtm_list_workspaces, gtm_workspace_status, gtm_list_entities

Workspaces, pending changes and conflicts, full entity JSON

gtm_container_snippet

Install snippet (head + noscript)

gtm_lookup_container

GTM-XXXX, G-XXXX or AW-… → accountId / containerId

gtm_quick_preview

Compiles the workspace without creating a version; on compilerError it looks for the cause itself

gtm_validate_workspace

Runs the code/variable validation over all tags, triggers and variables

Backup: ga4_export_config, gtm_export_workspace, gtm_export_version, backup_list, backup_read

Write – GA4: ga4_create_key_event, ga4_create_custom_dimension, ga4_create_custom_metric, ga4_update_data_redaction, ga4_create_annotation, ga4_admin_request (generic Admin API call for everything else: archive, delete, data retention, Measurement Protocol secrets …)

Write – GTM: gtm_create_workspace, gtm_save_entity (create or replace a tag/trigger/variable/…, with validation), gtm_revert_entity, gtm_delete_entity, gtm_enable_built_in_variables, gtm_sync_workspace, gtm_resolve_conflict (keep: workspace or base), gtm_import_gallery_template, gtm_create_version, gtm_publish_version, gtm_request (generic GTM API v2 call)

Related MCP server: google-analytics-gtm-mcp

Setup

1. Google Cloud project (once)

  1. Create or pick a project in the Google Cloud Console.

  2. Enable Google Analytics Data API, Google Analytics Admin API and Tag Manager API.

  3. Google Auth Platform → set up the consent screen. Add the scopes you need (see below). Set the publishing status to In production, otherwise refresh tokens expire after 7 days. An unverified app shows "Google hasn't verified this app" during consent → Advanced → Continue.

  4. Clients → create an OAuth client of type Desktop app. Note client ID and secret.

2. Install and authorize

git clone https://github.com/seliem-attia/google-data-mcp.git
cd google-data-mcp
npm ci
mkdir -p ~/.config/google-data-mcp
cp .env.example ~/.config/google-data-mcp/.env   # fill in client ID and secret
npm run auth                 # read-only token
npm run auth -- --write      # optional: write token
npm run selftest             # read-only live check

npm run auth opens Google's consent page, catches the callback on localhost:53682 and stores the refresh token in the env file (mode 0600).

Token

Scopes

GOOGLE_OAUTH_REFRESH_TOKEN

analytics.readonly, tagmanager.readonly

GOOGLE_OAUTH_REFRESH_TOKEN_WRITE

read-only scopes + analytics.edit, tagmanager.edit.containers, tagmanager.edit.containerversions, tagmanager.publish

If the write token is present it is used for everything; otherwise write tools fail with a clear scope hint. Deliberately not requested: deleting containers (tagmanager.delete.containers) and managing users (tagmanager.manage.*). The Google account itself also needs the GA4 role Editor and GTM container permission Publish for write tools.

Credentials are read from, in this order: process environment → file in $GOOGLE_DATA_MCP_ENV → ~/.config/google-data-mcp/.env → .env next to index.mjs.

3. Add to your MCP client

Claude Desktop (claude_desktop_config.json) or any client that starts stdio servers:

{
  "mcpServers": {
    "google-data": {
      "command": "node",
      "args": ["/absolute/path/to/google-data-mcp/index.mjs"]
    }
  }
}

Claude Code:

claude mcp add google-data -- node /absolute/path/to/google-data-mcp/index.mjs

For analysis-only or unattended setups add "env": { "GOOGLE_DATA_MCP_READONLY": "1" }.

Safety model

Two-step actions (confirm). Without confirm: true these only return a preview and write nothing (no backup either):

Tool

Preview

gtm_publish_version

target version, current live version, added/removed/changed tags, triggers, variables and templates, rollback: true for an older version

gtm_delete_entity

name, type and what still references it (tags firing on a trigger, {{Variable}} usage)

ga4_admin_request / gtm_request with DELETE

current state of the resource

Publishing through gtm_request (…:publish) is blocked so the preview cannot be bypassed. In Claude Code you can additionally force a prompt for the riskiest tools in .claude/settings.json:

{ "permissions": { "ask": ["mcp__google-data__gtm_publish_version", "mcp__google-data__gtm_request", "mcp__google-data__ga4_admin_request"] } }

Hard limits. The generic request tools accept only relative API paths on a fixed host. Deleting whole accounts, properties or containers is blocked. All IDs are checked to be digits before they go into a URL.

Backups. Every write tool first saves the affected state:

Action

Saved before

GA4 write tools, ga4_admin_request (except GET)

full property configuration

GTM workspace tools (save, revert, delete, built-ins, sync, resolve_conflict, gallery import, create_version)

full workspace

gtm_publish_version

current live version

gtm_request (except GET)

workspace, otherwise live version (derived from the path)

Location: ~/.config/google-data-mcp/backups/<ga4|gtm>/<propertyId | accountId-containerId>/<timestamp>_<label>.json (directories 0700, files 0600; override with GOOGLE_DATA_MCP_BACKUP_DIR). The GA4 snapshot contains property settings, data streams incl. enhanced measurement and redaction, key events, custom dimensions/metrics, data retention, Google Ads/Firebase links, attribution, Google Signals and annotations. Measurement Protocol secrets are stored without their value. Restoring is intentionally manual: read a snapshot with backup_read, compare, and rebuild with the write tools. For GTM, republishing an older version is the simpler rollback (gtm_list_versions → gtm_export_container with containerVersionId → gtm_publish_version). Backups are never deleted automatically.

GTM validation (gtm-validate.mjs): <script> blocks in Custom HTML tags (without src and without foreign types like ld+json) and Custom JavaScript variables are parsed as ES5 strict — no let/const, arrow functions or template literals, and no function declarations inside try/if/for blocks (checked separately, because acorn accepts them in ES5). Custom JavaScript variables must be exactly one anonymous function. Every {{Variable}} must exist as a variable or an enabled built-in. Only for a proven false positive pass skipValidation: true.

Other. Rate limits (429/503) are retried with backoff (2, 4, 8, 16 s). Responses over 50,000 characters are truncated with a hint (GOOGLE_DATA_MCP_MAX_OUTPUT to change). Data coming back from GA4/GTM (page titles, tag names, HTML) is third-party content, not instructions.

Development

npm test

Runs the server over stdio with a fake fetch (test/mock-fetch.mjs) and exercises the tools through a real MCP client: preview vs. confirm, blocked paths, backups, conflict resolution, read-only mode. No Google account needed. npm run selftest is the live, read-only check against your own account.

Notes:

  • ga4_run_funnel_report, annotations and data redaction use Google's v1alpha APIs, which can change.

  • The server speaks stdio. To host it remotely, run it behind a stdio-to-HTTP MCP bridge of your choice.

License

MIT

Available Tools

45 tools
backup_listList backupsA
Read-only

Lists the local snapshots (newest first). id = GA4 property ID or GTM '-'.

Inputs: id, limit, platform.

backup_readRead backupA
Read-only

Reads a snapshot (path from backup_list or the backup field of a write action) — basis for comparison or restoring.

Inputs: path (required), select.

ga4_admin_requestGA4 Admin API: free-form requestA
Destructive

Arbitrary call to the GA4 Admin API (analyticsadmin.googleapis.com) for anything without its own tool — e.g. PATCH 'properties/123/dataRetentionSettings?updateMask=eventDataRetention', DELETE 'properties/123/keyEvents/456', POST 'properties/123/customDimensions/789:archive', POST 'properties/123/dataStreams/111/measurementProtocolSecrets'. Path relative to the API version. Without confirm=true, DELETE only shows the current state of the resource and deletes nothing.

Inputs: path (required), method (required), body, confirm, +1 more.

ga4_change_historyGA4: Change historyB
Read-only

Who changed what on the property and when (including in the GA4 UI), incl. state before/after. Times as RFC3339, e.g. '2026-09-01T00:00:00Z'. Further pages via pageToken.

Inputs: property (required), actions, pageSize, pageToken, +4 more.

ga4_check_compatibilityGA4: Check compatibilityA
Read-only

Checks whether the dimensions and metrics fit together in one ga4_run_report (not every combination is allowed). compatible=false → requested shows which field is the problem. listAddable=true additionally returns all fields that can still be added.

Inputs: property (required), metrics, dimensions, listAddable, +2 more.

ga4_create_annotationGA4: Create annotationA

Creates an annotation that GA4 shows in reports as a marker: e.g. 'Relaunch', 'GTM: Consent Mode v2 live', 'Campaign start'. One day (date) or a range (date + endDate). The color ORANGE is reserved for Google. Delete/change: ga4_admin_request (v1alpha).

Inputs: date (required), title (required), property (required), color, +2 more.

ga4_create_custom_dimensionGA4: Create custom dimensionC

Creates a custom dimension for an event/user/item parameter.

Inputs: property (required), displayName (required), parameterName (required), scope, +1 more.

ga4_create_custom_metricGA4: Create custom metricB

Creates a custom metric (event scope) for a numeric event parameter.

Inputs: property (required), displayName (required), parameterName (required), description, +1 more.

ga4_create_key_eventGA4: Create key eventB

Marks an event as a key event (formerly conversion), e.g. 'generate_lead'.

Inputs: property (required), eventName (required), countingMethod.

ga4_export_configGA4: Back up configurationA
Read-only

Backs up the complete configuration of a property (settings, data streams incl. enhanced measurement, key events, custom dimensions/metrics, data retention, links) as a local JSON file. GA4 has no versions — this is the state to restore from. Read the content via backup_read.

Inputs: property (required), label.

ga4_get_data_redactionGA4: Show data redactionB
Read-only

Shows the data redaction settings (email addresses, URL parameters) of the web data streams of a property (v1alpha).

Inputs: property (required), dataStreamId.

ga4_get_metadataGA4: Available dimensions & metricsA
Read-only

Lists the dimensions and metrics that ga4_run_report knows for this property, incl. custom ones (customEvent:…, customUser:…). Use before a report instead of guessing API names. Without a filter only the apiNames; with search (substring in apiName, uiName, description), category or customOnly, uiName, category and metric type are added.

Inputs: property (required), kind, search, details, +2 more.

ga4_list_annotationsGA4: AnnotationsA
Read-only

Lists the annotations of a property that GA4 shows in reports as markers: e.g. relaunch, GTM publish, campaign start. Newest first.

Inputs: property (required).

ga4_list_custom_definitionsGA4: Custom dimensions & metricsC
Read-only

Lists all custom dimensions and custom metrics of a property.

Inputs: property (required).

ga4_list_data_streamsGA4: Data streamsB
Read-only

Lists the data streams of a property (web streams with measurement ID G-XXXX and URL).

Inputs: property (required).

ga4_list_key_eventsGA4: Key eventsB
Read-only

Lists the events of a property marked as key events (formerly conversions).

Inputs: property (required).

ga4_list_propertiesGA4: List propertiesA
Read-only

Lists all Google Analytics 4 properties the account can access (name + numeric property ID). You need the ID for ga4_run_report / ga4_realtime_report.

Inputs: no named parameters.

ga4_realtime_reportGA4: RealtimeA
Read-only

GA4 realtime report (runRealtimeReport, last ~30 min). metrics e.g. ['activeUsers']; dimensions e.g. ['unifiedScreenName','country','deviceCategory'].

Inputs: metrics (required), property (required), limit, dimensions, +1 more.

ga4_run_funnel_reportGA4: Funnel reportA
Read-only

Funnel analysis (Data API v1alpha runFunnelReport): how many users reach step 1, 2, 3 … and where they drop off. Returns activeUsers, funnelStepCompletionRate, funnelStepAbandonments, funnelStepAbandonmentRate per step. A step = eventName (optionally urlContains on page_location) or a raw FunnelFilterExpression. Example: [{"name":"Landing page","eventName":"page_view","urlContains":"/heat-pump"},{"name":"Form","eventName":"form_start"},{"name":"Lead","eventName":"generate_lead"}].

Inputs: steps (required), property (required), limit, endDate, +5 more.

ga4_run_reportGA4: ReportB
Read-only

GA4 core report (Data API runReport). Example metrics: sessions, totalUsers, newUsers, screenPageViews, conversions, engagementRate, averageSessionDuration, bounceRate. Example dimensions: date, pagePath, pageTitle, sessionDefaultChannelGroup, sessionSource, sessionMedium, country, deviceCategory, landingPage.

Inputs: metrics (required), property (required), limit, endDate, +6 more.

ga4_update_data_redactionGA4: Change data redactionA

Changes the data redaction of a web data stream: email addresses and/or the named URL parameters are redacted before GA4 stores them. Takes effect immediately and only for new data. Only the specified fields are changed.

Inputs: property (required), dataStreamId (required), queryParameterKeys, emailRedactionEnabled, +1 more.

google_token_infoGoogle: Token & scopesA
Read-only

Shows which refresh token is active (write / read-only) and which OAuth scopes it has — first check when a write tool fails with 403.

Inputs: no named parameters.

gtm_container_snippetGTM: Install codeA
Read-only

Returns the GTM install code of a container (head snippet and noscript part for the body), e.g. for onboarding or to check the installation on the website.

Inputs: accountId (required), containerId (required).

gtm_create_versionGTM: Create versionA

Creates a container version from the workspace (NOT live yet). Returns containerVersionId for gtm_publish_version; compilerError=true means: the workspace has errors, do not publish anything.

Inputs: name (required), accountId (required), containerId (required), workspaceId (required), +1 more.

gtm_create_workspaceGTM: Create workspaceB

Creates a new workspace — always bundle changes in a separate workspace, not in the default workspace of the live site.

Inputs: name (required), accountId (required), containerId (required), description.

gtm_delete_entityGTM: Delete tag/trigger/variableA
Destructive

Deletes an entity from the workspace (live only after version + publish). Two steps: without confirm only a preview (name, type and what still references it, e.g. tags on a trigger), with confirm=true it is deleted.

Inputs: entityId (required), accountId (required), entityType (required), containerId (required), +2 more.

gtm_enable_built_in_variablesGTM: Enable built-in variablesC

Enables built-in variables in the workspace, e.g. ['clickUrl','clickText','formId','pageUrl'].

Inputs: types (required), accountId (required), containerId (required), workspaceId (required).

gtm_export_containerGTM: Export container (live version)A
Read-only

Reads the currently published (live) version of a GTM container: overview of all tags, triggers and variables — ideal for tracking audits. Requires accountId and containerId (from gtm_list_accounts). With containerVersionId, an older version (from gtm_list_versions) instead, e.g. before a rollback.

Inputs: accountId (required), containerId (required), containerVersionId.

gtm_export_versionGTM: Back up versionA
Read-only

Backs up a container version (default: the live version) completely as a local JSON file.

Inputs: accountId (required), containerId (required), label, containerVersionId.

gtm_export_workspaceGTM: Back up workspaceA
Read-only

Backs up a complete workspace (all tags, triggers, variables, folders, templates, built-in variables) as a local JSON file — including unsaved changes that GTM itself does not version yet.

Inputs: accountId (required), containerId (required), workspaceId (required), label.

gtm_list_accountsGTM: Accounts & containersA
Read-only

Lists all Google Tag Manager accounts and their containers (publicId GTM-XXXX, numeric containerId, web/server). You need accountId + containerId for gtm_export_container.

Inputs: no named parameters.

gtm_list_entitiesGTM: Tags/triggers/variables in the workspaceA
Read-only

Returns the complete JSON objects (incl. parameter, fingerprint) of an entity type in the workspace — template for changing via gtm_save_entity.

Inputs: accountId (required), entityType (required), containerId (required), workspaceId (required).

gtm_list_versionsGTM: VersionsA
Read-only

Lists the container versions (newest first) with name, number of tags/triggers/variables and a live=true marker. Basis for a rollback: view an older version via gtm_export_container (containerVersionId), then gtm_publish_version.

Inputs: accountId (required), containerId (required), limit, includeDeleted.

gtm_list_workspacesGTM: WorkspacesA
Read-only

Lists the workspaces of a container. You need workspaceId for all GTM write tools.

Inputs: accountId (required), containerId (required).

gtm_lookup_containerGTM: Find container by IDA
Read-only

Finds the container with accountId and containerId for a public ID: GTM-XXXX (container ID) or a linked destination ID such as G-XXXX or AW-123456789.

Inputs: id (required).

gtm_publish_versionGTM: Publish version (LIVE)A
Destructive

Publishes a container version — goes live on the live website immediately. Two steps: without confirm only a preview (version, current live version, added/removed/changed tags, triggers, variables, rollback yes/no). confirm=true only after explicit approval by a human. Rollback = publish an older version from gtm_list_versions.

Inputs: accountId (required), containerId (required), containerVersionId (required), confirm.

gtm_quick_previewGTM: Test workspace (quick preview)A
Read-only

Compiles the workspace as a trial, without a version and without publishing anything. Returns only compilerError + number of tags/triggers/variables. On compilerError it searches for the cause itself (likelyCauses).

Inputs: accountId (required), containerId (required), workspaceId (required).

gtm_requestGTM API: free-form requestA
Destructive

Arbitrary call to the Tag Manager API v2 (www.googleapis.com/tagmanager/v2) for anything without its own tool — e.g. GET 'accounts/1/containers/2/versions/5', POST 'accounts/1/containers/2/workspaces/3:sync', POST 'accounts/1/containers/2/workspaces/3/templates'. Path relative to /tagmanager/v2. Without confirm=true, DELETE only shows the current state of the resource and deletes nothing. Publishing only via gtm_publish_version.

Inputs: path (required), method (required), body, confirm.

gtm_resolve_conflictGTM: Resolve conflictA

Resolves a merge conflict after gtm_sync_workspace: keep='workspace' keeps your own change, keep='base' takes the newer published state. type and id as in gtm_workspace_status / gtm_sync_workspace (e.g. type 'tag', id '42').

Inputs: id (required), keep (required), type (required), accountId (required), +2 more.

gtm_revert_entityGTM: Revert changeC

Resets an entity in the workspace to the state of the live version. An entity newly created in the workspace is removed in the process.

Inputs: entityId (required), accountId (required), entityType (required), containerId (required), +2 more.

gtm_save_entityGTM: Create or change tag/trigger/variableA

Without entityId: creates the entity (POST). With entityId: replaces it completely (PUT) — fetch it first via gtm_list_entities, change it and send it back in full; if entity.fingerprint is included, GTM aborts if it was changed in the meantime. Example GA4 event tag: {"name":"GA4 – generate_lead","type":"gaawe","parameter":[{"type":"template","key":"eventName","value":"generate_lead"},{"type":"template","key":"measurementIdOverride","value":"G-XXXX"}],"firingTriggerId":["12"]}. Pre-check: JavaScript in Custom HTML tags and Custom JS variables must be ES5 strict (no let/const/arrow, no function declaration in try/if/for), every {{Variable}} must exist in the workspace.

Inputs: entity (required), accountId (required), entityType (required), containerId (required), +3 more.

gtm_sync_workspaceGTM: Update workspace (sync)A

Pulls changes published in the meantime (e.g. from another workspace or the GTM UI) into the workspace. Needed when gtm_workspace_status or gtm_create_version reports conflicts or an outdated state. Then resolve conflicts with gtm_resolve_conflict.

Inputs: accountId (required), containerId (required), workspaceId (required).

gtm_validate_workspaceGTM: Validate workspaceA
Read-only

Checks all tags, triggers and variables in the workspace: JavaScript in Custom HTML/Custom JS (ES5 strict, incl. functions in blocks) and whether every {{Variable}} exists. Returns name, ID, line and column per problem.

Inputs: accountId (required), containerId (required), workspaceId (required).

gtm_workspace_statusGTM: Workspace statusA
Read-only

Shows the changes and conflicts of a workspace compared to the live version — compact (kind of change, type, ID, name). Check before gtm_create_version. full=true returns the complete entities incl. code.

Inputs: accountId (required), containerId (required), workspaceId (required), full.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 45 tools

    Disambiguation3/5

    Most tools have distinct resource+action pairs, but a cluster of read/backup tools overlaps heavily: gtm_export_container vs gtm_export_version vs gtm_export_workspace vs gtm_list_entities, plus gtm_list_versions and backup_list/backup_read, require careful reading to pick correctly. The descriptions do explicitly disambiguate these (e.g. 'live version overview' vs 'complete backup'), which keeps it workable, but an agent can easily select the wrong one on the first try.

    Naming Consistency4/5

    Strong, predictable ga4_/gtm_ prefix scheme with verb_noun suffixes for the vast majority (gtm_create_version, ga4_list_properties, gtm_delete_entity). A handful of outliers break the pattern: backup_list and backup_read invert to noun_verb, and gtm_workspace_status, gtm_quick_preview, gtm_container_snippet, google_token_info lack a verb entirely.

    Tool Count3/5

    45 tools is heavy, but the server genuinely spans two large products (GA4 + GTM) with reporting, admin, versioning, and backup concerns. Still, several niche tools (gtm_import_gallery_template, gtm_enable_built_in_variables, ga4_create_annotation) could plausibly be folded into the existing escape hatches, trimming the surface.

    Completeness5/5

    Near-complete lifecycle coverage: GTM gets accounts, containers, workspaces, entity CRUD, sync/conflict resolution, preview, version create/publish/rollback, and templates; GA4 gets core/realtime/funnel reporting, metadata, compatibility checks, admin objects, redaction, annotations, and change history. The gtm_request and ga4_admin_request escape hatches cover anything left out, so there are no real dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Automates Google Analytics 4 and Google Tag Manager setup, management, and health monitoring with blueprints, multi-environment support, and MCP tools for AI agents.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      MCP server for Google Analytics 4 and Google Tag Manager with read and write access, providing 40 tools to manage GA4 reports, audiences, and GTM tags, triggers, and variables via natural language.
      40
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to read and write Google Analytics 4, Search Console, and Tag Manager data through MCP tools, with write operations gated behind an explicit flag for safety.
      20
      8 npm
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to query Google Analytics 4 properties for standard, pivot, realtime, and batched reports, discover accounts, properties, and metadata, and optionally manage custom dimensions, metrics, and key events.
      14
      MIT