Data · Local MCP server

Ga4

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

What the MCP Registry states

The entry as published to the official MCP Registry (read 2026-10-04), latest version.

Registry name
io.github.mharnett/ga4
Version
2.0.1
Status
Active
Category
data
Transport
stdio (local process)
Package
npm
Published
2026-04-08
Updated
2026-04-08
Publisher
mharnett (GitHub) · 7 servers with pages here
Repository
github.com/mharnett/mcp-ga4
Source
Registry API entry

Packages

RegistryPackageVersionTransportEnvironment variables
npmmcp-ga42.0.1stdioGA4_PROPERTY_ID (required), GOOGLE_APPLICATION_CREDENTIALS (required)

How to connect Ga4

Ga4 runs locally from a Node.js package published to the npm registry: mcp-ga4 version 2.0.1. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Node.js; clients usually start it with npx — the usual command is npx -y mcp-ga4@2.0.1. It reads these environment variables: GA4_PROPERTY_ID (required) and GOOGLE_APPLICATION_CREDENTIALS (required); set them in the client's configuration for this server.

In the mcpServers JSON format that many desktop and editor MCP clients read, the entry looks like this (placeholders in angle brackets):

{
  "mcpServers": {
    "ga4": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-ga4@2.0.1"
      ],
      "env": {
        "GA4_PROPERTY_ID": "<value>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<value>"
      }
    }
  }
}

Derived from the registry entry, not tested here. What the server does, and on what terms, is set by its publisher; check its repository or website before giving it access to your accounts or files. How to add an MCP server to an assistant · Before you connect

More from mharnett (GitHub)

ServerRunsEndpoint or package
Bing AdsMCP server for Microsoft Advertising (Bing Ads) — campaigns, keywords, and reports.Local · stdionpm: mcp-bing-ads
Google AdsGoogle Ads MCP with MCC support: 35 tools for campaigns, keywords, reporting, GAQL.Local · stdionpm: mcp-google-ads
Google GscGoogle Search Console MCP: search analytics, URL inspection, site management.Local · stdionpm: mcp-google-gsc
Gtm Ga4GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.Local · stdionpm: mcp-gtm-ga4
Linkedin AdsMCP server for LinkedIn Campaign Manager — campaigns, creatives, and analytics.Local · stdionpm: mcp-linkedin-ads
Reddit AdsReddit Ads MCP: campaigns, ad groups, ads, reporting, and audience targeting.Local · stdionpm: mcp-reddit-ads

More data servers

All 4,395 →
ServerRunsEndpoint or package
Futurama MCPFuturama character data. No key required.Local · stdionpm: futurama-mcp
FutureSmart AI DemosSearch evidence-backed AI-tool reviews, rankings, use cases, comparisons & toolkits (read-only).Remote · HTTPmcp.aidemos.com
Futuristic Risk IntelligenceGeopolitical conflict risk, political events, and maritime traffic data for AI agents.Local · stdioPyPI: war-dashboard-data
FylingsSearch, verify & screen 1M+ African companies + their government contracts across 18 registries.Remote · HTTPfylings.com
Gabriel S. Gusmao: Research and Scientific CLIsGabriel S. Gusmao: scientific ML, papers, and local JAX CLIs: KINN, Optinpy, mkin4py, xl2py.Remote · HTTPgabrielgusmao.com
Gachi Data API — Japan Station & Accessibility DataDeep, obscure Japanese station, accessibility & hazard data for AI agents. English-first.Remote · HTTPapi.gachi-tokusuru.com
GameAnalytics DocumentationSearch GameAnalytics docs: Unity, Unreal, iOS, Android SDK and API guides for mobile game analytics.Remote · HTTPmcp.docs.gameanalytics.com
GammaRips Options IntelligenceAnti-firehose options-flow data for AI agents: curated daily pool, features, realized outcomes.Remote · HTTPmcp.gammarips.com