At GA4 MCP (accessible at https://ga4mcp.com and via open-source package repositories), we treat privacy as an architectural guarantee. This Privacy Policy details how GA4 MCP accesses, processes, and protects your data when you use the open-source software and connect your Google Analytics accounts.
GA4 MCP connects your local AI agent (Claude Desktop, Cursor, Cline, etc.) directly to Google Analytics. We implement a strict Zero-Knowledge, Zero-Server-Storage architecture:
| Verification & Privacy Item | GA4 MCP Architectural Guarantee |
|---|---|
| Do we touch or store your analytics data? | No. Analytics queries execute directly between your local computer and Google APIs over TLS. Zero analytics reporting payloads ever touch, transit, or persist on our servers. |
| How is sensitive data protected? | Strict Encryption: We use encryption to protect your information. All data in transit uses HTTPS (TLS 1.2 / TLS 1.3). Data at rest (OAuth tokens) is stored solely on your local workstation with restricted operating system permissions (Unix chmod 0600) and OS disk encryption. |
| Where do OAuth tokens reside? | Exclusively on your local machine (~/.config/ga4-mcp/session.json). Our cloud gateway is an ephemeral in-memory relay that executes an atomic code exchange and immediately purges all credentials from memory with zero database storage. |
| How do you delete data or revoke access? | Immediate user control: Delete all local tokens at any time via rm -rf ~/.config/ga4-mcp, or revoke access immediately in your Google Account Permissions Settings. |
| Are AI models trained on your data? | Never. Google Analytics user data accessed via Google APIs is never used to develop, improve, or train non-personalized AI or ML models. |
| Is Google user data sold or transferred? | Never. We do not sell, rent, disclose, or transfer Google user data to third parties, data brokers, or advertisers under any circumstances. |
When you choose to authenticate via 1-Click Google Sign-In, GA4 MCP requests the following permissions from your Google Account:
https://www.googleapis.com/auth/analytics.readonly):
This scope allows your local AI agent (Claude Desktop, Cursor, Claude Code, Cline, etc.) to read Google Analytics 4 property metadata, report schemas, and traffic/conversion reports solely in response to prompts you explicitly initiate.
openid, profile, email):
Used solely to identify which Google account you have connected in your local environment display.
Your Google Analytics data is queried in real time directly from your local workstation:
GA4 MCP's use and transfer of information received from Google APIs to any other app adheres to the Google API Services User Data Policy, including the Limited Use requirements.
Specifically:
GA4 MCP implements comprehensive technical and operational safeguards to protect sensitive Google user data (including OAuth tokens and analytics reporting data):
analyticsdata.googleapis.com, analyticsadmin.googleapis.com), and Google OAuth 2.0 endpoints are encrypted in transit using Transport Layer Security (TLS 1.2 and TLS 1.3) over HTTPS.
~/.config/ga4-mcp/session.json (or vault.json). This file is created with restricted operating system permissions (Unix chmod 0600), ensuring that only your local operating system user account has read/write access.
ga4-gateway.reachsuren.workers.dev). The gateway executes an atomic exchange with Google's OAuth token endpoint, returns the resulting token bundle directly to your local loopback listener (http://127.0.0.1:18443), and immediately wipes the tokens from memory.
We believe in absolute data minimization and transparent data lifecycles:
rm -rf ~/.config/ga4-mcp
If you prefer not to use OAuth, GA4 MCP fully supports 100% offline authentication using your own Google Cloud Service Account key (GOOGLE_APPLICATION_CREDENTIALS) or Google Cloud Application Default Credentials (ADC). In this mode, no network connection to our OAuth gateway is ever initiated, and all authentication occurs directly between your workstation and Google Cloud.
For privacy inquiries, security questions, or data protection reports, please contact the maintainer directly:
Surendran Balachandran
Maintainer, GA4 MCP
Email: [email protected]
GitHub: https://github.com/surendranb/google-analytics-mcp