How to connect OpenClaw to Google Analytics

Connect Google Analytics 4 once in Ryze AI with a Google sign-in, save one MCP URL in OpenClaw, sign in, then ask your agent for channel reports, landing pages and visits from AI assistants.

Your MCP URL
https://connector.get-ryze.ai/mcp

Copies the connector URL for the openclaw mcp set command. See the steps

See pricing

By Ira Bodnar, Ryze AI · Updated · Connector tested November 14, 2026

Quick answer

The main way to connect OpenClaw to Google Analytics is the Ryze AI connector. Connect Google Analytics 4 in the Ryze AI app with a Google sign-in and pick a property, then save https://connector.get-ryze.ai/mcp in OpenClaw as a streamable-http server with auth set to oauth. Use openclaw mcp set while the Gateway is stopped, or Add server under Settings > MCP in the Control UI, and sign in with openclaw mcp login ryze. OpenClaw then lists 9 Google Analytics 4 tools, and all 9 only read: the connector cannot create or change anything in GA4.

  1. In Ryze AI open Integrations, click Connect on Google Analytics 4, sign in to Google and keep every permission checked
  2. Pick the property for the workspace and click Save
  3. Stop the Gateway and run openclaw mcp set ryze with the connector URL, or add it under Settings > MCP while the Gateway runs
  4. Run openclaw mcp login ryze, click Allow connection on the Ryze AI page and start the Gateway again

OpenClaw to Google Analytics at a glance

FactDetail
Main way to connectThe Ryze AI connector, saved in OpenClaw as one remote MCP server named ryze
Server addresshttps://connector.get-ryze.ai/mcp, with transport set to streamable-http
Sign-inOAuth to Ryze AI with openclaw mcp login ryze, or Sign in under Settings > MCP for an administrator. A Ryze AI API key in a bearer header is the other route
What Google Analytics needsA Google login with at least the Viewer role on a GA4 property. No Google Cloud project, API key or service account
Google Analytics tools9, all read: 4 for visits from AI assistants, 3 report tools, 1 for admin settings and 1 account list
Can it change Google AnalyticsNo. The connection has the read-only analytics.readonly scope and no tool writes
PropertiesOne saved property per Google login. Several Google logins can sit in one workspace, with one primary
OpenClaw planNone to buy. OpenClaw is MIT licensed and self-hosted, and its docs say there is no paid tier
Ryze AI pricePaid Ads is $89 per month with a 7-day free trial. Connecting is free; the Google Analytics tools need an active plan or trial
Google's own option for OpenClawAn open-source server, analytics-mcp, that OpenClaw can start as a local command. Google's pages do not name OpenClaw
Last testedEight read calls through the Ryze AI connector on November 14, 2026, from Claude Code. No step inside OpenClaw was run

Before you start

  • OpenClaw. It is an open-source project under the MIT license that you host yourself, and its docs say it has no paid tier. You need a running Gateway and one of three things: the openclaw command on the Gateway machine, administrator access to the Control UI, or write access to the Gateway's openclaw.json.
  • A Google login with access to GA4. The login needs at least the Viewer role on a GA4 property, which Google describes as seeing settings and data. Universal Analytics properties are not supported, only GA4. A role carrying the No Revenue Metrics or No Cost Metrics restriction will not return those metrics through any connector.
  • A Ryze AI workspace on a plan or free trial. Paid Ads is $89 per month with a 7-day free trial, and SEO Starter is $129 per month with a 3-day free trial. Adding the connector is free; the Google Analytics tools need an active plan or trial.
  • Ecommerce tracking if you want revenue. Revenue shows as zero unless ecommerce tracking and purchase events are set up in GA4.
  • A note on testing. Ryze AI has no help-center page for OpenClaw and has not tested the connector there. The OpenClaw steps follow OpenClaw's own documentation for remote servers that use OAuth, as read on November 15, 2026.

How to connect OpenClaw to Google Analytics

Google Analytics 4 is connected once in Ryze AI with a Google sign-in, and the rest happens in OpenClaw. The connector URL is the same for every user.

  1. Connect Google Analytics 4 in Ryze AI

    Create a Ryze AI account or sign in, open Integrations in the left sidebar and find Google Analytics 4 under Analytics. Click Connect, sign in to Google and approve access, keeping every requested permission checked. Back in Ryze AI, pick the property for the workspace, listed as account and property, and click Save. Until a property is saved the card shows Require setup.

  2. Optionally connect it by link instead

    You can also ask the Ryze AI agent in Claude or ChatGPT to connect Google Analytics 4. It sends a one-time link that works once and for 24 hours. This step is only for the case where the Ryze AI app is not at hand.

  3. Register the connector in OpenClaw

    Stop the Gateway first with openclaw gateway stop: since OpenClaw 2026.10.10 (November 3, 2026) the CLI holds back MCP changes while a Gateway owns the state directory. Then run: openclaw mcp set ryze '{"url":"https://connector.get-ryze.ai/mcp","transport":"streamable-http","auth":"oauth"}'. That stores a server named ryze. The same entry can go under mcp.servers in ~/.openclaw/openclaw.json, or be added with Add server under Settings > MCP in the Control UI while the Gateway keeps running.

    openclaw gateway stop openclaw mcp set ryze '{"url":"https://connector.get-ryze.ai/mcp","transport":"streamable-http","auth":"oauth"}' openclaw mcp login ryze
  4. Sign in from the OpenClaw CLI

    With the Gateway still stopped, run: openclaw mcp login ryze. A browser opens on the Ryze AI page. Sign in if asked, choose the workspace that holds Google Analytics 4 and click Allow connection, then start the Gateway again. An administrator can skip the stop and click Sign in for the ryze server under Settings > MCP.

  5. Finish the sign-in on a remote machine if needed

    If the browser runs on a different machine from OpenClaw, approve the sign-in there and give the code it returns to the CLI with the --code option of openclaw mcp login. If the callback address carries an iss value, pass it with --issuer.

  6. Ask your first question

    Once credentials exist, OpenClaw adds the server to the agent runtime. If you added the connector before Google Analytics 4 was connected in Ryze AI, remove the entry and add it again so the tool list refreshes. Then ask: List the Google Analytics 4 properties this login can read, with their property IDs.

The Ryze AI help center article for Google Analytics 4 covers the Google Analytics side of the connection. OpenClaw's own pages on the MCP registry commands and transports and OAuth cover the OpenClaw side.

Sources: OpenClaw: connect MCP servers, OpenClaw MCP registry commands, OpenClaw transports and OAuth (checked November 15, 2026).

CLI, Control UI, openclaw.json and Ryze AI API key

OpenClaw CLI

openclaw gateway stop openclaw mcp set ryze '{"url":"https://connector.get-ryze.ai/mcp","transport":"streamable-http","auth":"oauth"}' openclaw mcp login ryze

set writes the server definition and login runs the OAuth flow, with the credentials kept on the Gateway host. Start the Gateway again afterwards. The flag form is openclaw mcp add ryze --url https://connector.get-ryze.ai/mcp --transport streamable-http --auth oauth. The commands openclaw mcp show ryze, list and status print what is saved.

Control UI: Settings > MCP

Open the MCP page of the Control UI (/settings/mcp, with /mcp as an alias), choose Add server under Configured servers, name it ryze, pick Streamable HTTP and paste the URL. OpenClaw's docs put OAuth settings in the scoped config editor lower on that page, so set auth: "oauth" there and click Sign in. The page needs administrator access, and Sign in works only when the Control UI is opened on the Gateway's loopback address, its own HTTPS address or its published Tailscale address. In a chat, + > Plugins > Add MCP server saves a server for This session or Everywhere.

openclaw.json

{ mcp: { servers: { ryze: { url: "https://connector.get-ryze.ai/mcp", transport: "streamable-http", auth: "oauth", }, }, }, }

Edit ~/.openclaw/openclaw.json, which is JSON5, so comments and trailing commas are allowed. The Gateway watches the file and applies edits. A key it does not recognize stops it from starting, so keep the entry under mcp.servers. Sign in afterwards with openclaw mcp login ryze on a stopped Gateway, or with Sign in under Settings > MCP.

A Ryze AI API key instead of OAuth

ryze: { url: "https://connector.get-ryze.ai/mcp", transport: "streamable-http", headers: { Authorization: "Bearer ${RYZE_API_KEY}" }, }

Drop auth: "oauth" and send the key as a bearer header, because OpenClaw ignores static Authorization headers while auth: "oauth" is on. Keep the key in an environment variable: a ${RYZE_API_KEY} reference does not trigger the literal-value warning of openclaw doctor when the variable is set. This key opens the Ryze AI connector and has nothing to do with Google credentials, which stay in the Ryze AI app.

Transport and timeouts

A remote entry takes the transport streamable-http or sse, and OpenClaw reads a URL entry with no transport as sse, so set streamable-http for this address. A request times out after 60 seconds by default, and the tool list at session start gets 10 seconds when requestTimeoutMs is not set.

OpenClaw and MCP: the facts in one table

QuestionAnswer from OpenClaw's docs
Where a server is addedSettings > MCP > Add server in the Control UI, + > Plugins > Add MCP server in a chat, openclaw mcp add or set in a terminal, or mcp.servers in ~/.openclaw/openclaw.json
Config file~/.openclaw/openclaw.json in JSON5. The Gateway applies edits on its own; an unknown key blocks startup
Transportsstdio for local commands, plus SSE and Streamable HTTP for addresses. type: "http" is rewritten to transport: "streamable-http" by openclaw mcp set and openclaw doctor --fix
Sign-inauth: "oauth" on an HTTP entry, then openclaw mcp login with the Gateway stopped, or Sign in under Settings > MCP for an administrator
Whose accountBy default one shared credential that the operator manages. oauth.identity: "per-requester" gives each sender a sign-in of their own and needs gateway.publicOrigin set to the Gateway's HTTPS origin
ApprovalMCP tools follow the same tool profiles and tool policy as other tools. The coding and messaging profiles include them, minimal hides them, and tools.deny: ["bundle-mcp"] turns them off. Per-call prompts are documented for Codex runs only
Tool namesThe agent sees <server>__<tool>. openclaw mcp doctor ryze --probe opens a live connection and lists the tools
PlanNo paid tier; MIT licensed and self-hosted
Admin controlsAdding a server from a chat and signing in from Settings need administrator access. enabled: false keeps an entry and hides its tools

Sources: OpenClaw: connect MCP servers, MCP registry commands, transports and OAuth, MCP config, Gateway configuration, MCP in the Control UI, OpenClaw docs home (checked November 15, 2026).

Other clients

The same URL works in other MCP clients. Google Analytics 4 is connected once in Ryze AI, so the Google login and the saved property stay as they are.

Claude Code

Claude Code registers the same URL with one claude mcp add command.

How to connect Claude Code to Google Analytics

Codex

Codex takes the connector URL through its own MCP settings.

How to connect Codex to Google Analytics

Cursor

Cursor takes the same URL as an MCP server in its settings.

How to connect Cursor to Google Analytics

ChatGPT and Claude

Both add the URL as a custom connector, with plan limits that differ from OpenClaw's.

How to connect ChatGPT to Google Analytics

Permissions and access

Four things decide what OpenClaw can reach in Google Analytics.

Which Google login
The Google login you sign in with in the Ryze AI app. It reaches the GA4 accounts and properties that login can already open, and no others. A property where the login has no role, or does not exist, gets the same permission answer from Google.
Which property
The tools take a property ID, because none is selected automatically inside them. listAccountSummaries lists the accounts and properties the login can read, so you can name a property in a prompt. The property you save in Ryze AI is the one the app uses.
Several Google logins
A workspace accepts more than one Google login through Add one more account, each with its own property. One is the primary that the agent uses by default, set with the star. Other properties stay reachable when you name them, and the tools accept an optional connection_id to target one login. The help center advises a separate workspace for each client.
One shared sign-in
By default OpenClaw's OAuth credential is shared and operator-managed, so everyone who talks to that agent works through the one Ryze AI sign-in and the one Google login behind it. Per-requester sign-in needs oauth.identity set to per-requester and gateway.publicOrigin set to an HTTPS origin.

What the connection is allowed to do

Two sign-ins stand between OpenClaw and your analytics. OpenClaw signs in to the Ryze AI connector, and Ryze AI holds a Google sign-in with one Analytics scope plus three basic profile scopes. The Google login acts within the role it already has on each property.

Scope or roleWhat Google says it coversOn the Ryze AI connection
analytics.readonlySee and download your Google Analytics data, in both the Data API and the Admin APIYes. This is the only Analytics scope
openid, email, profileAssociate you with your personal info, see your primary Google Account email address, and see your personal info including anything made publicYes, as the basic sign-in scopes
analytics.editEdit Google Analytics management entitiesNo. Not requested, so nothing can be created or changed in GA4
analytics.chatbot.readThe scope for Google's Ask Advisor chat method, which is separate from reporting scopesNo. Not requested
Viewer roleCan see settings and data, and can change which data appears in reportsThe minimum role the Google login needs on a property
Marketer and Editor rolesMarketer can create, edit and delete audiences, events and key events. Editor has full control of settings at the property levelNot needed and not used

Not included: any write scope, Universal Analytics, and any property where the login holds no role. Google lets a role carry No Cost Metrics or No Revenue Metrics, and says those data restrictions are enforced in the API as well as the Analytics interface, so a login with them will not get cost or revenue through the connector. During sign-in, Google shows each permission as a checkbox, and the Ryze AI help center says to keep every one checked.

There is no API key, service account or Google Cloud project on the Ryze AI side, and you do not create an OAuth client.

Sources: Google OAuth scopes, Analytics roles and restrictions, Data API runReport (checked November 14, 2026).

Removing access

To cut OpenClaw off, stop the Gateway and run openclaw mcp logout ryze, which deletes the saved credentials but keeps the entry, or openclaw mcp unset ryze, which removes the entry. enabled: false on the entry hides its tools without deleting anything. To end the Google Analytics access itself, disconnect Google Analytics 4 under Integrations in Ryze AI.

What OpenClaw can do in Google Analytics

The Ryze AI connector exposes 9 Google Analytics 4 tools, all of them read tools. The names were loaded from a live connector on November 14, 2026; definitions only, and only some were called, as the next table shows.

ToolTypeWhat it does
google_analytics__listAccountSummariesReadLists the GA4 accounts and properties the connected Google login can access, so you can find property IDs.
google_analytics__runRawReportReadRuns a GA4 Data API report with chosen dimensions, metrics, named date ranges, filters and ordering, and pages through the results.
google_analytics__runPivotReportReadRuns a GA4 Data API pivot-table report.
google_analytics__runRealtimeReportReadRuns a GA4 Data API realtime report covering the last 30 minutes.
google_analytics__runAdminReadReadReads a GA4 Admin API resource such as key events, custom dimensions or audiences. It is GET only and cannot write.
google_analytics__getAiTrafficByEngineReadReturns traffic from AI referrers grouped by source engine and compared with a prior period.
google_analytics__getAiTrafficDailyReadReturns daily traffic from AI referrers such as ChatGPT and Perplexity.
google_analytics__getAiLandingPagesReadLists the top landing pages that receive AI-referred traffic, up to 200 rows.
google_analytics__getAIReferralsReadLists AI referral sources with their sessions and conversions.

Calls tested through the connector

On November 14, 2026 a Ryze AI test workspace with a Google Analytics 4 connection was called from Claude Code through the connector. Eight read calls ran. The page records what each returned and no value from the account.

CallWhat came back
listAccountSummaries with no arguments beyond the workspaceIt worked. The answer held accountSummaries, each with propertySummaries (property, displayName, propertyType, parent and canEdit).
runRawReport for one day with one metric (sessions) and the quota block switched onIt worked. One row came back with the metric header, a rowCount and metadata, plus a propertyQuota block whose totals equal Google's standard-property limits. That block matches the example on Google's quotas page, so treat it as a sign of the limits and not as proof of usage.
runRawReport with a dimension that does not existRefused with 400 INVALID_ARGUMENT. Google's message suggested the closest real name.
runRawReport with a metric that does not existRefused with 400 INVALID_ARGUMENT, again with a suggested name.
runRawReport with a property ID that does not existRefused with status not_allowed, returned as a normal tool result and not as an HTTP error.
runRawReport with 10 dimensionsRefused with 400 INVALID_ARGUMENT.
runRawReport with 5 date rangesRefused with 400 INVALID_ARGUMENT.
runRawReport with 11 metricsRefused with 400 INVALID_ARGUMENT.

Keeping the agent in check

All 9 tools read, so the connector changes nothing in GA4 whatever the agent is asked. In its built-in runtime OpenClaw does not document a prompt before each MCP call; those are documented for Codex runs only. MCP tools follow the usual tool profiles and policy, and inside a chat, + > Plugins > Tool access lets you deny single tools for that session. To narrow what the agent can pull, a toolFilter with an include list on the entry keeps only the tools you name. Entries take exact names or simple * globs; run openclaw mcp doctor ryze --probe first to see the names OpenClaw reports. In the Ryze AI chat the Tool approvals picker starts on Skip all approvals, so the agent runs tools on its own; switch it to Approve write & delete or Manual approve if you want a prompt. Scheduled tasks in Ryze AI run without an approval step.

ryze: { url: "https://connector.get-ryze.ai/mcp", transport: "streamable-http", auth: "oauth", toolFilter: { include: ["*google_analytics__listAccountSummaries", "*google_analytics__getAi*"], }, }

Limits in numbers

Ryze AI adds a few input limits of its own, such as 200 rows for getAiLandingPages and a default of 10,000 rows for runRawReport. Every other number below belongs to Google or OpenClaw, counted the way that vendor counts it, mostly per property. How many tokens a given prompt costs was not measured beyond one test report.

LimitFigureSet by
Daily token budget200,000 core tokens per property per day on a standard property, 2,000,000 on Analytics 360Google
Hourly token budget40,000 per property per hour on standard, 400,000 on 360. Per Google Cloud project and property: 14,000 standard, 140,000 on 360Google
Concurrent requests10 per property on standard, 50 on 360Google
Realtime reportsTheir own quota with the same figures as core on standard. The window runs from now to 30 minutes ago, up to 60 minutes on 360Google
Cost of one requestGoogle says most requests charge 10 tokens or fewer. More rows, more dimensions and metrics, complex filters, long date ranges and high-cardinality dimensions such as pagePath cost more. The one-day, one-metric test report cost 1 tokenGoogle, plus the test
When quota runs outA 429 RESOURCE_EXHAUSTED answer. Daily quotas refresh at midnight Pacific time and hourly quotas within an hourGoogle
Server errors10 per project per property per hour on standard, 50 on 360. Past it, requests from that project to the property are blockedGoogle
Failed requests10,000 per project per property within a 15-minute window, added June 28, 2024Google
Demographic dimensions120 potentially thresholded requests per property per hour, for dimensions such as userAgeBracket and userGenderGoogle
Rows in one report10,000 if you name no limit, at most 250,000 per request, with larger results paged by offsetGoogle
Dimensions, metrics and date ranges9 dimensions per request (Google's guide). In the test the API answered 10 dimensions, 11 metrics and 5 date ranges with an error, giving caps of 9, 10 and 4Google, plus the test
Admin API1,200 requests per minute and 600 per user per minute. The write quotas do not apply, because the tools only readGoogle
Data delayIntraday data typically 2 to 6 hours and daily data 12 hours on standard properties. Google says processing can take 24 to 48 hours and that figures may change meanwhileGoogle
Data retention2 or 14 months on a standard property. Google says the setting only affects explorations and funnel reports, not standard aggregated reportsGoogle
AI traffic landing pagesAt most 200 rows per callRyze AI
OpenClaw request time60 seconds per request, and 10 seconds for the tool list at session start unless requestTimeoutMs is setOpenClaw

Google's token budget counts per property, so several OpenClaw agents asking about one property share it. If the daily bucket reaches 0, every later request to that property returns 429 until the refresh. The one-day test report cost 1 token, so ordinary questions use little of a 200,000 budget, while wide reports with a long range and pagePath do not.

Sources: Data API quotas, Data API changelog, Create a report, Realtime basics, Admin API quotas, Data freshness, Data retention (checked November 14, 2026); Data API errors (checked November 14, 2026); OpenClaw MCP config, OpenClaw: connect MCP servers (checked November 15, 2026).

First 3 prompts to run

Each answer comes from your own property, so this page describes what comes back instead of showing sample numbers.

1. Find the property

List every Google Analytics 4 account and property this login can read, with the property IDs.

Tools used: google_analytics__listAccountSummaries

What comes back: Accounts with their properties, each with a property ID, display name and type. This is the call that ran in the test, and the IDs are what later prompts name.

2. Channels against last month

For property [ID], compare sessions and key events by default channel group for last month against the month before, with each date range named.

Tools used: google_analytics__runRawReport

What comes back: One row per channel group with the metrics for each named range. Revenue appears only when ecommerce tracking is set up in GA4.

3. Visits from AI assistants

For property [ID], which AI assistants sent visits in the last 30 days, compared with the 30 days before?

Tools used: google_analytics__getAiTrafficByEngine

What comes back: Traffic grouped by source engine, such as ChatGPT or Perplexity, set against the earlier period. GA4 reports visits that arrive from AI assistants and cannot say whether an assistant mentions your brand.

Name the property ID in each prompt, because the tools do not pick one. To change something in GA4, such as a key event or an audience, use the Google Analytics interface: no Ryze AI tool writes to it.

10 jobs to hand to OpenClaw

Ten jobs to give an OpenClaw agent, each with the Ryze AI tool behind it. Only listAccountSummaries and runRawReport were called in the test; the rest are read tools from the facts file and were not run. The last column says whether the default connection covers the job.

JobWhat to ask OpenClawToolDefault connection
Property listList every GA4 account and property this login can read, with property IDs.google_analytics__listAccountSummariesWorks (ran in the test)
Channel comparisonSessions, key events and revenue by default channel group for last month against the month before.google_analytics__runRawReportWorks (the tool ran in the test)
Landing pagesTop landing pages by sessions with engagement rate and key event rate for the last 28 days.google_analytics__runRawReportWorks
Revenue by sourcePurchase revenue and purchases by source and medium.google_analytics__runRawReportWorks, but revenue is zero without ecommerce tracking and hidden for a No Revenue Metrics role
Channel by deviceA pivot of sessions by channel across device categories.google_analytics__runPivotReportWorks (not run)
Right nowWho is on the site right now, by country and device, for the last 30 minutes.google_analytics__runRealtimeReportWorks (not run)
Property settingsList the key events, custom dimensions and audiences set up in the property.google_analytics__runAdminReadWorks (not run). Audiences are read with the v1alpha version
AI enginesWhich AI assistants sent visits in the last 30 days, against the 30 days before.google_analytics__getAiTrafficByEngineWorks (not run)
AI trendA daily trend of visits from AI assistants such as ChatGPT and Perplexity.google_analytics__getAiTrafficDailyWorks (not run)
AI landing pagesThe landing pages that receive AI-referred visits, and each AI referral source with sessions and conversions.google_analytics__getAiLandingPages and google_analytics__getAIReferralsWorks (not run)

Some jobs have no Ryze AI tool: creating or editing properties, key events and audiences, anything on a Universal Analytics property, and measuring whether an AI assistant mentions your brand.

5 ways to connect OpenClaw to Google Analytics

Five routes to Google Analytics data fit what OpenClaw can run, and two of them name OpenClaw. This guide treats the first, the Ryze AI connector, as the main way: one Google sign-in in the Ryze AI app and one remote entry in OpenClaw. The pages below were read on November 14, 2026, and nothing from them was installed inside OpenClaw.

WayRuns whereSetup for OpenClawWhat it reaches in Google AnalyticsPrice
Ryze AI connector (the main way)Hosted by Ryze AI, one address for every userA streamable-http entry named ryze with auth oauth, from Settings > MCP, openclaw mcp set or openclaw.json, then one sign-in. A Ryze AI API key in a bearer header can stand in for the sign-in9 read tools: reports, pivots, realtime, admin reads, a property list and 4 for visits from AI assistants. No write toolPaid Ads $89 per month with a 7-day free trial, or SEO Starter $129 per month with a 3-day free trial
Google's analytics-mcp, run locallyOn your own computer, started as a command (pipx run analytics-mcp or uvx)OpenClaw's stdio transport starts a local command, so it fits in principle. Google's docs name Antigravity, Claude Desktop, Claude Code and Cursor, and its README names Gemini tools, not OpenClaw. It needs Python 3.10 or higher, a Google Cloud project with the Admin and Data APIs enabled, and Application Default Credentials. Not tried in OpenClawDocs page: 9 read tools. Version 1.1.0 adds opt-in write tools behind --allow-write and the analytics.edit scope. Google's docs page still says read requests onlyOpen source, Apache-2.0. Version 1.1.0 came out on November 6, 2026
Google's analytics-mcp, self-hosted over HTTPOn infrastructure you run, with Docker or Google Cloud RunThe README documents --transport http and a built-in OAuth 2.1 server, and names no chat assistant. OpenClaw can save a remote address with auth oauth, but whether the sign-in completes was not tested. You create the Google OAuth web client yourselfThe same tools as the local server. Write tools stay off unless enabledNo price stated. You pay for what hosts it. Its OAuth state lives in process memory, so restarts need a new sign-in
ComposioHosted by Composio at https://connect.composio.dev/mcpComposio lists OpenClaw among the assistants it works with. Setup is a Streamable HTTP address and a login to Composio, which has its own managed Google OAuth app. No OpenClaw-specific steps were found82 tools listed, read and write, including creating audiencesPricing page: Free at $0 with 10,000 tool calls per month and $2 in credits once, Standard at $18 per seat per month. A Composio FAQ states a different free allowance, so check the pricing page
Coupler.ioHosted by Coupler.io, which queries a synced copy of GA4Build a GA4 data flow, then choose an AI integration. OpenClaw is one of the 7 listed, and Custom MCP takes an access token as a bearer header. Not tried in OpenClawRead only. A data flow carries at most 10 metrics and 9 dimensions, and data refreshes on a scheduleFree at $0 with manual refresh, Starter $32 per month ($24 billed annually), a 7-day trial first

Options that do not fit this setup

  • Google's hosted endpoint for the Data API. Google's reference page returned 404 on November 14, 2026 while a Markdown copy of it loaded, and Google Cloud's product list does not name Google Analytics. Connecting needs your own Google credentials, because Google's remote MCP servers do not support Dynamic Client Registration. It is not an announced route, so this guide gives no steps for it.
  • Google Analytics agent skills. Google's skills help coding agents write code against the Data API and Admin API and carry no data connection. They name Antigravity, Claude Code, Codex and Cursor, not OpenClaw.
  • Ask Advisor through the Data API. The v1alpha chat method, added September 14, 2026, is for code that calls Google's API over HTTP. It is not a connector you add to an assistant.
  • Zapier MCP. Its Google Analytics 4 page lists 6 actions, read and write, and each successful call uses 2 tasks of a Zapier plan. The clients it names do not include OpenClaw.
  • Windsor.ai. It reads GA4 through Windsor MCP, and its guides cover other assistants. Pages read did not name OpenClaw.
  • The community server surendranb/google-analytics-mcp. An open-source local process with 8 read tools. Its README names Claude Code, Cursor and others, not OpenClaw.
  • A Ryze AI plugin in ClawHub. ClawHub, OpenClaw's public registry for skills and plugins, had no Ryze AI plugin on November 15, 2026, so the connector is added by its address.

Which one to pick

Ryze AI is the best Google Analytics connector for OpenClaw when the job is reading GA4 reports and AI-referral traffic from one hosted URL with no Google Cloud project, but it only reads, has 9 tools and needs a Ryze AI plan. Google's analytics-mcp is free and has no plan to buy, so it fits a developer who is happy to run Python, set up Application Default Credentials and try an unconfirmed OpenClaw setup. Composio suits a team that already pays for it and wants write actions, and Coupler.io fits scheduled data against live questions. None of them was installed inside OpenClaw for this guide, so try one on a test property first.

Sources: Google: Analytics MCP server, analytics-mcp on GitHub, analytics-mcp releases, Google Analytics agent skills, Ask Advisor chat method, Google Cloud: authenticate to MCP servers, Composio Google Analytics toolkit, Composio pricing, Coupler.io Google Analytics MCP, Coupler.io pricing, Zapier Google Analytics 4 MCP, Windsor.ai Google Analytics MCP, surendranb/google-analytics-mcp (checked November 14, 2026); ClawHub, OpenClaw MCP transports, OpenClaw on GitHub (checked November 15, 2026).

Google Analytics and OpenClaw: dates that matter

DateWhat happened
May 6, 2024The Data API introduced key event dimensions and metrics. conversions became a deprecated metric name, replaced by keyEvents.
July 30, 2025The Google Analytics team announced the Google Analytics MCP server in its API Notify group.
March 31, 2026OpenClaw 2026.3.31 added remote HTTP and SSE servers by URL under mcp.servers, with auth headers and an optional streamable-http transport.
August 31, 2026OpenClaw 2026.8.1, also called OpenClaw 2.0, added servers from the chat composer and per-requester OAuth for shared servers.
September 14, 2026The Data API added the v1alpha chat method for Ask Advisor, with the analytics.chatbot.read scope.
September 23, 2026OpenClaw 2026.9.6 let administrators sign in to MCP connectors from Settings.
October 22, 2026analytics-mcp 0.8.0 added its first write tool, create_property_annotation, with the --allow-write flag.
November 3, 2026analytics-mcp 1.0.0 added a multi-tenant Streamable HTTP transport and OAuth 2.1, and left experimental status. The same day OpenClaw 2026.10.10 began protecting MCP configuration while the Gateway runs, so openclaw mcp set and login need it stopped.
November 6, 2026analytics-mcp 1.1.0 added Docker and Cloud Run docs and opt-in Admin API write tools for custom dimensions and key events. It was the newest version on November 14.
November 10, 2026OpenClaw 2026.11.3 came out. On November 15, 2026 it was the newest stable release, and its notes list no MCP change.

Sources: Data API changelog, analytics-mcp releases, Google Analytics API Notify announcement (checked November 14, 2026); OpenClaw releases, changelog 2026.3.31, changelog 2026.8.1, release 2026.9.6, release 2026.10.10 (checked November 15, 2026).

How this guide was tested

Two dates stand behind this guide. Eight read calls ran through the Ryze AI connector on November 14, 2026, and the Google pages were read the same day. The OpenClaw steps were compared with OpenClaw's documentation on November 15, 2026.

What was runWhat came back
Connector tool list, November 14, 2026All 9 tool names loaded by exact name and each returned a definition. No name contains a write verb.
listAccountSummaries and one runRawReport, November 14, 2026Both worked on a standard property. The report cost 1 token.
Six refused runRawReport requests, November 14, 2026A misspelled dimension, a misspelled metric, an unknown property ID, 10 dimensions, 11 metrics and 5 date ranges each came back as an error, listed under Errors and fixes.
Google's pages and Google's server, November 14, 2026Quotas, errors, scopes, roles, changelog, the analytics-mcp README and the releases were read. Unauthenticated requests to Google's hosted endpoints were also sent, to describe them fairly. Nothing was installed.
OpenClaw docs, changelog files and GitHub releases, November 15, 2026Read, and each release date matched against the published date of the GitHub release.

Not run for this page: every step inside OpenClaw. No Gateway was installed or started, no server was saved and no sign-in was tried, so openclaw mcp set, openclaw mcp login, Settings > MCP and the openclaw.json entry follow OpenClaw's documentation as read on November 15, 2026. The calls above came from Claude Code, not from OpenClaw. The pivot, realtime, admin read and four AI-traffic tools were not called, because they return business data from a real account, and no authenticated call went to Google's own MCP server. The connector's unsigned answer is described in OpenClaw terms from OpenClaw's docs, and that pairing was not seen in a run.

Errors and fixes

Messages from the vendor docs

The first six messages came back from Google through the Ryze AI connector in the test on November 14, 2026. The last two are the words OpenClaw's documentation uses, and were not seen in a run.

MessageMeaningWhat to do
Did you mean manualSource? Field trafficSauce is not a valid dimension. (400 INVALID_ARGUMENT)The dimension name does not exist in the Data API. The test sent it on purpose, and Google suggests the closest name.Ask again with a real dimension such as sessionSource, or use the name Google suggests.
Did you mean sessions? Field sessionz is not a valid metric. (400 INVALID_ARGUMENT)The metric name does not exist. Note that conversions is deprecated and the current name is keyEvents.Use the suggested metric name.
User does not have sufficient permissions for this property. (status not_allowed)The property ID does not exist, or the Google login has no role on it. Google gives the same answer in both cases. It came back as a normal tool result and not an HTTP error.Run listAccountSummaries for the IDs the login can read, or ask a property admin for the Viewer role.
Requests are limited to 9 dimensions within a nested request. (400 INVALID_ARGUMENT)One report can break data down by at most 9 dimensions.Ask for fewer breakdowns, or split the question into two reports.
Requests are limited to 10 metrics within a nested request. (400 INVALID_ARGUMENT)One report can carry at most 10 metrics.Ask for 10 metrics or fewer, or run two reports.
Requests are limited to 4 dateRanges. (400 INVALID_ARGUMENT)One report can compare at most 4 date ranges.Compare up to 4 periods per report, or use a date dimension over one longer range.
authentication refused (401)OpenClaw's docs use this line when a Streamable HTTP server rejects startup with a 401, which is how the Ryze AI connector answers before you sign in. The pairing comes from the docs.Run openclaw mcp login ryze with the Gateway stopped.
authorization-required, or insufficient_scopeOpenClaw's names for a server that still needs sign-in, or a token that lacks a scope.Run openclaw mcp login ryze again.

Other problems

The Google Analytics tools do not appear in OpenClaw
Until shared credentials exist, OpenClaw leaves the server out of the agent runtime instead of failing the turn. Run openclaw mcp login ryze with the Gateway stopped, then check with openclaw mcp status or openclaw mcp doctor ryze --probe. If you added the connector before Google Analytics 4 was connected in Ryze AI, remove the entry and add it again.
The tool list is empty or times out
The tool list at session start gets 10 seconds when requestTimeoutMs is not set. Raise requestTimeoutMs on the entry, and confirm transport is streamable-http, because OpenClaw reads a missing transport as sse.
The sign-in page opens on the wrong machine
Approve it in the browser, then give the code it returns to openclaw mcp login ryze with --code, and the iss value with --issuer if the callback carries one.
The Ryze AI API key is ignored
Static Authorization headers are ignored while auth: "oauth" is on. Remove auth for the key route, or remove the header and use OAuth.
An openclaw mcp command holds back
Since OpenClaw 2026.10.10 (November 3, 2026), commands that change saved servers, and login, need the Gateway stopped. Stop it, run the command and start it again. To skip the stop, edit openclaw.json, which the Gateway watches, or use Settings > MCP.
The Gateway will not start after editing openclaw.json
A key the Gateway does not know stops it. Servers belong under mcp.servers in ~/.openclaw/openclaw.json, so move any block copied from another format, such as an mcpServers block, into that shape.
The card in Ryze AI says Require setup
No property is saved yet. Open the Google Analytics 4 card, pick the property for the workspace and click Save.
Revenue shows as zero
Revenue is zero unless ecommerce tracking and purchase events are set up in GA4. A role with No Revenue Metrics also hides it.
Numbers differ from another tool
GA4 and a store platform such as Shopify attribute sessions and conversions differently, so the totals will not match exactly. Google also says data can change for 24 to 48 hours while it is processed.
A realtime question comes back short
Realtime reports cover the last 30 minutes only on a standard property. Use runRawReport for anything older.
You need a second property or another Google login
Use Add one more account in the Ryze AI app, or name another property by its ID in the prompt. The tools accept an optional connection_id for a specific login.
The one-time connection link does not work
The link works once and for 24 hours. Ask the Ryze AI agent for a new one, or connect in the Ryze AI app.
The agent says a subscription is required
The tools need an active Ryze AI plan or free trial. Without one the connector can only list workspaces and connect platforms.

Terms on this page

Gateway
OpenClaw's single process on your machine or server. It reads its server list from openclaw.json and keeps MCP sign-ins in its state directory.
toolFilter
A setting on a server entry that keeps (include) or hides (exclude) tools by exact name or * pattern.
Property and property ID
The unit of Google Analytics that reports are made for. Every Data API request names a numeric property ID, shown under Admin, Property Settings, and it must be a GA4 property, not Universal Analytics.
Key event
Google's word for an event that measures an action important to your business, formerly called a conversion. The API metric is keyEvents.
Dimension and metric
Metrics are measurements such as active users or event count. Dimensions break them down, for example by country or event name.
Token (Data API quota)
The unit Google charges for each report request. A standard property has 200,000 per day and 40,000 per hour.
Default channel group
Google's rule-based grouping of traffic sources, in the API the dimension sessionDefaultChannelGroup, with values such as Direct, Organic Search, Paid Search and Referral.

Sources: OpenClaw Gateway configuration, OpenClaw MCP config (checked November 15, 2026); Property ID, Key events, Default channel group, Data API quotas (checked November 14, 2026).

Frequently asked questions

How do I connect OpenClaw to Google Analytics?

Connect Google Analytics 4 in the Ryze AI app with a Google sign-in and save a property. Then stop the Gateway, run openclaw mcp set ryze with the URL https://connector.get-ryze.ai/mcp, transport streamable-http and auth oauth, and run openclaw mcp login ryze. Click Allow connection and start the Gateway again. An administrator can do the same from Settings > MCP in the Control UI without stopping the Gateway.

Is there a Google Analytics MCP server for OpenClaw?

Yes, the Ryze AI connector at https://connector.get-ryze.ai/mcp, which OpenClaw saves as a remote server and which brings 9 read tools for GA4. Google also publishes an open-source server, analytics-mcp, that OpenClaw could start as a local command, but Google's pages do not name OpenClaw. Composio and Coupler.io name OpenClaw in their Google Analytics pages.

Is there a Google Analytics connector for OpenClaw?

OpenClaw's MCP pages describe how to add servers and name no built-in Google Analytics connector. ClawHub had no Ryze AI plugin on November 15, 2026, so the Ryze AI connector is added by its URL as a remote MCP server.

Can OpenClaw change anything in Google Analytics?

No. All 9 tools read, the connection holds only the read-only analytics.readonly scope, and runAdminRead is GET only. Creating or editing properties, key events and audiences needs the Google Analytics interface.

What access does the Google login need?

At least the Viewer role on a GA4 property. Google describes Viewer as being able to see settings and data. You do not create a Google Cloud project, an API key or a service account for the Ryze AI connector.

Can OpenClaw see visits that come from ChatGPT and Perplexity?

Yes, through four tools: traffic by engine against a prior period, traffic by day, landing pages that get AI-referred visits, and AI referral sources with sessions and conversions. GA4 reports visits that arrive from AI assistants and cannot measure whether an assistant mentions your brand.

Which route should I pick for OpenClaw?

Pick the Ryze AI connector for one hosted URL, nine read tools and no Google Cloud setup. Pick Google's analytics-mcp if you want a free local server and can run Python and set up Application Default Credentials, accepting that Google does not document OpenClaw for it. The other routes ask for a separate paid service.

Do I need a paid OpenClaw plan?

No. OpenClaw is open source (MIT license per its GitHub repository) and self-hosted, and its docs say it has no paid tier. The cost is the Ryze AI plan or trial that the Google Analytics tools need.

Should I use OAuth or an API key for the Ryze AI sign-in?

OAuth through openclaw mcp login is the default path here. A Ryze AI API key sent as a bearer header suits setups where no browser sign-in is practical. OpenClaw ignores static Authorization headers while auth is set to oauth, so use one method per entry. Neither replaces the Google sign-in you do in the Ryze AI app.

Why is revenue zero in my report?

Revenue shows as zero unless ecommerce tracking and purchase events are set up in GA4. A Google role that carries the No Revenue Metrics restriction also hides it through every connector.

Are Universal Analytics properties supported?

No. Only GA4 properties work. Google says the Data API needs a Google Analytics property and not a Universal Analytics one.

Can I connect more than one property or Google login?

Yes. Add more Google logins to one workspace with Add one more account, each with its own property, and mark one as primary with the star. Other properties stay reachable by naming their IDs in a prompt. The help center advises one workspace per business and a separate workspace for each client.

Why does the server not appear in my OpenClaw agent?

Until shared credentials exist, OpenClaw leaves the server out of the agent runtime. Stop the Gateway, run openclaw mcp login ryze, start the Gateway again and check with openclaw mcp status.

What if OpenClaw runs on a server without a browser?

Open the sign-in link in a browser on another machine, approve it there and give the returned code to the --code option of openclaw mcp login. If the callback also carries an iss value, pass it with --issuer.

How much does it cost to connect OpenClaw to Google Analytics?

Connecting costs nothing, but the 9 Google Analytics tools need an active Ryze AI plan or free trial. Paid Ads is $89 per month with a 7-day free trial, and SEO Starter is $129 per month with a 3-day free trial. Annual billing takes 30% off the first year. Google limits the Data API reports used here with token quotas per property.

How do I disconnect Google Analytics from OpenClaw?

Stop the Gateway and run openclaw mcp logout ryze to drop the credentials, or openclaw mcp unset ryze to remove the entry. To end the Google Analytics access, disconnect Google Analytics 4 under Integrations in Ryze AI.

Give OpenClaw your GA4 reports

Connecting the connector is free. The 9 Google Analytics 4 tools need an active plan or trial: Paid Ads is $89 per month with a 7-day free trial, and SEO Starter is $129 per month with a 3-day free trial. Annual billing takes 30% off the first year.

Need help? Read the Ryze AI Google Analytics guide or email Ryze AI support.