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:
OAuthClients 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 keysGenerate 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
| Tool | What it does |
|---|---|
list_websites | Lists the sites the key can access, call it first to get ids. |
get_analytics_overview | Headline metrics for a site and date range. |
query_events | Query event volumes with filters and breakdowns. |
get_funnel | Conversion between a sequence of events. |
list_cohorts | The cohorts defined on the site. |
list_users | Identified people and their traits. |
build_segment | Build an audience segment from behavior filters. |
create_dashboard | Create a board (requires write scope). |
search_knowledge_base, query_knowledge_base | Search and read knowledge base pages. |
create_kb_page, update_kb_page, delete_kb_page, attach_kb_page | Manage 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.
An MCP key grants whatever access you scoped it to. Treat write enabled keys like passwords, and prefer read only keys for anything experimental.