treg.to / Catalog / Google Analytics
33 tools · your own account · never metered

Google Analytics MCP for AI agents

Sessions, users, conversions and traffic sources — run any GA4 report your agent can describe. Connect your own Google Analytics account once and your agent uses it from then on, through one treg.to token. Calls on your own connection are never metered.
$1.00 of free credit on every new team · no provider signup · no card
3 of 33 tools on this page are live-verified against the provider.
works in
ChatGPTClaudeClaude CodeCodexCursorGrokGemini CLI
What your agent can now do

Google Analytics, one prompt away

AGENT
ChatGPTClaudeClaude CodeCodexCursorGrokGemini CLI
list key conversion events
get a key event
list accounts with properties
treg
$ treg call google-analytics.report
✓ 200 · free
$ treg call google-analytics.realtime
✓ 200 · free
$ treg call google-analytics.metadata
✓ 200 · free
$ _
Google AnalyticsYOUR ACCOUNT
Sessions, users, conversions and traffic sources — run any GA4 report your agent can describe.
⚒ 33 TOOLS

SEO · https://analyticsdata.googleapis.com

Set up

Set up Google Analytics in Claude Code, Codex or any agent

1Give this to your agent
in your agent's chat
set up treg — https://treg.to/llms.txt
2Or add the MCP server yourself
claude code
claude mcp add --transport http treg https://treg.to/mcp

ChatGPT

Settings → Connectors → add https://treg.to/mcp as a custom connector.

Grok bot

Add https://treg.to/mcp as a remote MCP connector in its tool settings.

Claude Desktop

Settings → Connectors → Add custom connector → https://treg.to/mcp.

Cursor, Codex, any MCP client

Point it at https://treg.to/mcp (HTTP transport).

CLI

curl -fsSL https://treg.to/install.sh | sh

Plain HTTP

LangChain, CrewAI or any code: /call/<tool-id> with a Bearer token. No SDK.

Try it

What's the best way to ask?

the prompt
Using treg, list key conversion events. Show me the price first.

Run one directly

a live-verified call
curl -H "Authorization: Bearer $TREG_TOKEN" \
  "https://treg.to/call/google-analytics.report"
Why treg.to

Why call Google Analytics through treg.to

Your account, held safely

Connect once; treg.to keeps the credential server-side and injects it per call. No key on any machine.

Price before the call

The provider's own rate, $0.000 markup. How billing works.

No subscription, no seats

Charged per call. $1.00 free per new team, no card to start.

Your own Google Analytics key is free

Register it and those calls are never metered. Your key always wins.

Switch by changing a word

Another provider is a different word in the prompt, not a new integration.

One key, the whole catalog

The same token calls every provider in the catalog and ~2,600 other tools.

The shelf

All 33 Google Analytics tools

Google Analytics (GA4) · 33 tools
  • List your GA4 account and property summaries · free
    accountSummaries.list — Returns summaries of all accounts accessible by the caller. google-analytics.x.analyticsadmin-accountsummaries-list
  • List your GA4 accounts · free
    accounts.list — Returns all accounts accessible by the caller. Note that these accounts might not currently have GA properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list if no relevant accounts are found. Note: The easiest way to retrieve a list of all properties you have access to is by using `ListAccountSummaries`. google-analytics.x.analyticsadmin-accounts-list
  • GA4 account details by account id · free
    accounts.get — Lookup for a single Account. google-analytics.x.analyticsadmin-accounts-get
  • GA4 account data sharing settings by account id · free
    accounts.getDataSharingSettings — Get data sharing settings on an account. Data sharing settings are singletons. google-analytics.x.analyticsadmin-accounts-getdatasharingsettings
  • Run a GA4 data access report for your account · free
    accounts.runAccessReport — Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 p google-analytics.x.analyticsadmin-accounts-runaccessreport
  • Search your GA4 account's change history · free
    accounts.searchChangeHistoryEvents — Searches through all changes to an account or its children given the specified set of filters. Only returns the subset of changes supported by the API. The UI may return additional changes. google-analytics.x.analyticsadmin-accounts-searchchangehistoryevents
  • List GA4 properties under your account · free
    properties.list — Returns child Properties under the specified parent Account. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found. google-analytics.x.analyticsadmin-properties-list
  • GA4 property details by property id · free
    properties.get — Lookup for a single GA Property. google-analytics.x.analyticsadmin-properties-get
  • List audience exports on your GA4 property · free
    audienceExports.list — Lists all audience exports for a property. This method can be used for you to find and reuse existing audience exports rather than creating unnecessary new audience exports. The same audience can have multiple audience exports that represent the export of users that were in an audience on different days. See [Creating an Audience Export](https://developers.google.com/analyti google-analytics.x.analyticsdata-properties-audienceexports-list
  • GA4 audience export metadata by export id · free
    audienceExports.get — Gets configuration metadata about a specific audience export. This method can be used to understand an audience export after it has been created. See [Creating an Audience Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and o google-analytics.x.analyticsdata-properties-audienceexports-get
  • List users in a GA4 audience export · free
    audienceExports.query — Retrieves an audience export of users. After creating an audience, the users are not immediately available for exporting. First, a request to `CreateAudienceExport` is necessary to create an audience export of users, and then second, this method is used to retrieve the users in the audience export. See [Creating an Audience Export](https://developers.google.com/analytics/de google-analytics.x.analyticsdata-properties-audienceexports-query
  • List GA4 conversion events (deprecated) · free
    conversionEvents.list — Deprecated: Use `ListKeyEvents` instead. Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found. google-analytics.x.analyticsadmin-properties-conversionevents-list
  • GA4 conversion event details (deprecated) · free
    conversionEvents.get — Deprecated: Use `GetKeyEvent` instead. Retrieve a single conversion event. google-analytics.x.analyticsadmin-properties-conversionevents-get
  • List custom dimensions on your GA4 property · free
    customDimensions.list — Lists CustomDimensions on a property. google-analytics.x.analyticsadmin-properties-customdimensions-list
  • GA4 custom dimension details by dimension id · free
    customDimensions.get — Lookup for a single CustomDimension. google-analytics.x.analyticsadmin-properties-customdimensions-get
  • List custom metrics on your GA4 property · free
    customMetrics.list — Lists CustomMetrics on a property. google-analytics.x.analyticsadmin-properties-custommetrics-list
  • GA4 custom metric details by metric id · free
    customMetrics.get — Lookup for a single CustomMetric. google-analytics.x.analyticsadmin-properties-custommetrics-get
  • GA4 property data retention settings · free
    properties.getDataRetentionSettings — Returns the singleton data retention settings for this property. google-analytics.x.analyticsadmin-properties-getdataretentionsettings
  • List data streams on your GA4 property · free
    dataStreams.list — Lists DataStreams on a property. google-analytics.x.analyticsadmin-properties-datastreams-list
  • GA4 data stream details by stream id · free
    dataStreams.get — Lookup for a single DataStream. google-analytics.x.analyticsadmin-properties-datastreams-get
  • List Measurement Protocol secrets on a GA4 stream · free
    measurementProtocolSecrets.list — Returns child MeasurementProtocolSecrets under the specified parent Property. google-analytics.x.analyticsadmin-properties-datastreams-measurementprotocolsecrets-list
  • GA4 Measurement Protocol secret by secret id · free
    measurementProtocolSecrets.get — Lookup for a single MeasurementProtocolSecret. google-analytics.x.analyticsadmin-properties-datastreams-measurementprotocolsecrets-get
  • List Firebase links on your GA4 property · free
    firebaseLinks.list — Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink. google-analytics.x.analyticsadmin-properties-firebaselinks-list
  • List Google Ads links on your GA4 property · free
    googleAdsLinks.list — Lists GoogleAdsLinks on a property. google-analytics.x.analyticsadmin-properties-googleadslinks-list
  • List key events on your GA4 property · free
    keyEvents.list — Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found. google-analytics.x.analyticsadmin-properties-keyevents-list
  • GA4 key event details by key event id · free
    keyEvents.get — Retrieve a single Key Event. google-analytics.x.analyticsadmin-properties-keyevents-get
  • Run several GA4 pivot reports in one batch · free
    properties.batchRunPivotReports — Returns multiple pivot reports in a batch. All reports must be for the same Google Analytics property. google-analytics.x.analyticsdata-properties-batchrunpivotreports
  • Run several GA4 reports in one batch · free
    properties.batchRunReports — Returns multiple reports in a batch. All reports must be for the same Google Analytics property. google-analytics.x.analyticsdata-properties-batchrunreports
  • Run a GA4 data access report for your property · free
    properties.runAccessReport — Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 google-analytics.x.analyticsadmin-properties-runaccessreport
  • Run a GA4 pivot report by property id · free
    properties.runPivotReport — Returns a customized pivot report of your Google Analytics event data. Pivot reports are more advanced and expressive formats than regular reports. In a pivot report, dimensions are only visible if they are included in a pivot. Multiple pivots can be specified to further dissect your data. google-analytics.x.analyticsdata-properties-runpivotreport
  • Run a custom GA4 report by property id · live-verified · free
    Run a traffic or behaviour report on your own Google Analytics property google-analytics.report
  • GA4 realtime active users by page, source, country · live-verified · free
    See who is on your site right now (active users by page, source and country) google-analytics.realtime
  • List your GA4 property's dimensions and metrics · live-verified · free
    List the dimensions and metrics your GA4 property supports, including custom ones google-analytics.metadata

Reliability badges come from live traffic through treg.to, not a controlled benchmark.

Questions

Before you start

Do I need a Google Analytics account?

Yes. This is an own-account connection: you sign in to Google Analytics once and your agent uses that connection through your treg.to token. Calls on it are never metered.

How do I add Google Analytics to Claude Code?

Run: claude mcp add --transport http treg https://treg.to/mcp — one MCP server carries Google Analytics and the rest of the catalog.

Which frameworks does it work with?

Anything that speaks MCP (Claude Code, Claude Desktop, ChatGPT, Codex, Cursor, Grok) and anything that can make an HTTP request (LangChain, CrewAI, LlamaIndex, plain code).

Is this the official Google Analytics MCP server?

No. treg.to serves Google Analytics's real API through its own metered proxy: the request is the provider's own, the credential is injected server-side, and the answer is relayed verbatim. The official Google Analytics channels are linked above.