mcp-ga4
Rank #24,743io.github.mharnett/ga4
Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.
What you can do with mcp-ga4
mcp-ga4 is a Model Context Protocol (MCP) server published by mharnett. It ranks #24,743 of 144,396 active servers 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.
Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.
What mcp-ga4 can and cannot do
Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.
What you need before using mcp-ga4
The registry listing declares no required environment variables or authentication. This is declared metadata, not a verified install — the repository README is the authority.
Declared by Glama, last synced Oct 16, 2026. Not independently verified by MCP Toplist.
- GA4_PROPERTY_ID · required
- GOOGLE_APPLICATION_CREDENTIALS · required
Connect mcp-ga4 and confirm it works
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.
After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.
When to choose another server
- Bing Ads#15,098
- MCP Google Ads Server#18,185
- mcp-reddit-ads#25,781
- mcp-google-gsc#30,682
- mcp-gtm-ga4#30,683
- Linkedin Ads#55,433
No task-specific alternatives are catalogued for mcp-ga4yet; the list above is its publisher's other servers.
What changed, and when this was checked
- First listed
- Apr 3, 2026
- Latest version published
- Apr 8, 2026
- Version history
- 1 version tracked (below)
- Requirements evidence
- Declared by Glama, last synced Oct 16, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Not yet — purpose, capabilities and requirements above come from registry data only
- Ranking data as of
- Oct 16, 2026
- Official MCP ↗listed since Apr 25, 2026 · still listed
- PulseMCP ↗listed since Jun 4, 2026 · still listed
- Glama ↗listed since Aug 25, 2026 · still listed
Do you maintain mcp-ga4? to correct or enrich this profile.
Available versions (1)
| Version | Published |
|---|---|
| 2.0.1 | Apr 8, 2026 |
Ranks ahead of 119,653 of 144,396 servers on MCP Toplist.
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 144,396" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
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.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.