KrystalView MCP Server
Enables AI agents to access website analytics, including visitor sessions, UX friction, conversion funnels, and anomaly alerts.
README
KrystalView MCP Server
Give your AI agents direct access to website analytics. Query visitor sessions, investigate UX friction, analyze conversion funnels, and get anomaly alerts — all from Claude, Cursor, or any MCP-compatible client.
Quick Start
Install
pip install krystalview-mcp
Configure
Generate an API key in your KrystalView console under Settings > API Keys.
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"krystalview": {
"command": "krystalview-mcp",
"env": {
"KRYSTALVIEW_API_KEY": "your-api-key-here"
}
}
}
}
Claude Code
claude mcp add krystalview -- krystalview-mcp
# Then set your API key:
export KRYSTALVIEW_API_KEY="your-api-key-here"
Cursor
Add to your MCP settings:
{
"krystalview": {
"command": "krystalview-mcp",
"env": {
"KRYSTALVIEW_API_KEY": "your-api-key-here"
}
}
}
Available Tools
| 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_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 |
Example Prompts
Once connected, try asking your AI assistant:
- "How's my site performing this week?"
- "Show me frustrated mobile users from the last 24 hours"
- "Why did our traffic drop yesterday?"
- "Where are users dropping off in the checkout funnel?"
- "Find sessions with rage clicks on the pricing page"
- "Are there any anomalies I should know about?"
Environment Variables
| 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 |
Rate Limits
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.
Security
- API keys are scoped to a single site — agents can only access data for the site the key was created for
- All requests use HTTPS
- Keys can be rotated or revoked in the KrystalView console
- No data is stored by the MCP server — it proxies directly to the KrystalView API
<!-- mcp-name: io.github.KrystalView/krystalview -->
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.