MCP servers · Google Analytics Admin (GA4) · MCP server
Connect Windsurf to Google Analytics Admin (GA4)
One line gives Windsurf your Google Analytics Admin (GA4) account as tools: 11 endpoints, properties, data streams, key events, 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 Admin (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: "List properties in Google Analytics Admin (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 Admin (GA4)
Properties · GA4 properties under an account4
List properties
GET /propertiesGet a property
GET /{name}Delete a property
DELETE /{name}Create a property
POST /propertiesData streams · Web data streams and their measurement IDs3
List data streams
GET /{parent}/dataStreamsCreate a data stream
POST /{parent}/dataStreamsGet a data stream
GET /{name}Key events · Key events (conversions) a property counts2
List key events
GET /{parent}/keyEventsCreate a key event
POST /{parent}/keyEventsMore · Everything else this app exposes.2
List accounts
GET /accountsList account summaries
GET /accountSummariesGoogle Analytics Admin (GA4) in other AI clients
Claude Code + Google Analytics Admin (GA4)MCP server + skillClaude (desktop & claude.ai) + Google Analytics Admin (GA4)connectorChatGPT + Google Analytics Admin (GA4)connector · GPT actionCodex CLI + Google Analytics Admin (GA4)MCP serverGemini CLI + Google Analytics Admin (GA4)MCP serverCursor + Google Analytics Admin (GA4)MCP serverVS Code (Copilot) + Google Analytics Admin (GA4)MCP server
