PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
作者提供的说明(英文原文)
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
KRYSTALVIEW_API_KEY, KRYSTALVIEW_BASE_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://krystalview.com/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"krystalview": {
"command": "uvx",
"args": [
"krystalview-mcp"
],
"env": {
"KRYSTALVIEW_API_KEY": "your-value",
"KRYSTALVIEW_BASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http krystalview https://krystalview.com/mcpclaude mcp add krystalview --env KRYSTALVIEW_API_KEY=your-value --env KRYSTALVIEW_BASE_URL=your-value -- uvx krystalview-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"krystalview": {
"url": "https://krystalview.com/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"krystalview": {
"command": "uvx",
"args": [
"krystalview-mcp"
],
"env": {
"KRYSTALVIEW_API_KEY": "your-value",
"KRYSTALVIEW_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"krystalview": {
"type": "http",
"url": "https://krystalview.com/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"krystalview": {
"type": "stdio",
"command": "uvx",
"args": [
"krystalview-mcp"
],
"env": {
"KRYSTALVIEW_API_KEY": "your-value",
"KRYSTALVIEW_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://krystalview.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
KRYSTALVIEW_BASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
工具名称和描述与服务器在 2026年11月10日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
get_sessionsList recent visitor sessions with filters for URL, country, device, duration, friction, and rage clicks.
get_session_detailGet full details for a specific visitor session, including pages, events, device context, errors, and friction signals.
get_site_statsGet aggregate site metrics including all sessions, likely human sessions, likely bot/crawler sessions, duration, friction, rage clicks, daily counts, device mix, and top pages.
get_scroll_depthGet cumulative scroll-depth reach buckets for a specific page path.
get_live_visitorsGet currently active visitors and sessions seen in the live activity window.
get_anomaliesList detected traffic, friction, bounce, and conversion anomalies for the site.
get_funnelsList conversion funnels defined for this site.
get_funnel_analysisAnalyze a conversion funnel and show step reach, drop-off, and completion evidence.
get_campaign_summaryGet campaign attribution breakdown by UTM campaign, source, medium, sessions, duration, and bounce rate.
get_campaign_sessionsList sessions attributed to a specific marketing campaign.
get_campaign_roasGet paid campaign spend, clicks, sessions, attributed conversions, and ROAS where ad data is connected.
get_errorsGet aggregated browser errors grouped by type and message, with affected paths and sample sessions.
get_notificationsGet recent KrystalView notifications such as insights, setup notices, errors, and anomalies.
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
注册名称已通过 GitHub 账户 KrystalView 验证,该账户拥有此仓库
代码最后更新于5个月前
我们还没有从 GitHub 读取这个仓库
在 112 毫秒内响应(HTTP 200)
无需登录
已读取 13 个工具描述,未发现针对 AI 的隐藏指令
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 4 项适用的基础检查中通过了 4 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:KRYSTALVIEW_API_KEY
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于5个月前,最新版本(0.1.6)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:PostHog MCP Server, Agent-Native Analytics, Openshorts
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Agent-Native Amplitude/Mixpanel - connect data sources, prompt for charts
Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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:
Authorization: Bearer kv_live_...
or:
X-API-Key: kv_live_...
Use this when your MCP client runs local stdio servers, such as Claude Desktop, Claude Code, Cursor, or similar developer tools.
pip install krystalview-mcp
Generate an API key in your KrystalView console under Settings > API Keys.
Add to your claude_desktop_config.json:
{
"mcpServers": { "krystalview": { "command": "krystalview-mcp", "env": { "KRYSTALVIEW_API_KEY": "your-api-key-here" } } } }
claude mcp add krystalview -- krystalview-mcp
export KRYSTALVIEW_API_KEY="your-api-key-here"
Add to your MCP settings:
{
"krystalview": { "command": "krystalview-mcp", "env": { "KRYSTALVIEW_API_KEY": "your-api-key-here" } } }
| 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