# io.github.mharnett/gtm-ga4 (npm · mcp-gtm-ga4)

GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.

- Trust score: 55/100 (low)
- Change this week: +31
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `mcp-gtm-ga4`: 55/100 (this document), [markdown](https://verifymcp.io/servers/mharnett-gtm-ga4/mcp-gtm-ga4.md), [page](https://verifymcp.io/servers/mharnett-gtm-ga4/mcp-gtm-ga4)

## Channel facts

- Registry: `npm`
- Package: `mcp-gtm-ga4`
- Version: `1.0.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 70/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known high-severity CVE affects @modelcontextprotocol/sdk 0.5.0, a direct dependency. A fixed version is available.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (189 of 194), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 24 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 621 tokens (~47/item across 13 items; 13 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 20/100
  - Spec-recency check failed: implements MCP spec 2024-11-05; the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add mharnett-gtm-ga4 -- npx -y mcp-gtm-ga4
```

### Codex

```bash
codex mcp add mharnett-gtm-ga4 -- npx -y mcp-gtm-ga4
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mharnett-gtm-ga4": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "mcp-gtm-ga4"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add mharnett-gtm-ga4 --command npx --arg -y --arg mcp-gtm-ga4
```

### Hermes

```yaml
mcp_servers:
  mharnett-gtm-ga4:
    command: "npx"
    args: ["-y", "mcp-gtm-ga4"]
```

### Other

```json
{
  "mcpServers": {
    "mharnett-gtm-ga4": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-gtm-ga4"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 55, +25)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] MCP protocol: unverified → fail
- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Tool coverage: 100
- [functional] First check of Schema quality: good
- [functional] First check of Schema quality: pass
- [functional] First check of Schema quality: fail

### 2026-08-02 (score 30, +25)

- [security regression] CVE-2026-41907 affects this package: high
- [security regression] CVE-2025-66414 affects this package: high
- [security regression] Provenance: unverified → fail
- [security regression] Known CVEs: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: our sandbox run of this package did not complete, so we have no schema to compare.
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] License: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional] Schema quality: Schema quality not yet verified: our sandbox run of this package did not complete, so we have no schema to assess.
- [functional] Capabilities: Protocol version not yet verified: our sandbox run of this package did not complete, so we never saw its MCP handshake.
- [functional] Tool coverage: Tool coverage not yet verified: our sandbox run of this package did not complete, so we have no tool definitions to assess.
- [functional] Licence: MIT

### 2026-08-01 (score 5, −1)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 6, −19)

- [security regression] Malware scan: pass → unverified
- [functional regression] Security disclosure: unverified → fail
- [functional regression] Dependency health: partial → unverified
- [functional] Schema quality: Schema quality not yet verified: our sandbox run of this package did not complete, so we have no schema to assess.
- [functional] Tool coverage: Tool coverage not yet verified: our sandbox run of this package did not complete, so we have no tool definitions to assess.

### 2026-07-29 (score 25, +1)

- [functional regression] Security disclosure: fail → unverified
- [functional improvement] Dependency health: unverified → partial
- [functional] Schema quality: Schema quality not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional] Tool coverage: Tool coverage not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet.

### 2026-07-27 (score 24)

First indexed and scored.

## MCP tools (13)

### `gtm_list_tags` (~31 tokens)

List all tags in the sandbox GTM workspace with name, type, consent status, and firing triggers.

### `gtm_get_tag` (~35 tokens)

Get full details of a single tag by ID from the sandbox workspace.

Input parameters:

- `tag_id` (string, required): The tag ID

### `gtm_update_tag` (~70 tokens)

Update a tag in the sandbox workspace. Fetches current tag, merges updates, then saves. Safety: only operates on sandbox workspace.

Input parameters:

- `tag_id` (string, required): The tag ID
- `updates_json` (string, required): JSON object with fields to update (e.g. consentSettings, parameter)

### `gtm_create_tag` (~40 tokens)

Create a new tag in the sandbox workspace. Safety: only operates on sandbox workspace.

Input parameters:

- `tag_json` (string, required): Full GTM tag JSON

### `gtm_list_triggers` (~21 tokens)

List all triggers in the sandbox GTM workspace.

### `gtm_list_variables` (~20 tokens)

List all variables in the sandbox GTM workspace.

### `gtm_audit_consent` (~42 tokens)

Scan all tags in the sandbox workspace and report consent compliance. Returns tags with no consent, NOT_NEEDED tags, properly configured tags, and recommendations.

### `gtm_preview` (~20 tokens)

Generate a GTM Preview URL for the sandbox workspace.

### `gtm_create_version` (~53 tokens)

Create a version (snapshot) of the sandbox workspace. Does NOT publish.

Input parameters:

- `name` (string, required): Version name (e.g., "Consent fixes v1")
- `notes` (string): Optional version notes

### `ga4_run_report` (~126 tokens)

Query GA4 historical report.

Input parameters:

- `dimension_filter` (string): Optional equality filter (e.g., "eventName==page_view")
- `dimensions` (string): Comma-separated dimensions (e.g., "eventName,date")
- `end_date` (string): End date (YYYY-MM-DD or "today")
- `limit` (number): Max rows (default 100)
- `metrics` (string): Comma-separated metrics (e.g., "eventCount,activeUsers")
- `start_date` (string): Start date (YYYY-MM-DD or "7daysAgo")

### `ga4_realtime_report` (~56 tokens)

Query GA4 Realtime Report (last 30 minutes).

Input parameters:

- `dimension_filter` (string): Optional equality filter
- `dimensions` (string): Comma-separated dimensions
- `metrics` (string): Comma-separated metrics

### `ga4_list_custom_dimensions` (~22 tokens)

List all registered custom dimensions for the GA4 property.

### `ga4_create_custom_dimension` (~85 tokens)

Register a new custom dimension in the GA4 property.

Input parameters:

- `description` (string): Optional description
- `display_name` (string, required): Human-readable name (e.g., "Form Type")
- `parameter_name` (string, required): Event parameter name (e.g., "form_type")
- `scope` (string): "EVENT" or "USER" (default: EVENT)

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/mharnett-gtm-ga4/mcp-gtm-ga4#diagnostics

## Score history

- 2026-08-03: 55
- 2026-08-02: 30
- 2026-08-01: 5
- 2026-07-31: 6
- 2026-07-29: 25
- 2026-07-28: 24
- 2026-07-27: 24

## Links

- npm package: https://www.npmjs.com/package/mcp-gtm-ga4
- Socket report: https://socket.dev/npm/package/mcp-gtm-ga4
- Repository: https://github.com/mharnett/mcp-gtm-ga4
- Changelog RSS feed: https://verifymcp.io/servers/mharnett-gtm-ga4/mcp-gtm-ga4/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/mharnett-gtm-ga4/mcp-gtm-ga4/changelog.json
- HTML version of this page: https://verifymcp.io/servers/mharnett-gtm-ga4/mcp-gtm-ga4
