Skip to content
Agentmart
Submit a tool

Ga4

Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.

Connector by mharnett · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

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.

We use your email only for this newsletter. Privacy

About

Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.

No 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_context
  • ga4_list_custom_dimensions
  • ga4_list_custom_metrics
  • ga4_list_data_streams
  • ga4_realtime_report
  • ga4_suggest_improvement

Write 2 · Create, change, send or run things.

  • ga4_create_custom_dimension
  • ga4_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_dimension

    Register a new custom dimension in a GA4 property.

  • ga4_get_client_context

    Get 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_dimensions

    List all registered custom dimensions for a GA4 property.

  • ga4_list_custom_metrics

    List all registered custom metrics for a GA4 property.

  • ga4_list_data_streams

    List all data streams for a GA4 property.

  • ga4_realtime_report

    Query GA4 Realtime Report (last 30 minutes).

  • ga4_run_report

    Query 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_feedback

    Send feedback about the GA4 MCP tools. Use when a query didn't work as expected.

  • ga4_suggest_improvement

    Log 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 (29 days ago)
Last release
Sep 29, 2026 (29 days 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
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mharnett

Cite this page

Ga4 MCP server. Agent Mart. https://agentmart.dev/connectors/mharnett-ga4 (last updated 2026-10-24)