Gtm Ga4 runs on your own machine — the client starts it, so there is no endpoint to ping. 104 installs a week from npm. Last commit 31 Oct 2026.
GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.
Today is the operative word: we check Gtm Ga4 every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add gtm-ga4 -e 'GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS>' -e 'GTM_ACCOUNT_ID=<GTM_ACCOUNT_ID>' -e 'GTM_CONTAINER_ID=<GTM_CONTAINER_ID>' -- npx -y mcp-gtm-ga4
{
"mcpServers": {
"gtm-ga4": {
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
"GTM_ACCOUNT_ID": "<GTM_ACCOUNT_ID>",
"GTM_CONTAINER_ID": "<GTM_CONTAINER_ID>"
}
}
}
}
[mcp_servers.gtm-ga4]
command = "npx"
args = ["-y", "mcp-gtm-ga4"]
env = { GOOGLE_APPLICATION_CREDENTIALS = "<GOOGLE_APPLICATION_CREDENTIALS>", GTM_ACCOUNT_ID = "<GTM_ACCOUNT_ID>", GTM_CONTAINER_ID = "<GTM_CONTAINER_ID>" }
{
"mcpServers": {
"gtm-ga4": {
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
"GTM_ACCOUNT_ID": "<GTM_ACCOUNT_ID>",
"GTM_CONTAINER_ID": "<GTM_CONTAINER_ID>"
}
}
}
}
{
"servers": {
"gtm-ga4": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
"GTM_ACCOUNT_ID": "<GTM_ACCOUNT_ID>",
"GTM_CONTAINER_ID": "<GTM_CONTAINER_ID>"
}
}
}
}
Put your own values in place of
<GOOGLE_APPLICATION_CREDENTIALS> (Path to service account JSON credentials file), <GTM_ACCOUNT_ID> (GTM account ID), <GTM_CONTAINER_ID> (GTM container ID).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
GA4_PROPERTY_ID (GA4 property ID (numeric)).
Field service management: missions, schedule, field work reports, clients and timesheets.
Manage Kanera workspaces, boards, cards, checklists, comments, notes, automations, and reports.
Publish AI reports as managed native links with versions, access control, revocation, and audit.
Asking support MCP: read conversations, contacts and reports, and reply with scoped consent.
MCP server for Ironscales phishing incident management — incidents, mailboxes, and reporting.
MCP server for Ironscales phishing incident management — incidents, mailboxes, and reporting.
Google Search Console + GA4 for AI agents: properties, reports, indexing, verification, SEO.
AI agent project management — task boards, progress tracking, and cost reporting.
Answers built from our own checks of this server.