Google Analytics (unofficial)
v1.0.0Connect Google Analytics to ChatGPT. Query GA4 data in plain English and get instant insights.
Endpoint health
online- Last checked
- 11/20/2026, 7:18:22 AM
- Latency
- 396 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:com.safe-mcp%2Fgoogle-analytics-unofficial
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"com.safe-mcp/google-analytics-unofficial": {
"url": "https://api.safe-mcp.com/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
5 shown · authentication unknown
List supported marketing reporting sources, metrics, and dimensions
marketing_get_catalog
Use this when the user wants to discover the canonical marketing reporting graph, available sources, supported metrics, supported dimensions, or which connectors are live today. Each source also reports a `passthrough` field describing whether native fields beyond the curated list are accepted (GA4 accepts any native dimension/metric; Search Console accepts any native dimension; Bing is limited to the curated fields). Do not use this for GA4 account discovery or data retrieval.
Schema valid · SHA-256 2925a651372e…
View input schema
{ "type": "object", "properties": { "source": { "type": "string", "minLength": 1 } }, "additionalProperties": false, "$schema": "http://json-schema.org/draft-07/schema#" }Get marketing funnel data
marketing_get_funnel
Use for ordered conversion-step analysis: GA4 ordered_steps step funnels (e.g. session_start → add_to_cart → purchase) and cross-source holistic_bundle landing-page funnels joining GA4, Google Search Console, and Bing Webmaster. Covers funnel drop-off between steps (e.g. from landing on the site to adding to cart to purchasing), conversion paths, and acquisition-to-conversion context. Pass one date range for a single window or two date ranges for period-over-period comparison.
Schema valid · SHA-256 f35ac09bb99d…
View input schema
{ "type": "object", "properties": { "type": { "type": "string", "enum": [ "holistic_bundle", "ordered_steps" ] }, "surfaceId": { "type": "string", "minLength": 1, "default": "default" }, "dateRanges": { "type": "array", "items": { "type": "object", "properties": { "startDate": { "type": "string", "minLength": 1 }, "endDate": { "type": "string", "minLength": 1 } }, "required": [ "startDate", "endDate" ], "additionalProperties": false }, "minItems": 1, "description": "One or more GA4 date ranges. Use two date ranges for period-over-period comparisons or significance checks." }, "limit": { "type": "integer", "minimum": 1, "maximum": 250, "default": 50 }, "ga4PropertyId": { "anyOf": [ { "type": "string", "minLength": 1 }, { "type": "integer", "exclusiveMinimum": 0 } ], "description": "Google Analytics property identifier. Accepts a numeric GA4 property ID like 481373915 or a resource name like properties/481373915." }, "searchConsoleSiteUrl": { "type": "string", "minLength": 1 }, "bingSiteUrl": { "type": "string", "minLength": 1 }, "propertyId": { "anyOf": [ { "type": "string", "pattern": "^\\d+$" }, { "type": "integer", "exclusiveMinimum": 0 } ], "description": "Numeric GA4 property ID for the funnel report." }, "property": { "$ref": "#/properties/ga4PropertyId", "description": "Google Analytics property identifier. Accepts a numeric GA4 property ID like 481373915 or a resource name like properties/481373915." }, "appStreamId": { "type": "string", "minLength": 1, "description": "Optional data stream ID when the funnel should run against a specific app or website stream." }, "app": { "type": "object", "properties": { "streamId": { "type": "string", "minLength": 1, "description": "GA4 data stream ID for an app or web stream." }, "name": { "type": "string", "minLength": 1, "description": "Stream display name when the user refers to the app or stream by name." }, "firebaseAppId": { "type": "string", "minLength": 1, "description": "Firebase app ID for GA4 app analytics." }, "measurementId": { "type": "string", "minLength": 1, "description": "GA4 web stream measurement ID such as G-XXXXXXX." } }, "additionalProperties": false, "description": "Optional app or web stream selector. Use this when the user identifies the GA4 source by stream ID, measurement ID, Firebase app ID, or stream name." }, "funnel": { "type": "object", "properties": { "isOpenFunnel": { "type": "boolean" }, "steps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "minLength": 1 }, "isDirectlyFollowedBy": { "type": "boolean" }, "withinDurationFromPriorStep": { "anyOf": [ { "type": "string", "minLength": 1 }, { "type": "number" } ] }, "filterExpression": { "type": "object", "properties": { "funnelFieldFilter": { "type": "object", "properties": { "fieldName": { "type": "string", "pattern": "^[-a-zA-Z0-9_:]+$" }, "stringFilter": { "type": "object", "properties": { "matchType": { "type": "string", "enum": [ "EXACT", "CONTAINS", "BEGINS_WITH", "ENDS_WITH", "REGEXP", "FULL_REGEXP", "PARTIAL_REGEXP" ] }, "value": { "type": "string" }, "caseSensitive": { "type": "boolean" } }, "required": [ "matchType", "value" ], "additionalProperties": false }, "inListFilter": { "type": "object", "properties": { "values": { "type": "array", "items": { "type": "string" }, "minItems": 1 }, "caseSensitive": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/stringFilter/properties/caseSensitive" } }, "required": [ "values" ], "additionalProperties": false }, "numericFilter": { "type": "object", "properties": { "operation": { "type": "string", "enum": [ "EQUAL", "LESS_THAN", "GREATER_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN_OR_EQUAL" ] }, "value": { "anyOf": [ { "type": "number" }, { "type": "string", "minLength": 1 } ] } }, "required": [ "operation", "value" ], "additionalProperties": false }, "betweenFilter": { "type": "object", "properties": { "fromValue": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/numericFilter/properties/value" }, "toValue": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/numericFilter/properties/value" } }, "required": [ "fromValue", "toValue" ], "additionalProperties": false } }, "required": [ "fieldName" ], "additionalProperties": false }, "funnelEventFilter": { "type": "object", "properties": { "eventName": { "type": "string", "minLength": 1 }, "funnelParameterFilterExpression": { "type": "object", "properties": { "funnelParameterFilter": { "type": "object", "properties": { "eventParameterName": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/fieldName" }, "itemParameterName": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/fieldName" }, "stringFilter": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/stringFilter" }, "inListFilter": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/inListFilter" }, "numericFilter": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/numericFilter" }, "betweenFilter": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/betweenFilter" } }, "additionalProperties": false }, "andGroup": { "type": "object", "properties": { "expressions": { "type": "array", "items": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelEventFilter/properties/funnelParameterFilterExpression" }, "minItems": 1 } }, "required": [ "expressions" ], "additionalProperties": false }, "orGroup": { "type": "object", "properties": { "expressions": { "type": "array", "items": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelEventFilter/properties/funnelParameterFilterExpression" }, "minItems": 1 } }, "required": [ "expressions" ], "additionalProperties": false }, "notExpression": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelEventFilter/properties/funnelParameterFilterExpression" } }, "additionalProperties": false } }, "required": [ "eventName" ], "additionalProperties": false }, "andGroup": { "type": "object", "properties": { "expressions": { "type": "array", "items": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression" }, "minItems": 1 } }, "required": [ "expressions" ], "additionalProperties": false }, "orGroup": { "type": "object", "properties": { "expressions": { "type": "array", "items": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression" }, "minItems": 1 } }, "required": [ "expressions" ], "additionalProperties": false }, "notExpression": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression" } }, "additionalProperties": false }, "eventName": { "type": "string", "minLength": 1 }, "parameterFilterExpression": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelEventFilter/properties/funnelParameterFilterExpression" } }, "additionalProperties": false }, "minItems": 1 } }, "required": [ "steps" ], "additionalProperties": false, "description": "Multi-step funnel definition. Use this only for ordered step analysis, not for general website analytics reporting." }, "funnelBreakdown": { "type": "object", "properties": { "breakdownDimension": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/fieldName" }, "limit": { "anyOf": [ { "type": "integer", "exclusiveMinimum": 0 }, { "type": "string", "minLength": 1 } ] } }, "required": [ "breakdownDimension" ], "additionalProperties": false }, "funnelNextAction": { "type": "object", "properties": { "nextActionDimension": { "$ref": "#/properties/funnel/properties/steps/items/properties/filterExpression/properties/funnelFieldFilter/properties/fieldName" }, "limit": { "anyOf": [ { "type": "integer", "exclusiveMinimum": 0 }, { "type": "string", "minLength": 1 } ] } }, "required": [ "nextActionDimension" ], "additionalProperties": false }, "funnelVisualizationType": { "type": "string", "enum": [ "FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED", "STANDARD_FUNNEL", "TRENDED_FUNNEL" ] }, "returnPropertyQuota": { "type": "boolean" } }, "required": [ "type", "dateRanges" ], "additionalProperties": false, "$schema": "http://json-schema.org/draft-07/schema#" }
Connections
streamable-http
https://api.safe-mcp.com/mcp