Google Analytics (GA4)
OfficialThe official Google Analytics MCP server (from the googleanalytics GitHub org) exposes 9 read-only tools over the GA4 Data and Admin APIs: account summaries, property details, custom dimensions/metrics, Google Ads links, property annotations, and run_report / run_realtime_report / run_funnel_report / run_conversions_report. The read-only design is enforced in code — the credential is scoped to analytics.readonly only, so an agent cannot mutate your GA configuration. Runs locally as a stdio server (pipx run analytics-mcp) and authenticates via Google Application Default Credentials.
Configuration
{
"mcpServers": {
"analytics-mcp": {
"command": "pipx",
"args": ["run", "analytics-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
"GOOGLE_PROJECT_ID": "YOUR_PROJECT_ID"
}
}
}
}Add this to your ~/.gemini/settings.json file. Copied verbatim from the upstream README.
Related Servers
AgenticSkills Audit
Automated framework checks. Deep code review tracked separately. Read the methodology →
Deep framework checks (OAuth 2.1 / PKCE implementation, input validation, sandboxing) require human source review and are tracked separately. This scorecard covers programmatically verifiable signals only.
Quick Stats
Tags
Get new MCP servers in your inbox. What we added, what failed the security audit, and why. See a past issue.