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
Namespace
Namespace verified by the MCP Registry via GitHub (github.com/mharnett) · how
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)

All 7 →
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,815 →
ServerRunsEndpoint or package
FUTIASEO answers for AI agents: Search Console reads free, plus competitor, keyword, backlink, SERP data.Remote · HTTPLive check: ✓ handshakefutia.io
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 · HTTPLive check: ✓ handshakemcp.aidemos.com
FylingsSearch, verify & screen 1M+ African companies + their government contracts across 18 registries.Remote · HTTPLive check: sign-in requiredfylings.com
Gabriel S. Gusmao: Research and Scientific CLIsGabriel S. Gusmao: scientific ML, papers, and local JAX CLIs: KINN, Optinpy, mkin4py, xl2py.Remote · HTTPLive check: ✓ handshakegabrielgusmao.com
Gachi Data API - Japan Station & Accessibility DataDeep, obscure Japanese station, accessibility & hazard data for AI agents. English-first.Remote · HTTPLive check: ✓ handshakeapi.gachi-tokusuru.com
GAIP Procurement Evidence AgentNow part of GAIP Witness: tests supplier claims and compares them with published metadata.Remote · HTTPLive check: ✓ handshakegaipagents.com
Game Industry LibrarySearch 300+ game industry reports with hybrid search, claims, charts, and citations.Remote · HTTPLive check: ✓ handshakegameindustrylibrary.com