Google Analytics 4
Rank #22,662com.getmcpads/google-analytics
Google Analytics 4: 27 read-only tools across the Data API and the Admin API.
Google Analytics 4 is a Model Context Protocol (MCP) server published by getmcpads-com. It ranks #22,662 of 115,460 servers tracked on MCP Toplist. Google Analytics 4 is listed on Official MCP, with 1 tracked version. It was first listed on Aug 30, 2026 and most recently updated on Aug 30, 2026.
Ranks ahead of 92,798 of 115,460 servers on MCP Toplist.
Use Google Analytics 4
Requires user-supplied configuration before first use — typically an API key, token or connection string set via environment variables.
claude mcp add google-analytics -e "GA4_CLIENT_ID=<your GA4_CLIENT_ID>" -e "GA4_CLIENT_SECRET=<your GA4_CLIENT_SECRET>" -e "GA4_REFRESH_TOKEN=<your GA4_REFRESH_TOKEN>" -e "GA4_PROPERTY_ID=<your GA4_PROPERTY_ID>" -- npx -y @getmcpads/google-analytics-mcp-serverReplace each placeholder with your own value before saving.
[mcp_servers.google-analytics]
command = "npx"
args = ["-y", "@getmcpads/google-analytics-mcp-server"]
[mcp_servers.google-analytics.env]
GA4_CLIENT_ID = "<your GA4_CLIENT_ID>"
GA4_CLIENT_SECRET = "<your GA4_CLIENT_SECRET>"
GA4_REFRESH_TOKEN = "<your GA4_REFRESH_TOKEN>"
GA4_PROPERTY_ID = "<your GA4_PROPERTY_ID>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "<your GA4_CLIENT_ID>",
"GA4_CLIENT_SECRET": "<your GA4_CLIENT_SECRET>",
"GA4_REFRESH_TOKEN": "<your GA4_REFRESH_TOKEN>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "<your GA4_CLIENT_ID>",
"GA4_CLIENT_SECRET": "<your GA4_CLIENT_SECRET>",
"GA4_REFRESH_TOKEN": "<your GA4_REFRESH_TOKEN>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"google-analytics": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "<your GA4_CLIENT_ID>",
"GA4_CLIENT_SECRET": "<your GA4_CLIENT_SECRET>",
"GA4_REFRESH_TOKEN": "<your GA4_REFRESH_TOKEN>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "<your GA4_CLIENT_ID>",
"GA4_CLIENT_SECRET": "<your GA4_CLIENT_SECRET>",
"GA4_REFRESH_TOKEN": "<your GA4_REFRESH_TOKEN>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "<your GA4_CLIENT_ID>",
"GA4_CLIENT_SECRET": "<your GA4_CLIENT_SECRET>",
"GA4_REFRESH_TOKEN": "<your GA4_REFRESH_TOKEN>",
"GA4_PROPERTY_ID": "<your GA4_PROPERTY_ID>"
}
}
}
}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/com.getmcpads%2Fgoogle-analytics)<a href="https://mcptoplist.com/server/com.getmcpads%2Fgoogle-analytics"><img src="https://mcptoplist.com/badge/com.getmcpads%2Fgoogle-analytics.svg" alt="MCP Toplist: Top 25% of 115,460" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 1 registry
getmcpads-com
Other servers by getmcpads-com
- TikTok Ads#21,826 · 1 ver
- Google Ads#22,661 · 1 ver
- Google Search Console#22,663 · 1 ver
- Meta Ads#22,664 · 1 ver
- Pinterest Ads#22,665 · 1 ver
Available versions (1)
| Version | Published |
|---|---|
| 1.0.1 | Aug 30, 2026 |
Frequently asked questions
- Who maintains Google Analytics 4?
- Google Analytics 4 is maintained by getmcpads-com, which publishes 6 MCP servers (6 total versions) tracked on MCP Toplist.
- Is Google Analytics 4 listed on the Official MCP Registry?
- Yes — Google Analytics 4 is listed on the Official MCP Registry.
- How many versions does Google Analytics 4 have?
- MCP Toplist tracks 1 version of Google Analytics 4, most recently published on Aug 30, 2026.
- Where can I find the source code for Google Analytics 4?
- The source code for Google Analytics 4 is hosted at github.com/getmcpads-com/google-analytics-mcp-server.