get_sessions
List Sessions
List recent visitor sessions with filters for URL, country, device, duration, friction, and rage clicks.
limitqueryoffsetcountrydevice_typemin_durationmin_frictionhas_rage_clicks
io.github.KrystalView由 GitHub 账号 KrystalView 发布v0.1.6更新于 Oct 24, 2026
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
以只读方式通过 MCP 访问 KrystalView 网站分析数据:访客会话、漏斗、营销活动、错误、实时访客与异常。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.KrystalView%2Fkrystalview/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"krystalview-analytics": {
"type": "http",
"url": "https://krystalview.com/mcp"
}
}
}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.
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:
Once connected, try asking your AI assistant:
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
来源:README.md,提交 f4df256
List Sessions
List recent visitor sessions with filters for URL, country, device, duration, friction, and rage clicks.
limitqueryoffsetcountrydevice_typemin_durationmin_frictionhas_rage_clicksGet Session Detail
Get full details for a specific visitor session, including pages, events, device context, errors, and friction signals.
session_id必填Get Site Stats
Get aggregate site metrics including all sessions, likely human sessions, likely bot/crawler sessions, duration, friction, rage clicks, daily counts, device mix, and top pages.
daysGet Scroll Depth
Get cumulative scroll-depth reach buckets for a specific page path.
dayspath必填Get Live Visitors
Get currently active visitors and sessions seen in the live activity window.
无需输入参数。
Get Anomalies
List detected traffic, friction, bounce, and conversion anomalies for the site.
limitunacknowledged_onlyList Funnels
List conversion funnels defined for this site.
无需输入参数。
Analyze Funnel
Analyze a conversion funnel and show step reach, drop-off, and completion evidence.
daysfunnel_id必填Get Campaign Summary
Get campaign attribution breakdown by UTM campaign, source, medium, sessions, duration, and bounce rate.
daysGet Campaign Sessions
List sessions attributed to a specific marketing campaign.
limitoffsetcampaign必填Get Campaign ROAS
Get paid campaign spend, clicks, sessions, attributed conversions, and ROAS where ad data is connected.
daysGet Browser Errors
Get aggregated browser errors grouped by type and message, with affected paths and sample sessions.
limiterror_typeunresolved_onlyGet Notifications
Get recent KrystalView notifications such as insights, setup notices, errors, and anomalies.
limitoffsetunread_only已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
Authorization: Bearer kv_live_...X-API-Key: kv_live_...pip install krystalview-mcp{ "mcpServers": { "krystalview": { "command": "krystalview-mcp", "env": { "KRYSTALVIEW_API_KEY": "your-api-key-here" } } }}claude mcp add krystalview -- krystalview-mcp# Then set your API key:export KRYSTALVIEW_API_KEY="your-api-key-here"{ "krystalview": { "command": "krystalview-mcp", "env": { "KRYSTALVIEW_API_KEY": "your-api-key-here" } }}