Install Ga4 in Claude Code
claude mcp add ga4 -e GA4_PROPERTY_ID=... -e GOOGLE_APPLICATION_CREDENTIALS=... -- npx -y mcp-ga4{
"mcpServers": {
"ga4": {
"command": "npx",
"args": [
"-y",
"mcp-ga4"
],
"env": {
"GA4_PROPERTY_ID": "...",
"GOOGLE_APPLICATION_CREDENTIALS": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the Ga4 MCP server do?
Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.
Is the Ga4 MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does Ga4 run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Ga4 to Claude Code?
Run: claude mcp add ga4 -e GA4_PROPERTY_ID=... -e GOOGLE_APPLICATION_CREDENTIALS=... -- npx -y mcp-ga4
More marketing MCP servers
View allMunin
getmunin/munin
Open-source all-in-one MCP-first customer platform: KB, Conversations, CRM, CMS, Outreach, Analytics
Advanced Zebrunner
maksimsarychau/mcp-zebrunner
Advanced analytics, reporting, and safe mutations for Zebrunner. 64 tools, 14 resources, 17 prompts.
InstaVision
afanasenkoa/instavision-mcp
InstaVision Instagram creator and lead discovery: find accounts by niche, city, follower range or lookalike accounts, estimate credits, run searches and export the results.
Synter Media AI
Synter-Media-AI/mcp-server
Ad management across Google, Meta, LinkedIn, Microsoft, Reddit and TikTok: create campaigns, adjust budgets, generate creatives and pull performance data.
Google ad Manager
MatiousCorp/google-ad-manager-mcp
Google Ad Manager API integration for managing campaigns, orders, line items, creatives and advertisers, with bulk upload support.
Tracetify
tracetify/tracetify-mcp
Trace how a product grew from public sources with dated, linked evidence, plus Search Console data, site audits and a dofollow directory list.