mcp-gtm-ga4
Rank #17,858io.github.mharnett/gtm-ga4
GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.
mcp-gtm-ga4 is a Model Context Protocol (MCP) server published by mharnett. It ranks #17,858 of 115,460 servers tracked on MCP Toplist, and its repository has 2 GitHub stars. mcp-gtm-ga4 is listed across 3 registries — Official MCP, PulseMCP and Glama, with 1 tracked version. It was first listed on Apr 3, 2026 and most recently updated on Apr 8, 2026.
Ranks ahead of 97,602 of 115,460 servers on MCP Toplist.
Use mcp-gtm-ga4
Requires user-supplied configuration before first use — typically an API key, token or connection string set via environment variables.
claude mcp add gtm-ga4 -e "GOOGLE_APPLICATION_CREDENTIALS=<your GOOGLE_APPLICATION_CREDENTIALS>" -e "GTM_ACCOUNT_ID=<your GTM_ACCOUNT_ID>" -e "GTM_CONTAINER_ID=<your GTM_CONTAINER_ID>" -e "GA4_PROPERTY_ID=<your GA4_PROPERTY_ID>" -- npx -y mcp-gtm-ga4Replace each placeholder with your own value before saving.
[mcp_servers.gtm-ga4]
command = "npx"
args = ["-y", "mcp-gtm-ga4"]
[mcp_servers.gtm-ga4.env]
GOOGLE_APPLICATION_CREDENTIALS = "<your GOOGLE_APPLICATION_CREDENTIALS>"
GTM_ACCOUNT_ID = "<your GTM_ACCOUNT_ID>"
GTM_CONTAINER_ID = "<your GTM_CONTAINER_ID>"
GA4_PROPERTY_ID = "<your GA4_PROPERTY_ID>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"gtm-ga4": {
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>",
"GTM_ACCOUNT_ID": "<your GTM_ACCOUNT_ID>",
"GTM_CONTAINER_ID": "<your GTM_CONTAINER_ID>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"gtm-ga4": {
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>",
"GTM_ACCOUNT_ID": "<your GTM_ACCOUNT_ID>",
"GTM_CONTAINER_ID": "<your GTM_CONTAINER_ID>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"gtm-ga4": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>",
"GTM_ACCOUNT_ID": "<your GTM_ACCOUNT_ID>",
"GTM_CONTAINER_ID": "<your GTM_CONTAINER_ID>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"gtm-ga4": {
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>",
"GTM_ACCOUNT_ID": "<your GTM_ACCOUNT_ID>",
"GTM_CONTAINER_ID": "<your GTM_CONTAINER_ID>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"gtm-ga4": {
"command": "npx",
"args": [
"-y",
"mcp-gtm-ga4"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>",
"GTM_ACCOUNT_ID": "<your GTM_ACCOUNT_ID>",
"GTM_CONTAINER_ID": "<your GTM_CONTAINER_ID>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.mharnett%2Fgtm-ga4)<a href="https://mcptoplist.com/server/io.github.mharnett%2Fgtm-ga4"><img src="https://mcptoplist.com/badge/io.github.mharnett%2Fgtm-ga4.svg" alt="MCP Toplist: Top 25% of 115,460" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 2 registries (1 delisted)
mharnett
Other servers by mharnett
- MCP Google Ads Server#12,806 · 1 ver
- Bing Ads#13,226 · 2 vers
- mcp-ga4#22,124 · 1 ver
- mcp-google-gsc#22,125 · 1 ver
- Linkedin Ads#24,141 · 2 vers
- mcp-reddit-ads#29,000 · 1 ver
Available versions (1)
| Version | Published |
|---|---|
| 1.0.1 | Apr 8, 2026 |
Frequently asked questions
- Who maintains mcp-gtm-ga4?
- mcp-gtm-ga4 is maintained by mharnett, which publishes 7 MCP servers (9 total versions) tracked on MCP Toplist.
- Is mcp-gtm-ga4 listed on the Official MCP Registry?
- Yes — mcp-gtm-ga4 is listed on the Official MCP Registry, alongside PulseMCP and Glama.
- How many versions does mcp-gtm-ga4 have?
- MCP Toplist tracks 1 version of mcp-gtm-ga4, most recently published on Apr 8, 2026.
- Where can I find the source code for mcp-gtm-ga4?
- The source code for mcp-gtm-ga4 is hosted at github.com/mharnett/mcp-gtm-ga4.