MCP servers · Google Analytics Data (GA4) · MCP server
Connect Windsurf to Google Analytics Data (GA4)
One line gives Windsurf your Google Analytics Data (GA4) account as tools: 4 endpoints, run reports, describe, more, called with your own connection. No key in the prompt, a receipt for every call, revoke Windsurf's access alone any time.
Three steps
- Create a free 0n3 account and connect Google Analytics Data (GA4). Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Windsurf. The mcp_config.json block.
- Ask Windsurf: whoami. Then: "Run a report in Google Analytics Data (GA4)".
Write it yourself · ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"0n3": {
"serverUrl": "https://0n3.app/mcp",
"headers": {
"Authorization": "Bearer <your 0n token>"
}
}
}
}The line above carries a placeholder; 0n3.app/install mints a real key named for Windsurf and fills it in.
What Windsurf can then do in Google Analytics Data (GA4)
Run reports · Report on any GA4 metric by any dimension3
Run a report
POST /{property}:runReportRun a realtime report
POST /{property}:runRealtimeReportBatch run reports
POST /{property}:batchRunReportsDescribe · Which dimensions and metrics this property has0
Which dimensions and metrics this property has
More · Everything else this app exposes.1
Get a metadata
GET /{property}/metadataGoogle Analytics Data (GA4) in other AI clients
Claude Code + Google Analytics Data (GA4)MCP server + skillClaude (desktop & claude.ai) + Google Analytics Data (GA4)connectorChatGPT + Google Analytics Data (GA4)connector · GPT actionCodex CLI + Google Analytics Data (GA4)MCP serverGemini CLI + Google Analytics Data (GA4)MCP serverCursor + Google Analytics Data (GA4)MCP serverVS Code (Copilot) + Google Analytics Data (GA4)MCP server
