mcp google analytics for Zed
io.github.leonardosepulvedat/mcp-google-analytics
GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.
client:Zed
transport:stdio
runtime:npm
Install mcp google analytics in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"mcp-google-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-google-analytics"
],
"env": {
"GA_SERVICE_ACCOUNT_JSON": "<GA_SERVICE_ACCOUNT_JSON>",
"GA_PROPERTY_ID": "<GA_PROPERTY_ID>",
"GA_MEASUREMENT_ID": "<GA_MEASUREMENT_ID>",
"GA_API_SECRET": "<GA_API_SECRET>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs