Adobe Analytics
Connect Claude, ChatGPT or Cursor to Adobe Analytics via MCP. Run ranked reports, explore report suites, dimensions, metrics, and segments with your own Adobe credentials.
Example questions
Try asking your AI client
-
Which pages drove the most visits in Adobe Analytics last week?
-
Did the campaign landing page traffic drop after Monday's release?
-
Compare mobile and desktop orders for the last 30 days.
-
Draft a segment for returning visitors in Denmark - do not save it yet.
-
Which report suites and calculated metrics can I use?
Overview
Connect Adobe Analytics so AI clients can run reports and explore report suites, dimensions, metrics, segments, calculated metrics, date ranges, and annotations through the Analytics 2.0 API.
You bring your own OAuth Server-to-Server credential from the Adobe Developer Console. stackgate.ai uses it to request short-lived Adobe IMS tokens on your behalf, so data access follows the product profile you assign in Adobe.
New connections start read-only. Creating or updating segments, calculated metrics, and annotations is available as opt-in write tools.
Prerequisites
- An Adobe Experience Cloud organisation with Adobe Analytics
- System administrator or developer access in the Adobe Developer Console
- An Adobe Analytics product profile with the report suites, dimensions, and metrics AI should see
- A stackgate.ai account
Getting credentials
- Sign in to the Adobe Developer Console and select your organisation.
- Click Create new project, then Add API.
- Choose Adobe Analytics and select OAuth Server-to-Server as the authentication type.
- Select the product profile that grants access to the report suites you want to use, then save.
- Open the credential and copy the Client ID and Client secret.
- In stackgate.ai, open My Integrations → Adobe Analytics.
- Paste the client ID and client secret and save. stackgate.ai requests a token from Adobe IMS and looks up your Analytics company (global company ID).
- If your credential can access several companies, or none is listed, enter the Global company ID yourself. You find it in Adobe Analytics under Admin → Company settings → API access.
- Optionally use Edit tool access to enable write tools.
See Adobe's OAuth Server-to-Server guide.
Default company and report suite
Every tool accepts an optional global_company_id, and report suite tools accept rsid. When you leave them out, stackgate.ai uses the saved defaults. Ask your AI client to call set_defaults with a report_suite_id to save the report suite you use most. Changing the company clears the saved report suite.
Tools
Read tools:
list_companies- companies the credential can accesslist_report_suites- report suites with name and ID filterslist_dimensionsandlist_metrics- components available in a report suitelist_segments,get_segment,validate_segment- segments and their definitionslist_calculated_metrics,get_calculated_metric- calculated metricslist_date_ranges,list_annotations- saved date ranges and annotationsrun_ranked_report- top items for one dimension over a date range, with up to 10 metrics and optional segmentsrun_report- pass a full Analytics 2.0 report request for breakdowns and advanced settings
Write tools (off by default):
set_defaults- save the default company and report suitecreate_segment,update_segmentcreate_calculated_metric,update_calculated_metriccreate_annotation
Using with AI clients
- Dedicated endpoint:
POST /mcp/adobe-analyticswith a Sanctum bearer token - Private gateway: one config for all integrations - use
adobe-analytics__*namespaced tools
Example prompts:
- "Which pages drove the most visits last week?"
- "Compare orders by marketing channel for the last 30 days."
- "List segments tagged campaign in the production report suite."
- "Draft a segment for returning visitors in Denmark and validate it before saving."
Troubleshooting
- 422 integration not configured - complete the credential form in My Integrations.
- Adobe rejected the client credentials - copy the client ID and client secret again from the Server-to-Server credential, or rotate the secret in the Adobe Developer Console.
- 403 Forbidden - the credential is missing the Adobe Analytics API or a product profile with access to that report suite or component.
- 429 Too many requests - Adobe allows about 12 requests per 6 seconds per user. Retry after a short delay or ask for fewer, larger reports.
- Report suite ID is missing - pass
rsid, or save a default withset_defaults. - Empty report - check the date range and that the dimension and metrics exist in that report suite with
list_dimensionsandlist_metrics.
Security and revocation
Disconnect in My Integrations to delete the stored client ID, secret, and token from stackgate.ai. To revoke access in Adobe, delete the credential or remove its product profile in the Adobe Developer Console. Credentials are encrypted at rest. Tool calls are audit logged as metadata (tool name and status), not raw report data.
Available tools
-
list_companies
List the Adobe IMS organizations and Analytics companies (global company IDs) this credential can access.
-
list_report_suites
List report suites in the Analytics company, with optional ID filters and pagination.
-
list_dimensions
List dimensions (variables) available in a report suite, e.g. variables/page or variables/evar1.
-
list_metrics
List standard and custom metrics available in a report suite, e.g. metrics/visits or metrics/event1.
-
list_segments
List segments, filtered by report suite, name keywords, tags, or ownership.
-
get_segment
Get a single segment by ID, optionally including its definition.
-
validate_segment
Check that a segment definition is valid for a report suite before creating or updating it.
-
list_calculated_metrics
List calculated metrics, filtered by report suite, name keywords, tags, or ownership.
-
get_calculated_metric
Get a single calculated metric by ID, optionally including its definition.
-
list_date_ranges
List saved date range components (e.g. "Last 30 days") and their definitions.
-
list_annotations
List annotations (notes on dates such as campaigns, releases, or tracking outages).
-
run_ranked_report
Run a ranked report: top items of one dimension for one or more metrics over an inclusive date range, optionally filtered by segments.
-
run_report
Run an advanced Analytics 2.0 report from a full request body (rsid, globalFilters, metricContainer, dimension, settings). Use run_ranked_report for simple reports.
-
set_defaults
Save the default Analytics company and/or report suite used when global_company_id or rsid is omitted. Changing company clears the saved report suite.
-
create_segment
Create a segment in a report suite. Validate the definition with validate_segment first.
-
update_segment
Update the name, description, or definition of an existing segment.
-
create_calculated_metric
Create a calculated metric in a report suite.
-
update_calculated_metric
Update the name, description, definition, or display settings of an existing calculated metric.
-
create_annotation
Create an annotation on a date range (e.g. campaign launch or tracking outage) for a report suite or all reports.
MCP endpoint:
https://stackgate.ai/mcp/adobe-analytics
(HTTP) or via the
private gateway.