Product

Google Analytics

Google Analytics admin and data APIs for GA4 properties, configuration and reports.

Install

ganalytics is one plugin in the google-services-mcps marketplace, and it runs one MCP server with the same name. Install it for Claude Code with the command below. For Codex, OpenCode or Antigravity, change --agent; the product id stays the same.

Install for Claude Code

npx google-services-mcps install --agent claude --plugin ganalytics

What it manages

The server carries 2 generated API bindings and 1 gateway APIs. Gateway APIs are reached through api_search, api_describe and api_call, which every product with gateway APIs lists.

Generated API bindings
APIVersion
analyticsadminv1beta
analyticsdatav1beta
Gateway APIs
APIVersion
analyticsadminv1alpha

Tools

The plugin's server registers 83 tools: 44 reads, 28 writes, 10 destructive actions and 1 dynamic tools. A read never asks. A write is listed only when Allow write tools is on, and asks before it runs. A destructive action asks twice. A dynamic tool decides per call.

Every tool name starts with mcp__plugin_ganalytics_ganalytics__, so a call traces back to this product. The table lists the tools this server registers, with the safety class from the plugin's tool map.

Registered tools
ToolClassWhat it does
account_removewriteRemove a signed-in account
account_set_defaultwriteSet the default account
accounts_listreadSigned-in accounts
api_calldynamicCall an API method
api_describereadDescribe an API method
api_methodsreadganalytics: API methods
api_searchreadSearch API methods
auth_loginwriteSign in to Google
auth_setup_clientwriteSave the Google OAuth client
auth_statusreadSign-in status
ga_annotation_createwriteCreate a Google Analytics annotation
ga_annotations_listreadList Google Analytics annotations
ga_get_metadatareadList a property's dimensions and metrics
ga_run_funnel_reportreadRun a Google Analytics funnel report
ga_run_realtime_reportreadRun a Google Analytics realtime report
ga_run_reportreadRun a Google Analytics report
gaa_get_data_sharing_settingsreadanalyticsadmin.accounts.getDataSharingSettings
gaad_properties_access_reportreadanalyticsadmin.properties.runAccessReport
gaad_props_retention_settingsreadanalyticsadmin.properties.getDataRetentionSettings
gaadm_accounts_history_eventsreadanalyticsadmin.accounts.searchChangeHistoryEvents
gaadm_props_key_events_createwriteanalyticsadmin.properties.keyEvents.create
gaadm_props_key_events_deletedestructiveanalyticsadmin.properties.keyEvents.delete
gaadmi_props_key_events_patchwriteanalyticsadmin.properties.keyEvents.patch
gaadmi_streams_secrets_createwriteanalyticsadmin.properties.dataStreams.measurementProtocolSecrets.create
gaadmi_streams_secrets_deletedestructiveanalyticsadmin.properties.dataStreams.measurementProtocolSecrets.delete
gaadmin_accounts_deletedestructiveanalyticsadmin.accounts.delete
gaadmin_accounts_getreadanalyticsadmin.accounts.get
gaadmin_accounts_listreadanalyticsadmin.accounts.list
gaadmin_accounts_patchwriteanalyticsadmin.accounts.patch
gaadmin_acct_summaries_listreadanalyticsadmin.accountSummaries.list
gaadmin_pro_goo_ads_link_creawriteanalyticsadmin.properties.googleAdsLinks.create
gaadmin_pro_goo_ads_link_deledestructiveanalyticsadmin.properties.googleAdsLinks.delete
gaadmin_pro_goo_ads_link_listreadanalyticsadmin.properties.googleAdsLinks.list
gaadmin_pro_upd_dat_rete_settwriteanalyticsadmin.properties.updateDataRetentionSettings
gaadmin_properties_createwriteanalyticsadmin.properties.create
gaadmin_properties_data_collwriteanalyticsadmin.properties.acknowledgeUserDataCollection
gaadmin_properties_deletedestructiveanalyticsadmin.properties.delete
gaadmin_properties_getreadanalyticsadmin.properties.get
gaadmin_properties_listreadanalyticsadmin.properties.list
gaadmin_properties_patchwriteanalyticsadmin.properties.patch
gaadmin_props_conv_events_getreadanalyticsadmin.properties.conversionEvents.get
gaadmin_props_custom_dims_getreadanalyticsadmin.properties.customDimensions.get
gaadmin_props_dims_archivedestructiveanalyticsadmin.properties.customDimensions.archive
gaadmin_props_dims_createwriteanalyticsadmin.properties.customDimensions.create
gaadmin_props_dims_listreadanalyticsadmin.properties.customDimensions.list
gaadmin_props_dims_patchwriteanalyticsadmin.properties.customDimensions.patch
gaadmin_props_events_createwriteanalyticsadmin.properties.conversionEvents.create
gaadmin_props_events_deletedestructiveanalyticsadmin.properties.conversionEvents.delete
gaadmin_props_events_listreadanalyticsadmin.properties.conversionEvents.list
gaadmin_props_events_patchwriteanalyticsadmin.properties.conversionEvents.patch
gaadmin_props_key_events_getreadanalyticsadmin.properties.keyEvents.get
gaadmin_props_key_events_listreadanalyticsadmin.properties.keyEvents.list
gaadmin_props_links_createwriteanalyticsadmin.properties.firebaseLinks.create
gaadmin_props_links_deletedestructiveanalyticsadmin.properties.firebaseLinks.delete
gaadmin_props_links_listreadanalyticsadmin.properties.firebaseLinks.list
gaadmin_props_links_patchwriteanalyticsadmin.properties.googleAdsLinks.patch
gaadmin_props_metrics_archivedestructiveanalyticsadmin.properties.customMetrics.archive
gaadmin_props_metrics_createwriteanalyticsadmin.properties.customMetrics.create
gaadmin_props_metrics_getreadanalyticsadmin.properties.customMetrics.get
gaadmin_props_metrics_listreadanalyticsadmin.properties.customMetrics.list
gaadmin_props_metrics_patchwriteanalyticsadmin.properties.customMetrics.patch
gaadmin_props_streams_createwriteanalyticsadmin.properties.dataStreams.create
gaadmin_props_streams_deletedestructiveanalyticsadmin.properties.dataStreams.delete
gaadmin_props_streams_getreadanalyticsadmin.properties.dataStreams.get
gaadmin_props_streams_listreadanalyticsadmin.properties.dataStreams.list
gaadmin_props_streams_patchwriteanalyticsadmin.properties.dataStreams.patch
gaadmin_provision_acct_ticketwriteanalyticsadmin.accounts.provisionAccountTicket
gaadmin_run_access_reportreadanalyticsadmin.accounts.runAccessReport
gaadmin_streams_secrets_getwriteanalyticsadmin.properties.dataStreams.measurementProtocolSecrets.get
gaadmin_streams_secrets_listreadanalyticsadmin.properties.dataStreams.measurementProtocolSecrets.list
gaadmin_streams_secrets_patchwriteanalyticsadmin.properties.dataStreams.measurementProtocolSecrets.patch
gadat_batch_run_pivot_reportsreadanalyticsdata.properties.batchRunPivotReports
gadata_batch_run_reportsreadanalyticsdata.properties.batchRunReports
gadata_check_compatibilityreadanalyticsdata.properties.checkCompatibility
gadata_properties_run_reportreadanalyticsdata.properties.runReport
gadata_props_aud_exports_getreadanalyticsdata.properties.audienceExports.get
gadata_props_aud_exports_listreadanalyticsdata.properties.audienceExports.list
gadata_props_exports_createwriteanalyticsdata.properties.audienceExports.create
gadata_props_exports_queryreadanalyticsdata.properties.audienceExports.query
gadata_props_get_metareadanalyticsdata.properties.getMetadata
gadata_props_run_pivot_reportreadanalyticsdata.properties.runPivotReport
gadata_run_realtime_reportreadanalyticsdata.properties.runRealtimeReport
healthreadServer health

The plugin option toolset can list fewer tools. google lists 9 tools that do the same jobs as Google's official MCP server for this product; curated lists the hand-written and gateway tools; all is the default.

Sign-in

ganalytics belongs to the business login group. Log in once for the group: create a Desktop OAuth client in a Google Cloud project, save its file with npx google-services-mcps setup-client, then run npx google-services-mcps login business.

The plugin's scope file lists 3 OAuth scopes for 1 APIs. A login asks only for the scopes of its profile: readonly (the default), readwrite, full, or an exact list.

OAuth scopes in the plugin's scope file
APIScope
ganalyticshttps://www.googleapis.com/auth/analytics
ganalyticshttps://www.googleapis.com/auth/analytics.edit
ganalyticshttps://www.googleapis.com/auth/analytics.readonly

Plugin details

Plugin
ganalytics
MCP server
ganalytics
Display name
Google Analytics
Version
2.17.0
Marketplace
google-services-mcps
Login group
business
Marketplace category
marketing
Plugin options
allow_writes, confirmation, token_dir, toolset
Server kind
curated+discovery