MCP setup

Connect your agent to visitor evidence.

Install the KrystalView MCP server, add an API key from your console, and let MCP-compatible clients query sessions, funnels, anomalies, campaign context, and friction signals.

KrystalView product crystal

Install

pip install krystalview-mcp
export KRYSTALVIEW_API_KEY="kv_live_..."
krystalview-mcp

Environment

VariableUse
KRYSTALVIEW_API_KEYRequired API key from the KrystalView console.
KRYSTALVIEW_BASE_URLOptional API base URL. Defaults to KrystalView production.

Available evidence

Sessions

Search visitor sessions by device, geography, friction, rage clicks, and page path.

Stats and anomalies

Query site stats, traffic changes, friction shifts, and anomaly explanations.

Funnels

List funnels and analyze step-by-step conversion rates and drop-off evidence.

Example prompts

How is my site performing this week?
Show me frustrated mobile visitors from the last 24 hours.
Where are users dropping off in the checkout funnel?
Find sessions with rage clicks on the pricing page.