AI Assistants (MCP)
Connect Claude, ChatGPT or any MCP client to Alke Analytics and ask questions about your audience and revenue in plain language.
Alke Analytics exposes a remote Model Context Protocol (MCP) server. An AI assistant connected to it can list your organizations and properties, discover the available metrics and dimensions, and build and run reports — always within your own permissions.
The connection is read-only: an assistant can never change your settings or your data.
Server URL
https://api-analytics.alketech.eu/mcp
The server uses the Streamable HTTP transport and OAuth 2.1 sign-in: there is no API key to copy.
Connecting an assistant
Claude (claude.ai, Claude Desktop)
- Open Settings → Connectors → Add custom connector
- Enter the server URL above
- Click Connect: you are sent to the Alke Analytics sign-in page
Claude Code
claude mcp add --transport http alke-analytics https://api-analytics.alketech.eu/mcp
Then run /mcp in Claude Code and choose Authenticate.
ChatGPT, Cursor, VS Code and other MCP clients
Add a remote MCP server with the URL above. The client discovers the sign-in endpoints on its own (OAuth 2.1 with PKCE, Client ID Metadata Documents or dynamic registration).
The consent screen
After you sign in with your usual method (password, email link or Google), Alke Analytics shows:
- the name of the application and, for verified applications, the domain that publishes it
- where you will be sent back after approving
- the organizations you share with this assistant: tick one or several
The assistant only sees the organizations you ticked, and within them only the properties and revenue data your account can already see. If your access to an organization is removed later, the assistant loses it immediately.
What an assistant can do
| Tool | Purpose |
|---|---|
alke_list_organizations | Lists the organizations you shared and their properties |
alke_get_report_catalog | Lists the metrics and dimensions a report can use |
alke_get_dimension_values | Looks up the exact values of a dimension (sources, campaigns, sections…) to filter on |
alke_run_report | Builds and runs a report: up to 25 metrics, up to 10 dimensions, filters, sorting, and up to 10 series compared side by side (periods and segments), including a one-flag comparison with the previous period |
Revenue figures are returned in EUR. Reports cover at most 366 days. A report returns 50 rows per page unless the assistant asks for more; it can ask for as many as it needs.
Beyond totals and averages, a report can describe a distribution:
- Quantiles — median, p75, p90, p95, p99 of any numeric metric (time spent, active time, Web Vitals…) or numeric dimension (word count…), and of a ratio taken page by page (eCPM, RPM, fill rate, viewability, CTR), each page weighing as much as its denominator. The same report always returns the same quantile.
- Ranges — any numeric value of a pageview cut into ranges of the assistant’s choosing, e.g. time spent split at 5, 10, 20, 40 and 80 seconds, then crossed with any other dimension.
- Filters on values — pageviews kept or left out by their own value, e.g. read for less than 10 seconds, or without any ad impression.
A report can also follow reading journeys: keep only the pageviews that led, in the same visit, to a goal (a subscription, a sign-up…) or to its funnel, either the last article read before it or every page before it. Compared with the same report without the journey, it gives conversion rates per article, section, template or topic. Visits without analytics consent are not followed: each of their pages is a visit of its own.
Ad revenue, impressions and eCPM are also split by sale type: direct (CPM and CPC line items), programmatic (AdX, Open Bidding, preferred deals, programmatic guaranteed) and header bidding (prebid and Amazon, valued at the line item price bucket). Impressions by sale type exist from the date this split went live; the eCPM by sale type only counts the pageviews where it exists.
Example questions:
- “Which traffic sources grew the most last week compared with the week before?”
- “Show the daily RPM of Motor Trend over the last 30 days.”
- “What are the 10 most read articles in the sport section yesterday?”
- “Compare direct and referral traffic per site in March.”
- “What share of pageviews is left within 10 seconds, and how much revenue do they carry?”
- “What is the median and the p90 eCPM per section?”
- “What is the eCPM of direct, programmatic and header bidding per device?”
- “Which articles were read last before a subscription last month, and at what conversion rate?”
Disconnecting an assistant
Open your Profile in the dashboard: the Connected AI assistants section lists every assistant you connected, the organizations it can read and when it was last used. Click Disconnect to revoke its access immediately.
Security
- Sign-in uses OAuth 2.1 with PKCE; access tokens are short-lived (30 minutes), bound to the Alke Analytics MCP server, and renewed with rotating refresh tokens.
- Every request is checked against your current permissions.
- Values coming from tracked websites (page titles, URLs, campaign names) are returned as data; assistants are told never to treat them as instructions.
- Every report an assistant runs is recorded in the audit log, with the application that ran it.