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" } }}