Time
Current time lookup and conversion between IANA timezones
MOmodelcontextprotocol/servers92k166 new stars in the last 7 days
Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools
Google Analytics 4 MCP server for Model Context Protocol hosts. Discover account/property structure, explore the live schema, run reports (with row-volume safety), create large asynchronous exports, and inspect admin configuration through a standardised MCP interface. It can also set up and change property configuration: key events, custom dimensions and metrics, audiences, channel groups, data streams, enhanced measurement, event create and edit rules, calculated metrics, annotations, attribution, Measurement Protocol secrets, product links, and data retention.
GOOGLE_APPLICATION_CREDENTIALS)STATUS.jsonanalytics.readonly scope, or a service account JSON with access to the GA4 propertyanalytics.edit scope and the Editor role on the propertyAfter clicking the button, your host will prompt you to fill: GOOGLE_APPLICATION_CREDENTIALS.
{
"mcpServers": {
"Google Analytics 4": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": ""
}
}
}
}
cd <path-to-repo>/connectors/google-analytics
npm install
npm run build
npx -y @mindstone/mcp-server-google-analytics
node dist/index.js
This server uses Google Application Default Credentials (ADC). Mint ADC for a user account by installing the Google Cloud CLI and running:
gcloud auth application-default login \
--scopes=https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/analytics.edit \
--client-id-file=/absolute/path/to/oauth-client-secret.json
The --client-id-file is optional but strongly recommended — using your own OAuth client avoids the shared gcloud quota and gives you a stable verification footprint. You'll need a Google Cloud project with the Google Analytics Admin API and Google Analytics Data API enabled.
For service accounts, set GOOGLE_APPLICATION_CREDENTIALS to the absolute path of the service-account JSON. The service account must be granted access to the GA4 property in the GA4 Admin UI.
Write tools change live GA4 configuration. The host's permission bands decide when to ask. Mint ADC with both the readonly and edit scopes so reads and writes work:
gcloud auth application-default login \
--scopes=https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/analytics.edit \
--client-id-file=/absolute/path/to/oauth-client-secret.json
The account (or service account) also needs the Editor role on the GA4 property. Service-account credentials request the readonly and edit scopes together; user ADC keeps whatever scopes it was minted with.
GOOGLE_APPLICATION_CREDENTIALS — required. Absolute path to ADC or service-account JSON. Node does not expand ~ or %APPDATA% — provide a fully-resolved path.GA4_PROPERTY_ID — optional. Default GA4 property ID (e.g. 123456789). Tools fall back to this when property_id is not passed in the call.{
"mcpServers": {
"GoogleAnalytics": {
"command": "npx",
"args": ["-y", "@mindstone/mcp-server-google-analytics"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/Users/you/.config/gcloud/application_default_credentials.json",
"GA4_PROPERTY_ID": "123456789"
}
}
}
}
{
"mcpServers": {
"GoogleAnalytics": {
"command": "node",
"args": ["<path-to-repo>/connectors/google-analytics/dist/index.js"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/absolute/path/to/credentials.json",
"GA4_PROPERTY_ID": "123456789"
}
}
}
}
ga_list_account_summaries — discover available accounts and propertiesga_list_properties — flat list of GA4 properties with optional filteringga_get_property_details — currency, time zone, industry category, service levelga_get_metadata — live property schemaga_get_property_schema — same data with summary countsga_search_schema — keyword search across dimensions and metricsga_list_dimension_categories, ga_list_metric_categoriesga_get_dimensions_by_category, ga_get_metrics_by_categoryga_check_compatibility — verify dimension/metric combinations before reportingga_run_report — core report with row-volume safety (estimate, opt-in to large datasets, automatic aggregation suggestions)ga_run_pivot_report — cross-tabulated reportsga_batch_run_reports — up to 5 reports in one callga_run_realtime_report — last 30 minutes of activityga_get_property_quotas_snapshot — remaining tokens / requestsga_run_funnel_report — step-by-step completion and drop-off, with optional breakdown, next action, and trended view (v1alpha)ga_create_report_task — start an asynchronous report task for large exports (no synchronous timeout, no row-volume gate)ga_get_report_task — poll task state until ACTIVEga_query_report_task — page task rows (up to 250,000 per page)ga_create_audience_export — snapshot the users in an audience (incl. predictive segments); charges audience-export quota tokensga_get_audience_export — poll export state until ACTIVEga_list_audience_exports — find and reuse existing exportsga_query_audience_export — page user-level rows from an ACTIVE exportga_list_audiences — audiences configured on the property, with filter clausesga_list_channel_groups — channel groups and their grouping rulesga_get_custom_dimensions_and_metricsga_list_google_ads_linksga_list_key_eventsga_list_data_streamsga_get_global_site_tag — gtag.js snippet for the first web streamga_list_bigquery_linksga_get_data_retention_settingsga_list_firebase_linksga_search_change_history_eventsga_get_enhanced_measurement_settings — automatic events on a web streamga_list_event_create_rules — rules that derive new events on a streamga_list_measurement_protocol_secrets — secret values are returned; treat as sensitivega_list_annotations — chart annotations (v1alpha)ga_get_attribution_settings — attribution model and lookback windows (v1alpha)ga_list_calculated_metrics — formula metrics (v1alpha)ga_list_event_edit_rules — rules that rename or modify events on a stream (v1alpha)ga_get_google_signals_settings (v1alpha)ga_get_data_sharing_settings — account-levelEvery write is annotated readOnlyHint: false, destructiveHint: true. Update tools change only the fields you pass (the update mask is built from them) and fail with NOTHING_TO_UPDATE if you pass none.
ga_create_key_event, ga_update_key_event, ga_delete_key_eventga_create_custom_dimension, ga_update_custom_dimension, ga_archive_custom_dimensionga_create_custom_metric, ga_update_custom_metric, ga_archive_custom_metricga_create_audience, ga_update_audience, ga_archive_audiencega_create_channel_group, ga_update_channel_group, ga_delete_channel_groupga_create_event_create_rule, ga_update_event_create_rule, ga_delete_event_create_rulega_create_property, ga_update_property, ga_delete_property (moves to trash for 35 days), ga_acknowledge_user_data_collectionga_create_web_data_stream, ga_update_data_stream, ga_delete_data_streamga_update_enhanced_measurement_settingsga_create_measurement_protocol_secret, ga_delete_measurement_protocol_secretga_create_google_ads_link, ga_update_google_ads_link, ga_delete_google_ads_linkga_create_firebase_link, ga_delete_firebase_linkga_create_bigquery_link, ga_update_bigquery_link, ga_delete_bigquery_linkga_update_data_retention_settingsga_create_annotation, ga_update_annotation, ga_delete_annotationga_update_attribution_settingsga_create_calculated_metric, ga_update_calculated_metric, ga_delete_calculated_metricga_create_event_edit_rule, ga_update_event_edit_rule, ga_delete_event_edit_ruleExplorations, saved reports, and report layouts have no Google API, so they cannot be created or changed by this connector.
ga_create_report_task and ga_create_audience_export materialise server-side snapshots and charge quota without modifying property configuration. All of these are annotated readOnlyHint: false, destructiveHint: true, so the host decides when to ask.v1alpha surfaces today; the corresponding tools note this in their descriptions.<untrusted-content source="…"> envelopes so hosts treat it as data, not instructions. Metric values and resource identifiers stay raw so agents can compose follow-up calls. Resource IDs passed to tools are constrained to the ID charset before URL interpolation (INVALID_RESOURCE_ID on anything else).INVALID_API_RESPONSE error rather than propagating malformed data. Paginated lists follow nextPageToken in full and fail with PAGINATION_LIMIT_EXCEEDED if the API does not stop paging after a generous safety cap — never a silent truncation.FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on the second anniversary of release.
Current time lookup and conversion between IANA timezones
MOmodelcontextprotocol/servers92k166 new stars in the last 7 days
Reference server that exercises every MCP feature: tools, resources, prompts, sampling and more
MOmodelcontextprotocol/servers92k166 new stars in the last 7 days
Free open-source resume builder with remote MCP tools for resumes and job applications.
REreactive-resume/reactive-resume46k169 new stars in the last 7 days
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
HEHeyPuter/puter44k50 new stars in the last 7 days
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
SPspree/spree16k13 new stars in the last 7 days