Skip to content
MCP

Ask Claude or ChatGPT about your analytics

3 min read · Updated · By the Reveata team

Dashboards answer the questions someone designed them for. An assistant connected to your data answers the question you have right now, in your words: "why was Tuesday so quiet?", "which campaign brought the customers who stayed?". Reveata runs a Model Context Protocol (opens in a new tab) server so assistants such as Claude and ChatGPT can read your analytics directly, with the same numbers as your dashboard.

Connect

The server address is:

text
https://reveata.com/api/mcp

Add it to your assistant as a connector or MCP server. Clients that support OAuth open a Reveata page where you choose which websites and which permissions to share, then approve. No key to copy. Step-by-step guides: Claude, ChatGPT, Cursor, and the others listed on MCP server.

In Claude Code, one command does it:

bash
claude mcp add --transport http reveata https://reveata.com/api/mcp

What the assistant can do

The assistant works through tools, each a thin layer over the same queries the dashboard uses:

To answer It uses
Totals, trends and comparisons with the previous period get_overview, get_timeseries
Top pages, sources, campaigns, countries, devices or goals get_breakdown
Revenue, payments and conversion by channel get_revenue_by_channel
Who is on the site now get_realtime
Goals, funnels and their results get_goals_report, list_funnels, get_funnel_report
Individual visitors and their journeys search_visitors, get_visitor_journey
Recent payments and their sources list_payments

It can also change two things, if you granted the write permissions: a goal's display settings (update_goal) and new funnels (create_funnel). Filters work like the dashboard's, so you can ask for "only mobile visitors from Germany".

What it can't see

  • A connection never has more access than your own role. If you're a viewer on a website that hides revenue, the assistant doesn't see revenue either.
  • It only sees the websites and permissions you approved. Revoke a connection at any time from your account settings: it stops working immediately.
  • Money comes back in minor units with the currency, and the assistant converts it for you. If a figure looks a hundred times too big, ask it to check the units.

Questions that work well

Be specific about the period and what you want to compare:

  • "Compare last month with the month before: visitors, revenue and conversion rate. What changed most?"
  • "Which three campaigns brought the most revenue in the last 90 days, and what was their revenue per visitor?"
  • "Show the step-by-step results of my signup funnel for the last 30 days and tell me where most people drop."
  • "Find the visitors who paid this week and tell me where each one first came from."
  • "Which pages do visitors from AI assistants land on, and do they buy?"

Assistants can make mistakes in their reasoning even when the numbers they fetch are right. For a decision that matters, ask the assistant which tool and parameters it used, and check the same view in the dashboard.

Do it in Reveata

In the dashboard

  1. Copy the server address from MCP server into your assistant's connector settings.
  2. Approve the connection on the Reveata consent page, choosing the websites and permissions.
  3. Check or revoke your connections later under Account → Connected apps.

With the API

The MCP tools read the same data as the REST API. The same question as the first example, without an assistant:

bash
curl -G https://reveata.com/api/v1/websites/example.com/analytics/overview \
  -H "Authorization: Bearer $REVEATA_TOKEN" \
  --data-urlencode "period=last_month" \
  --data-urlencode "compare=previous_period"

With an AI assistant

Once connected, start with:

Use list_websites to find my website, then get_overview for last month compared with the previous period, and explain the biggest change in revenue.

Try it in your dashboardOpen your website in Reveata and follow the steps above with your own numbers.
Open dashboard →
Was this guide useful?

Next guides