mcp-gtm-ga4
Rank #16,667io.github.mharnett/gtm-ga4
GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.
What you can do with mcp-gtm-ga4
mcp-gtm-ga4 is a Model Context Protocol (MCP) server published by mharnett. It ranks #16,667 of 199,637 active servers on MCP Toplist, and its repository has 3 GitHub stars. mcp-gtm-ga4 is listed across 3 registries — Official MCP, PulseMCP and Glama, with 2 tracked versions. It was first listed on Apr 3, 2026 and most recently updated on Nov 25, 2026.
Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.
What mcp-gtm-ga4 can and cannot do
Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.
What you need before using mcp-gtm-ga4
The registry listing declares required configuration before first use — typically an API key, token or connection string set via environment variables.
Declared by Glama, last synced Nov 30, 2026. Not independently verified by MCP Toplist.
- GOOGLE_APPLICATION_CREDENTIALS · required
- GTM_ACCOUNT_ID · required
- GTM_CONTAINER_ID · required
- GA4_PROPERTY_ID · optional
Connect mcp-gtm-ga4 and confirm it works
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.
After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.
When to choose another server
- Bing Ads#9,109
- Linkedin Ads#15,008
- MCP Google Ads Server#15,647
- mcp-google-gsc#18,351
- mcp-ga4#22,561
- mcp-reddit-ads#25,093
No task-specific alternatives are catalogued for mcp-gtm-ga4yet; the list above is its publisher's other servers.
What changed, and when this was checked
- First listed
- Apr 3, 2026
- Latest version published
- Nov 25, 2026
- Version history
- 2 versions tracked (below)
- Requirements evidence
- Declared by Glama, last synced Nov 30, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Not yet — purpose, capabilities and requirements above come from registry data only
- Ranking data as of
- Nov 30, 2026
- Official MCP ↗listed since Apr 25, 2026 · still listed
- PulseMCP ↗listed since Jun 4, 2026 · still listed
- Glama ↗listed since Jun 22, 2026 · still listed
Do you maintain mcp-gtm-ga4? to show as its verified maintainer and add your own summary, sign-in details and links. The rest of this page is read from the registry listings and from MCP Toplist's own connection check.
Available versions (2)
| Version | Published |
|---|---|
| 1.3.2 | Nov 25, 2026 |
| 1.0.1 | Apr 8, 2026 |
Ranks ahead of 182,970 of 199,637 servers on MCP Toplist.
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 10% of 199,637" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains mcp-gtm-ga4?
- mcp-gtm-ga4 is maintained by mharnett, which publishes 7 MCP servers (16 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 2 versions of mcp-gtm-ga4, most recently published on Nov 25, 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.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.