Skip to content

MCP server ​

The Eureka Analytics MCP server lets Claude and other AI assistants read your Agent + Human analytics in a conversation. MCP (Model Context Protocol) is the open standard assistants use to connect to tools and data.

Once connected, you can ask Claude things like:

  • "How much of last week's revenue came from AI agents, and which agents?"
  • "Where do agents drop off in checkout compared with humans?"
  • "Which pages do ChatGPT and Perplexity read the most? Is anyone pretending to be Googlebot?"
  • "Show me three mixed sessions where a customer handed checkout to Claude in Chrome."

Claude picks the right tools, runs them on your data and answers with the figures.

What you need ​

  • A plan with the MCP feature: Growth, Pro or Scale.
  • An MCP key, created in Admin → API keys (or Admin → MCP → Create an MCP key). It is limited to reports:read, realtime:read, config:read and ask, and can be restricted to some properties. Keys start with ahk_live_; ahk_test_ keys only see the demo store AH-DEMO01.
  • For the local mode: Node.js 20 or later.

Two ways to connect ​

ModeAddressWhen
Hosted (Streamable HTTP)https://mcp.eureka-analytics.com/mcp, header Authorization: Bearer <key>Nothing to install. Claude Code, claude.ai, any remote-capable client.
Local (stdio)npx -y @eureka-analytics/mcp with AH_API_KEYClaude Desktop and clients that start local servers

The server is read-only: it never changes your settings or your data.

Configuration ​

VariableRequiredDefaultPurpose
AH_API_KEYyes (local mode)—Your MCP or API key
AH_API_URLnohttps://api.eureka-analytics.com/v1API base URL (self-hosted: https://<your api host>/v1)
AH_DEFAULT_PROPERTYnofirst property the key can accessProperty used when a question doesn't name one

Next ​

In the app ​

Admin → MCP gathers everything in one place: the hosted endpoint (https://mcp.eureka-analytics.com/mcp) with a copy button, a one-click Create an MCP key, ready-to-copy configurations for Claude Desktop, Claude Code (local and hosted), claude.ai and other clients (filled in with the key you just created), the list of the 14 tools, and the security rules.

Agents & humans, every visit counts!