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
| Registry | Package | Version | Transport |
|---|---|---|---|
| npm | mcp-ga4 | 2.0.1 | stdio |
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)
| Server | Runs |
|---|---|
| Bing AdsMCP server for Microsoft Advertising (Bing Ads) — campaigns, keywords, and reports. | Local · stdio |
| Google AdsGoogle Ads MCP with MCC support: 35 tools for campaigns, keywords, reporting, GAQL. | Local · stdio |
| Google GscGoogle Search Console MCP: search analytics, URL inspection, site management. | Local · stdio |
| Gtm Ga4GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports. | Local · stdio |
| Linkedin AdsMCP server for LinkedIn Campaign Manager — campaigns, creatives, and analytics. | Local · stdio |
| Reddit AdsReddit Ads MCP: campaigns, ad groups, ads, reporting, and audience targeting. | Local · stdio |
More data servers
| Server | Runs |
|---|---|
| Futurama MCPFuturama character data. No key required. | Local · stdio |
| FutureSmart AI DemosSearch evidence-backed AI-tool reviews, rankings, use cases, comparisons & toolkits (read-only). | Remote · HTTP |
| Futuristic Risk IntelligenceGeopolitical conflict risk, political events, and maritime traffic data for AI agents. | Local · stdio |
| FylingsSearch, verify & screen 1M+ African companies + their government contracts across 18 registries. | Remote · HTTP |
| Gabriel S. Gusmao: Research and Scientific CLIsGabriel S. Gusmao: scientific ML, papers, and local JAX CLIs: KINN, Optinpy, mkin4py, xl2py. | Remote · HTTP |
| Gachi Data API — Japan Station & Accessibility DataDeep, obscure Japanese station, accessibility & hazard data for AI agents. English-first. | Remote · HTTP |
| GameAnalytics DocumentationSearch GameAnalytics docs: Unity, Unreal, iOS, Android SDK and API guides for mobile game analytics. | Remote · HTTP |
| GammaRips Options IntelligenceAnti-firehose options-flow data for AI agents: curated daily pool, features, realized outcomes. | Remote · HTTP |