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.

Install
pip install krystalview-mcp export KRYSTALVIEW_API_KEY="kv_live_..." krystalview-mcp
Environment
| Variable | Use |
|---|---|
| KRYSTALVIEW_API_KEY | Required API key from the KrystalView console. |
| KRYSTALVIEW_BASE_URL | Optional 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.