integrations tools ga4
Google Analytics 4 MCP for your AI agent
Cogny's Google Analytics 4 integration exposes 16 tools (11 read, 3 write, 2 destructive) to an AI agent over MCP. The same tools are available on every plan, from your own AI client or inside the Cogny app.
- 11readonly reads data.
- 3writecreates or changes something.
- 2destructivedeletes, removes or replaces something.
Over MCP your own AI client asks before it runs a write. To take a tool away from your agent, block it in Settings → Integrations. Plans, approvals and limits
set it up.
Add Cogny to your AI client once, then connect Google Analytics 4 in Cogny. Every Google Analytics 4 tool below appears in the client.
- Claude CodeRun
claude mcp add --transport http cogny https://app.cogny.com/mcp, then authorise in the browser. - Claude.aiSettings → Connectors → Add custom connector, URL
https://app.cogny.com/mcp, then log in and pick your workspace. - ChatGPTSettings → Apps → Advanced settings → Developer mode → Create app, URL
https://app.cogny.com/mcp, authentication OAuth. - CursorIn Cogny, Settings → Data & Integrations → Connect AI Clients shows the block to paste into
.mcp.json, with an API key. - CodexRun
codex mcp add cogny --url https://app.cogny.com/mcp.
what each tool does.
Read 11 · only reads data
tool_list_account_summariesReadList the GA4 accounts and properties enabled for this workspace.tool_get_propertyReadGet details for a specific GA4 property.tool_list_data_streamsReadList all data streams (web, iOS, Android) for a GA4 property.tool_get_metadataReadGet available dimensions and metrics for a GA4 property.tool_run_reportReadRun a GA4 report - the main analytics query tool.tool_run_realtime_reportReadRun a GA4 realtime report for live active user data.tool_list_custom_dimensionsReadList all custom dimensions for a GA4 property.tool_list_custom_metricsReadList all custom metrics for a GA4 property.tool_list_conversion_eventsReadList the key events (formerly called conversions) configured on a GA4 property.tool_list_audiencesReadList all audiences for a GA4 property.tool_list_google_ads_linksReadList all Google Ads links for a GA4 property.
Write 3 · creates or changes something
tool_create_audienceWriteCreate a new audience in a GA4 property.tool_update_audienceWriteUpdate an existing audience in a GA4 property.tool_mark_key_eventWriteMark an event as a key event (GA4's name for a conversion) on a property.
Destructive 2 · deletes, removes or replaces something
tool_archive_audienceDestructiveArchive an audience in a GA4 property.tool_unmark_key_eventDestructiveStop counting an event as a key event (conversion) on a property.
Exact input schemas come from tools/list once Google Analytics 4 is connected; the free plan is enough to check. Missing something? Your agent can ask for it with request_feature.
This page as markdownAll integrationsHow Cogny uses Google Analytics 4