Google Analytics 4 for Grok
io.github.mindstone/mcp-server-google-analytics
Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools
client:Grok
transport:stdio
runtime:npm
Install Google Analytics 4 in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"mcp-server-google-analytics": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
"GA4_PROPERTY_ID": "<GA4_PROPERTY_ID>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs