Skip to content
Elaichi Elaichi

analytics

Google Analytics

Connect Google Analytics to Elaichi and hand every teammate a governed MCP endpoint — 65 tools ready to call from Claude, Cursor, or any MCP client, clamped by roles, restrictions, and an audit log.

Google Analytics

AI tools

Google Analytics tools for your AI agents

65 tools are ready to mint as an MCP endpoint the moment you connect Google Analytics — governed by the same roles, restrictions, and audit log as everything else in Elaichi.

list_all_googleanalytics_accounts

List all Google Analytics accounts accessible to the caller via the Management API v3. Returns: id, name, created, updated, selfLink, permissions, starred for each account item.

get_single_googleanalytics_account_by_id

Get a single Google Analytics account by id using the Admin API v1beta. Returns: name, displayName, createTime, updateTime, regionCode, deleted, gmpOrganization. Required: id.

list_all_googleanalytics_account_user

List entity user links (user permission assignments) for a Google Analytics account. Returns: id, kind, selfLink, entity, userRef, and permissions (local and effective). Required: account_id.

list_all_googleanalytics_accounts_alpha

List all Google Analytics accounts accessible to the caller via the Admin API (v1alpha). Returns: name, displayName, regionCode, createTime, updateTime, and deleted status for each account. Optionally include soft-deleted accounts by setting showDeleted to true.

list_all_googleanalytics_account_access_bindings_alpha

List all access bindings on a Google Analytics account. Returns each binding's name, roles, and user email address. Required: account_id.

list_all_googleanalytics_account_summaries

Get summaries of all accounts accessible by the caller in Google Analytics. Returns account summaries including account name, account resource name, display name, and child property summaries with property resource name, display name, property type, and parent resource name.

list_all_googleanalytics_accounts_beta

Get all accounts accessible by the caller in Google Analytics. Returns accounts excluding soft-deleted ones by default. Response includes accounts array with account details.

get_single_googleanalytics_accounts_beta_by_id

Get information about a specific account in Google Analytics. Requires id. Returns account details including account name and account ID.

update_a_googleanalytics_accounts_beta_by_id

Update fields of a specific account in Google Analytics using id and updateMask. Returns the updated account resource with its name field.

delete_a_googleanalytics_accounts_beta_by_id

Delete (soft-delete) an account by id in Google Analytics. Marks the account as trashed and returns an empty response. Note: soft-deleted accounts can only be restored via the Trash Can UI and will be permanently purged after expiration.

googleanalytics_accounts_beta_data_sharing_settings

Get data sharing settings for an account in Google Analytics. Requires id. Returns fields including sharingWithGoogleSupportEnabled, sharingWithGoogleAssignedSalesEnabled, sharingWithGoogleProductsEnabled, and sharingWithOthersEnabled indicating data sharing preferences.

googleanalytics_accounts_beta_provision

Create an account ticket in Google Analytics by providing account details and redirectUri. Returns accountTicketId for Terms of Service link.

googleanalytics_accounts_beta_access_report

Run a data access report for a Google Analytics account or property, returning records of user reads of reporting data. Returns: dimensionHeaders, metricHeaders, rows, rowCount, quota. Required: entity_name and entity_value.

googleanalytics_accounts_beta_search_change_history

Search change history events across a Google Analytics account and its child properties, filtered by resource type, action, actor, and time range. Returns: changeHistoryEvents including id, changeTime, actorType, userActorEmail, and changes. Required: account_id.

list_all_googleanalytics_properties

List child Properties filtered by filter in Google Analytics. Returns properties accessible to the caller excluding soft-deleted ones by default. Response includes properties array with property details.

get_single_googleanalytics_property_by_id

Get a single Google Analytics property by id. Returns the property resource with details such as property name and settings.

create_a_googleanalytics_property

Create a Google Analytics property with specified location and attributes. Returns the created property including its resource name, display name, and industry category.

update_a_googleanalytics_property_by_id

Update a property by id in Google Analytics. Requires updateMask specifying fields to update. Returns the updated property resource.

delete_a_googleanalytics_property_by_id

Delete a Property by id in Google Analytics. Marks the Property as soft-deleted (trashed) and returns it. Note: Properties cannot be restored via API and will be permanently purged if not restored before expiration.

list_all_googleanalytics_custom_dimensions

List CustomDimensions on a property in Google Analytics. Requires property_id. Returns customDimensions array with details of each custom dimension.

get_single_googleanalytics_custom_dimension_by_id

Get a single CustomDimension by id and property_id in Google Analytics. Returns the CustomDimension resource with its configuration details.

create_a_googleanalytics_custom_dimension

Create a CustomDimension for the property specified by property_id in Google Analytics. Returns the created CustomDimension resource.

update_a_googleanalytics_custom_dimension_by_id

Update a CustomDimension on a property in Google Analytics. Requires property_id and id. Returns the updated CustomDimension resource including its resource name and configuration fields.

googleanalytics_custom_dimensions_archive

Archive a CustomDimension identified by id on a property identified by property_id in Google Analytics. The response is an empty JSON object.

list_all_googleanalytics_custom_metrics

List CustomMetrics for a property in Google Analytics. Requires property_id. Returns an array of CustomMetric objects representing the custom metrics defined for the property.

get_single_googleanalytics_custom_metric_by_id

Get a single CustomMetric by property_id and id in Google Analytics. Returns the CustomMetric resource with its configuration details.

create_a_googleanalytics_custom_metric

Create a CustomMetric for the property specified by property_id in Google Analytics. Returns the created CustomMetric resource including name, parameterName, displayName, description, measurementUnit, scope, and restrictedMetricType fields.

update_a_googleanalytics_custom_metric_by_id

Update a CustomMetric on a property in Google Analytics. Requires customMetric name as properties/{property}/customMetrics/{customMetric} and updateMask specifying fields to update. Returns the updated CustomMetric resource.

googleanalytics_custom_metrics_archive

Archive a CustomMetric by property_id and id in Google Analytics. Returns an empty response body on success.

list_all_googleanalytics_data_streams

List DataStreams for a property using parent. Returns dataStreams array with DataStream objects and nextPageToken for pagination in Google Analytics.

get_single_googleanalytics_data_stream_by_id

Get a single DataStream by property_id and id in Google Analytics. Returns the DataStream resource with details such as name, type, and configuration.

create_a_googleanalytics_data_stream

Create a DataStream for the property specified by property_id. Returns the created DataStream resource including name, type, displayName, createTime, updateTime, and stream-specific data.

update_a_googleanalytics_data_stream_by_id

Update a DataStream on a property in Google Analytics. Requires property_id and id. Returns the updated DataStream resource including name, type, displayName, createTime, updateTime, and stream-specific data such as webStreamData, androidAppStreamData, or iosAppStreamData.

delete_a_googleanalytics_data_stream_by_id

Delete a DataStream by property_id and id in Google Analytics. Returns an empty response body on success.

list_all_googleanalytics_measurement_protocol_secrets

List MeasurementProtocolSecrets for the parent stream specified by property_id and data_stream in Google Analytics. Returns measurementProtocolSecrets array containing secret details.

get_single_googleanalytics_measurement_protocol_secret_by_id

Get a single MeasurementProtocolSecret by property_id, data_stream, and id in Google Analytics. Returns the MeasurementProtocolSecret resource with its details.

create_a_googleanalytics_measurement_protocol_secret

Create a measurement protocol secret for the specified property_id and data_stream in Google Analytics. Returns the created secret's name, displayName, and secretValue.

update_a_googleanalytics_measurement_protocol_secret_by_id

Update a measurement protocol secret identified by id under the specified property_id and data_stream in Google Analytics. Returns the updated secret resource.

delete_a_googleanalytics_measurement_protocol_secret_by_id

Delete a MeasurementProtocolSecret by property_id, data_stream, and id in Google Analytics. Returns an empty response on success.

list_all_googleanalytics_firebase_links

List FirebaseLinks for a property in Google Analytics. Requires property_id. Returns firebaseLinks array with at most one FirebaseLink object.

create_a_googleanalytics_firebase_link

Create a FirebaseLink for the property specified by parent in Google Analytics. Returns the created FirebaseLink including name, project resource name, and creation time.

delete_a_googleanalytics_firebase_link_by_id

Delete a FirebaseLink for a property in Google Analytics. Requires property_id and id. Returns an empty JSON object on success.

list_all_googleanalytics_google_ads_links

List GoogleAdsLinks for a property using parent. Returns googleAdsLinks array with details of each link.

create_a_googleanalytics_google_ads_link

Create a GoogleAdsLink for the property specified by property_id. Returns the created GoogleAdsLink resource.

update_a_googleanalytics_google_ads_link_by_id

Update a GoogleAdsLink on a property in Google Analytics using id and property_id. Returns the updated GoogleAdsLink including fields name, customerId, canManageClients, adsPersonalizationEnabled, createTime, updateTime, and creatorEmailAddress.

delete_a_googleanalytics_google_ads_link_by_id

Delete a GoogleAdsLink by property_id and id in Google Analytics. Returns an empty response on success.

list_all_googleanalytics_key_events

Get a list of Key Events for the specified property in Google Analytics. Returns keyEvents array with details of each event. Requires property_id.

get_single_googleanalytics_key_event_by_id

Get a single Key Event by property_id and id in Google Analytics. Returns the Key Event resource with details about the event.

create_a_googleanalytics_key_event

Create a Key Event in Google Analytics property specified by property_id. Returns the created Key Event resource including name, eventName, createTime, deletable, custom, countingMethod, and defaultValue fields.

update_a_googleanalytics_key_event_by_id

Update a Key Event by property_id and id in Google Analytics. Requires updateMask specifying fields to update. Returns the updated Key Event including name, eventName, createTime, deletable, custom, countingMethod, and defaultValue.

delete_a_googleanalytics_key_event_by_id

Delete a Key Event by property_id and id in Google Analytics. Returns an empty response on success.

googleanalytics_pivot_reports_batch_run

Run multiple pivot reports for the same Google Analytics property using property_id. Returns pivotReports array with each report's data including dimensions, metrics, and pivots.

googleanalytics_pivot_reports_run

Run a customized pivot report for a Google Analytics property using property_id. Returns pivot report data including dimensions, metrics, and pivots as specified in the request.

googleanalytics_reports_batch_run

Run multiple reports for the same Google Analytics property using batchRunReports in Google Analytics. Requires property_id. Returns reports array with each report containing requested dimensions, metrics, and date ranges.

googleanalytics_reports_run

Run a customized report of Google Analytics event data for property using specified dimensions, metrics, and dateRanges. Returns rows with dimension values and metric values.

googleanalytics_compatibility_check

Check compatibility of dimensions and metrics for a Google Analytics property using property_id. Returns dimensionCompatibilities and metricCompatibilities indicating if each dimension and metric can be added to a Core report.

list_all_googleanalytics_metadata

Get metadata about the dimensions and metrics available for reporting on a Google Analytics property. Returns: name (resource name), dimensions (array of available dimensions with apiName, uiName, description, type, and customDefinition), and metrics (array of available metrics with apiName, uiName, description, type, and expression). Required: id (the GA4 property ID, e.g. 1234567).

googleanalytics_realtime_report_run

Run a realtime report for the Google Analytics property specified by property_id. Returns dimensionHeaders describing dimension columns, metricHeaders describing metric columns, and rows of dimension value combinations and metric values.

list_all_googleanalytics_audience_exports

List all audience exports for a property in Google Analytics. Requires property_id. Returns audienceExports array with details of each audience export.

get_single_googleanalytics_audience_export_by_id

Get configuration metadata about a specific audience export in Google Analytics. Requires property_id and id. Returns fields describing the audience export configuration.

create_a_googleanalytics_audience_export

Create an audience export for the property specified by parent in Google Analytics. Returns the audience export's resource name and initiates an asynchronous request to form the export.

googleanalytics_audience_exports_query

Get users in an audience export for property and id in Google Analytics. Returns audienceRows with user dimension values, audienceExport configuration, and total rowCount.

googleanalytics_user_deletion_request_upsert

Insert or update a user deletion request in Google Analytics. Returns the user deletion request resource including id (type and userId), propertyId, webPropertyId, and deletionRequestTime indicating when the request was received.

get_single_googleanalytics_data_retention_setting_by_id

Get the data retention settings for a Google Analytics property. Returns: name, eventDataRetention, userDataRetention, resetUserDataOnNewActivity. Required: id.

update_a_googleanalytics_data_retention_setting_by_id

Update the data retention settings for a Google Analytics property using a partial PATCH. Returns: name, eventDataRetention, userDataRetention, resetUserDataOnNewActivity. Required: id. Use updateMask to restrict which fields are modified.

How it works

From Google Analytics account to governed MCP endpoint

Connect

Link a Google Analytics account through Elaichi's hosted connect flow. Credentials are vaulted — nobody, including the AI, ever sees them.

Compose

The connection becomes a toolbox instantly. Curate which Google Analytics tools are exposed, rename them, or freeze arguments.

Mint

Mint a personal MCP endpoint on that toolbox and paste it into Claude, Cursor, or any MCP client — governed by roles, restrictions, and audit logs.

Give every teammate a governed MCP server

Start a 14-day Gold trial — connect a product, curate a toolbox, and paste an endpoint into Claude or Cursor in minutes.