AI and MCP/MCP server

MCP server

Connect Claude, Cursor, or any MCP compatible client to your Analyse data. Query events, build segments, and manage knowledge base pages from your own AI tools.

What it is

Analyse runs a Model Context Protocol server. Point an MCP client at it and your AI tool of choice can query your analytics directly, with the same tool set the built in assistant uses. MCP server access is available on the Pro plan and above.

Connecting a client

Open Settings → Account in the dashboard and find the MCP section. Two ways in:

  • OAuth Clients that support remote MCP servers with OAuth (like Claude) can connect to the server URL directly and log in through the browser. The dashboard shows the exact URL and a ready made config block to copy.
  • API keys Generate a key in the same panel for clients that authenticate with a bearer token.

Keys are scoped: you pick which sites a key can see, and whether it is read only or allowed to write (create boards, edit knowledge base pages). Keys can be revoked at any time, and the panel shows when each was last used.

Available tools

ToolWhat it does
list_websitesLists the sites the key can access, call it first to get ids.
get_analytics_overviewHeadline metrics for a site and date range.
get_live_visitorsReal-time active visitor count.
query_eventsTop tracked events site-wide with volumes and trends.
get_event_detailProperty schema and recent samples for one event.
get_funnelConversion between a sequence of events.
get_retention_overviewRetention KPIs, weekly curve, and channel breakdown.
list_cohortsWeekly cohort retention matrix.
list_usersUsers with optional filters (country, event, property).
get_user_activityOne person's recent event timeline and activity stats.
get_pagesTop, entry, and exit pages plus page KPIs.
get_traffic_sourcesTop referrer domains by visitors.
get_geographyCountries, cities, devices, browsers, and OS breakdown.
get_seo_overviewSearch Console clicks, positions, and keywords.
get_sites_overviewCompare metrics across all sites in the workspace.
preview_segmentEstimate audience size for segment criteria (no save).
list_segmentsSaved audience segments.
list_dashboardsSaved dashboards (boards).
build_segmentBuild an audience segment from behavior filters.
create_dashboardCreate a board (requires write scope).
search_knowledge_base, query_knowledge_baseSearch and read knowledge base pages.
create_kb_page, update_kb_page, delete_kb_page, attach_kb_pageManage knowledge base pages (write scope).

What this is good for

Ad hoc analysis without leaving your editor, weekly report drafts written by your own agent, or wiring Analyse numbers into automations. Since the knowledge base tools are included, an agent can also keep your internal docs in sync as it works.

Heads up

An MCP key grants whatever access you scoped it to. Treat write enabled keys like passwords, and prefer read only keys for anything experimental.