0n3
MCP servers · Google Analytics Data (GA4) · MCP server

Connect Codex CLI to Google Analytics Data (GA4)

One line gives Codex CLI your Google Analytics Data (GA4) account as tools: 4 endpoints, run reports, describe, more, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.

Get the line for Codex CLIConnect Google Analytics Data (GA4) first

Three steps

  1. Create a free 0n3 account and connect Google Analytics Data (GA4). Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
  3. Ask Codex CLI: whoami. Then: "Run a report in Google Analytics Data (GA4)".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"

Add it to your shell profile so Codex finds it next time.

The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.

What Codex CLI can then do in Google Analytics Data (GA4)

Run reports · Report on any GA4 metric by any dimension3
Run a reportPOST /{property}:runReport
Run a realtime reportPOST /{property}:runRealtimeReport
Batch run reportsPOST /{property}:batchRunReports
Describe · Which dimensions and metrics this property has0
Which dimensions and metrics this property has
More · Everything else this app exposes.1
Get a metadataGET /{property}/metadata

Google Analytics Data (GA4) in other AI clients

Claude Code + Google Analytics Data (GA4)MCP server + skillClaude (desktop & claude.ai) + Google Analytics Data (GA4)connectorChatGPT + Google Analytics Data (GA4)connector · GPT actionGemini CLI + Google Analytics Data (GA4)MCP serverCursor + Google Analytics Data (GA4)MCP serverVS Code (Copilot) + Google Analytics Data (GA4)MCP serverWindsurf + Google Analytics Data (GA4)MCP server

Codex CLI with other apps

Hostinger363 endpointsTelegram132 endpointsPipedrive95 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointsFigma32 endpointsCloudConvert32 endpointseBay25 endpointsQuickBooks21 endpointsCloudflare21 endpoints