mcp-ga4
Rank #22,124io.github.mharnett/ga4
Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.
mcp-ga4 is a Model Context Protocol (MCP) server published by mharnett. It ranks #22,124 of 115,460 servers tracked on MCP Toplist. mcp-ga4 is listed across 3 registries — Official MCP, PulseMCP and Glama, with 1 tracked version. It was first listed on Apr 3, 2026 and most recently updated on Apr 8, 2026.
Ranks ahead of 93,336 of 115,460 servers on MCP Toplist.
Use mcp-ga4
Requires user-supplied configuration before first use — typically an API key, token or connection string set via environment variables.
claude mcp add ga4 -e "GA4_PROPERTY_ID=<your GA4_PROPERTY_ID>" -e "GOOGLE_APPLICATION_CREDENTIALS=<your GOOGLE_APPLICATION_CREDENTIALS>" -- npx -y mcp-ga4Replace each placeholder with your own value before saving.
[mcp_servers.ga4]
command = "npx"
args = ["-y", "mcp-ga4"]
[mcp_servers.ga4.env]
GA4_PROPERTY_ID = "<your GA4_PROPERTY_ID>"
GOOGLE_APPLICATION_CREDENTIALS = "<your GOOGLE_APPLICATION_CREDENTIALS>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"ga4": {
"command": "npx",
"args": [
"-y",
"mcp-ga4"
],
"env": {
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>",
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"ga4": {
"command": "npx",
"args": [
"-y",
"mcp-ga4"
],
"env": {
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>",
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"ga4": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-ga4"
],
"env": {
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>",
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"ga4": {
"command": "npx",
"args": [
"-y",
"mcp-ga4"
],
"env": {
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>",
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"ga4": {
"command": "npx",
"args": [
"-y",
"mcp-ga4"
],
"env": {
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>",
"GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.mharnett%2Fga4)<a href="https://mcptoplist.com/server/io.github.mharnett%2Fga4"><img src="https://mcptoplist.com/badge/io.github.mharnett%2Fga4.svg" alt="MCP Toplist: Top 25% of 115,460" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 2 registries (1 delisted)
mharnett
Other servers by mharnett
- MCP Google Ads Server#12,806 · 1 ver
- Bing Ads#13,226 · 2 vers
- mcp-gtm-ga4#17,858 · 1 ver
- mcp-google-gsc#22,125 · 1 ver
- Linkedin Ads#24,141 · 2 vers
- mcp-reddit-ads#29,000 · 1 ver
Available versions (1)
| Version | Published |
|---|---|
| 2.0.1 | Apr 8, 2026 |
Frequently asked questions
- Who maintains mcp-ga4?
- mcp-ga4 is maintained by mharnett, which publishes 7 MCP servers (9 total versions) tracked on MCP Toplist.
- Is mcp-ga4 listed on the Official MCP Registry?
- Yes — mcp-ga4 is listed on the Official MCP Registry, alongside PulseMCP and Glama.
- How many versions does mcp-ga4 have?
- MCP Toplist tracks 1 version of mcp-ga4, most recently published on Apr 8, 2026.
- Where can I find the source code for mcp-ga4?
- The source code for mcp-ga4 is hosted at github.com/mharnett/mcp-ga4.