google analytics mcp for Cursor
io.github.surendranb/google-analytics-mcp
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
client:Cursor
transport:stdio
runtime:pypi
Install google analytics mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"google-analytics-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"google-analytics-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
"GA4_PROPERTY_ID": "<GA4_PROPERTY_ID>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs