ga4 for Zed
io.github.mharnett/ga4
Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.
client:Zed
transport:stdio
runtime:npm
Install ga4 in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"ga4": {
"command": "npx",
"args": [
"-y",
"mcp-ga4"
],
"env": {
"GA4_PROPERTY_ID": "<GA4_PROPERTY_ID>",
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs