AI agent access to website analytics, session replay, and anomaly detection.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Give your AI agents direct access to website analytics. Query visitor sessions, investigate UX friction, analyze conversion funnels, review campaigns and errors, and get anomaly alerts β all from Claude, Cursor, or any MCP-compatible client.
Use this when your client supports remote MCP servers or connector-style OAuth. No local package install is required.
| Field | Value |
|---|---|
| Endpoint | https://krystalview.com/mcp |
| Transport | streamable-http |
| Authentication | OAuth authorization code + PKCE |
| OAuth metadata | https://krystalview.com/.well-known/oauth-authorization-server |
| Protected resource metadata | https://krystalview.com/.well-known/oauth-protected-resource |
During OAuth, KrystalView asks the signed-in user to choose the site the MCP client can read. The issued token is read-only and scoped to that site. The hosted OAuth server supports dynamic client registration, authorization code + PKCE, resource indicators, refresh-token rotation, and token revocation.
For clients that support custom headers instead of OAuth, the hosted endpoint also accepts a KrystalView read API key as either:
or:
Use this when your MCP client runs local stdio servers, such as Claude Desktop, Claude Code, Cursor, or similar developer tools.
Generate an API key in your KrystalView console under Settings > API Keys.
Add to your claude_desktop_config.json:
Add to your MCP settings:
| Tool | Description |
|---|---|
get_sessions | List/search visitor sessions with filters (device, location, friction, rage clicks) |
get_session_detail | Deep dive into a specific session β full timeline, events, navigation path |
get_site_stats | Aggregate performance metrics β sessions, friction, devices, top pages |
get_scroll_depth | Scroll-depth buckets for a specific page path |
get_live_visitors | Currently active visitor count and recent live sessions |
get_anomalies | AI-detected anomalies with explanations (traffic spikes/drops, friction surges) |
get_funnels | List defined conversion funnels |
get_funnel_analysis | Step-by-step funnel conversion rates and drop-off analysis |
get_campaign_summary | UTM campaign attribution summary |
get_campaign_sessions | Visitor sessions from a specific campaign |
get_campaign_roas | Paid campaign spend, conversions, and ROAS where connected |
get_errors | Aggregated client-side browser errors |
get_notifications | Recent KrystalView notifications and insights |
Once connected, try asking your AI assistant:
| Variable | Required | Default | Description |
|---|---|---|---|
KRYSTALVIEW_API_KEY | Yes | β | Your KrystalView API key |
KRYSTALVIEW_BASE_URL | No | https://krystalview.com/api | API base URL |
KRYSTALVIEW_TIMEOUT | No | 15 | Request timeout in seconds |
API keys have configurable rate limits (default: 60 requests per minute). Rate limit headers are included in every response. If you hit the limit, the server returns a clear error with retry timing.
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/krystalview-analytics)<a href="https://allmcps.com/mcp/krystalview-analytics"><img src="https://allmcps.com/api/badge/krystalview-analytics?style=directory" alt="KrystalView Analytics on AllMCPs" /></a>