How to install gtm-ga4 in Claude Code
To install gtm-ga4 in Claude Code, run "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 -- npx -y mcp-gtm-ga4" in your terminal, then check it with "claude mcp list". It takes about a minute.
Built from the published package · server updated 1 month ago
- 1
Run the install command
Open a terminal in your project and run:
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 -- npx -y mcp-gtm-ga4 - 2
Choose where it applies (optional)
Add --scope user to use it in every project, or --scope project to share it with your team through a .mcp.json file.
claude mcp add --scope user 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 -- npx -y mcp-gtm-ga4 - 3
Check that it is connected
List your servers, or type /mcp inside a Claude Code session to see its status and tools.
claude mcp list
MCP servers run with your permissions. If gtm-ga4 needs an API key, add it under env in the config. Check its README.
Install gtm-ga4 in another app
Similar servers
Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.
Validate oh-my-posh configurations and segment snippets against the official schema.
Real-time global intelligence across conflict, markets, energy, trade, shipping and cyber. 95 tools.
Questions
Does gtm-ga4 work in Claude Code?
Yes. Claude Code supports mcp servers (local and remote), skills and plugins, and gtm-ga4 installs with the steps above.
gtm-ga4 does not show up in Claude Code. What now?
Restart Claude Code fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is gtm-ga4 safe?
It scores 42 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
