MCP Google Analytics Server
Rank #9,601io.github.leonardosepulvedat/mcp-google-analytics
GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.
MCP Google Analytics Server is a Model Context Protocol (MCP) server published by leosepulveda. It ranks #9,601 of 115,591 servers tracked on MCP Toplist, and its repository has 2 GitHub stars. MCP Google Analytics Server is listed across 2 registries — Official MCP and Glama, with 1 tracked version. It was first listed on Nov 24, 2025 and most recently updated on Aug 21, 2026.
Ranks ahead of 105,990 of 115,591 servers on MCP Toplist.
Use MCP Google Analytics Server
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add mcp-google-analytics -e "GA_SERVICE_ACCOUNT_JSON=<your GA_SERVICE_ACCOUNT_JSON>" -e "GA_PROPERTY_ID=<your GA_PROPERTY_ID>" -e "GA_MEASUREMENT_ID=<your GA_MEASUREMENT_ID>" -e "GA_API_SECRET=<your GA_API_SECRET>" -- npx -y mcp-google-analyticsReplace each placeholder with your own value before saving.
[mcp_servers.mcp-google-analytics]
command = "npx"
args = ["-y", "mcp-google-analytics"]
[mcp_servers.mcp-google-analytics.env]
GA_SERVICE_ACCOUNT_JSON = "<your GA_SERVICE_ACCOUNT_JSON>"
GA_PROPERTY_ID = "<your GA_PROPERTY_ID>"
GA_MEASUREMENT_ID = "<your GA_MEASUREMENT_ID>"
GA_API_SECRET = "<your GA_API_SECRET>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-google-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-google-analytics"
],
"env": {
"GA_SERVICE_ACCOUNT_JSON": "<your GA_SERVICE_ACCOUNT_JSON>",
"GA_PROPERTY_ID": "<your GA_PROPERTY_ID>",
"GA_MEASUREMENT_ID": "<your GA_MEASUREMENT_ID>",
"GA_API_SECRET": "<your GA_API_SECRET>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-google-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-google-analytics"
],
"env": {
"GA_SERVICE_ACCOUNT_JSON": "<your GA_SERVICE_ACCOUNT_JSON>",
"GA_PROPERTY_ID": "<your GA_PROPERTY_ID>",
"GA_MEASUREMENT_ID": "<your GA_MEASUREMENT_ID>",
"GA_API_SECRET": "<your GA_API_SECRET>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"mcp-google-analytics": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-google-analytics"
],
"env": {
"GA_SERVICE_ACCOUNT_JSON": "<your GA_SERVICE_ACCOUNT_JSON>",
"GA_PROPERTY_ID": "<your GA_PROPERTY_ID>",
"GA_MEASUREMENT_ID": "<your GA_MEASUREMENT_ID>",
"GA_API_SECRET": "<your GA_API_SECRET>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-google-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-google-analytics"
],
"env": {
"GA_SERVICE_ACCOUNT_JSON": "<your GA_SERVICE_ACCOUNT_JSON>",
"GA_PROPERTY_ID": "<your GA_PROPERTY_ID>",
"GA_MEASUREMENT_ID": "<your GA_MEASUREMENT_ID>",
"GA_API_SECRET": "<your GA_API_SECRET>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-google-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-google-analytics"
],
"env": {
"GA_SERVICE_ACCOUNT_JSON": "<your GA_SERVICE_ACCOUNT_JSON>",
"GA_PROPERTY_ID": "<your GA_PROPERTY_ID>",
"GA_MEASUREMENT_ID": "<your GA_MEASUREMENT_ID>",
"GA_API_SECRET": "<your GA_API_SECRET>"
}
}
}
}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.leonardosepulvedat%2Fmcp-google-analytics)<a href="https://mcptoplist.com/server/io.github.leonardosepulvedat%2Fmcp-google-analytics"><img src="https://mcptoplist.com/badge/io.github.leonardosepulvedat%2Fmcp-google-analytics.svg" alt="MCP Toplist: Top 10% of 115,591" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 2 registries (1 delisted)
leosepulveda
Other servers by leosepulveda
View all leosepulveda servers →Available versions (1)
| Version | Published |
|---|---|
| 1.2.1 | Aug 21, 2026 |
Frequently asked questions
- Who maintains MCP Google Analytics Server?
- MCP Google Analytics Server is maintained by leosepulveda, which publishes 2 MCP servers (1 total version) tracked on MCP Toplist.
- Is MCP Google Analytics Server listed on the Official MCP Registry?
- Yes — MCP Google Analytics Server is listed on the Official MCP Registry, alongside Glama.
- How many versions does MCP Google Analytics Server have?
- MCP Toplist tracks 1 version of MCP Google Analytics Server, most recently published on Aug 21, 2026.
- Where can I find the source code for MCP Google Analytics Server?
- The source code for MCP Google Analytics Server is hosted at github.com/leosepulveda/mcp-google-analytics.