Google Analytics 4 (GA4) MCP server: connect GA4 to Claude, ChatGPT, Cursor and Claude Code. Hosted remote MCP for traffic, conversion and channel reports.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http google-analytics-4-by-insightfulpipe https://google-analytics.insightfulmcp.com/~/.codex/config.toml
[mcp_servers.google-analytics-4-by-insightfulpipe]
url = "https://google-analytics.insightfulmcp.com/"
# codex mcp add google-analytics-4-by-insightfulpipe --url https://google-analytics.insightfulmcp.com/~/.cursor/mcp.json
{
"mcpServers": {
"google-analytics-4-by-insightfulpipe": {
"url": "https://google-analytics.insightfulmcp.com/"
}
}
}.vscode/mcp.json
{
"servers": {
"google-analytics-4-by-insightfulpipe": {
"type": "http",
"url": "https://google-analytics.insightfulmcp.com/"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"google-analytics-4-by-insightfulpipe": {
"httpUrl": "https://google-analytics.insightfulmcp.com/"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"google-analytics-4-by-insightfulpipe": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://google-analytics.insightfulmcp.com/"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"google-analytics-4-by-insightfulpipe": {
"url": "https://google-analytics.insightfulmcp.com/"
}
}
}