Ga4
Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.
Connector by mharnett · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying Ga4?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/mharnett-ga4
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 6 read · 2 write · 0 delete · 1 not yet classified
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 9
Read from the source code; the running server may list different tools.
Read 6 · Look things up without changing anything.
ga4_get_client_contextga4_list_custom_dimensionsga4_list_custom_metricsga4_list_data_streamsga4_realtime_reportga4_suggest_improvement
Write 2 · Create, change, send or run things.
ga4_create_custom_dimensionga4_send_feedback
Not yet classified 1 · We could not tell from the name and description.
ga4_run_report
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
GOOGLE_APPLICATION_CREDENTIALS
Other settings (environment variables or headers).
GA4_PROPERTY_ID
Files it touches
- Any path the agent passes to its tools
Tools (9)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
ga4_create_custom_dimensionRegister a new custom dimension in a GA4 property.
ga4_get_client_contextGet the current GA4 client context and health status based on working directory. Call this first to confirm which GA4 property you're working with.
ga4_list_custom_dimensionsList all registered custom dimensions for a GA4 property.
ga4_list_custom_metricsList all registered custom metrics for a GA4 property.
ga4_list_data_streamsList all data streams for a GA4 property.
ga4_realtime_reportQuery GA4 Realtime Report (last 30 minutes).
ga4_run_reportQuery GA4 historical report. Common patterns: top pages (dimensions="pagePath", metrics="screenPageViews"), traffic sources (dimensions="sessionSource,sessionMedium", metrics="sessions,totalUsers"), daily trend (dimensions="date", metrics="sessions").
ga4_send_feedbackSend feedback about the GA4 MCP tools. Use when a query didn't work as expected.
ga4_suggest_improvementLog a GA4 query pattern that didn't work well, so it can be improved.
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit
- Sep 29, 2026 (1 month ago)
- Last release
- Sep 29, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.mharnett/ga4- Version
- 2.0.1
- Auth
- No auth
- Packages
- npm mcp-ga4
- License
- MIT
- Repository
- github.com/mharnett/mcp-ga4
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from mharnett
- 0.602score
Google Ads
mharnett
Google Ads MCP with MCC support: 35 tools for campaigns, keywords, reporting, GAQL.
ConnectorAFreshness: ALocal★ 1Claude Code +5 - 0.580score
Reddit Ads
mharnett
Reddit Ads MCP: campaigns, ad groups, ads, reporting, and audience targeting.
ConnectorBFreshness: BLocal★ 3Claude Code +5 - 0.576score
Bing Ads
mharnett
MCP server for Microsoft Advertising (Bing Ads) — campaigns, keywords, and reports
ConnectorBFreshness: BLocal★ 4Claude Code +5 - 0.574score
Gtm Ga4
mharnett
GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.
ConnectorBFreshness: BLocal★ 2Claude Code +5 - 0.574score
Google Gsc
mharnett
Google Search Console MCP: search analytics, URL inspection, site management.
ConnectorBFreshness: BLocalRead-only★ 2Claude Code +5 - 0.528score
LinkedIn Ads
mharnett
MCP server for LinkedIn Campaign Manager — campaigns, creatives, and analytics
ConnectorBFreshness: BLocalClaude Code +5
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Ga4 running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Ga4 MCP server. Agent Mart. https://agentmart.dev/connectors/mharnett-ga4 (last updated 2026-10-24)