npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dfx-exp-dashboard-mcp

v1.0.9

Published

核心看板 HTTP MCP:封装 DFX 核心看板总览接口(机型/版本类型树、版本列表、指标树、指标数据、版本活跃度、指标下探)与定向分析接口(用户集、查询记录、创建查询、总览结果)。

Readme

dfx-exp-dashboard-mcp

DFX 核心看板 MCP Server。让支持 MCP 的客户端(如 Kiro、Claude 等)直接查询核心看板与定向分析的数据:

  • 机型与版本类型树、版本列表
  • 指标领域树、指标数据(支持多机型/多版本/多日期对比、基线与上版对比)
  • 各版本活跃度信息
  • 指标下探:分布类指标的分桶分布与均值 / 中位数 / P95,功耗异常类指标的异常来源排行(需指定具体指标)
  • 定向分析:用户集列表、用户集的查询记录、创建查询、查询记录的总览结果
  • 访问统计(只读):概览与趋势、页面 / 用户 / 用户×页面维度统计、会话列表与单会话访问链路、筛选候选值、站外来源、路径流转

安装

在 MCP 客户端配置中添加(以 mcp.json 为例):

{
  "mcpServers": {
    "dfx-exp-dashboard-mcp": {
      "command": "npx",
      "args": ["--yes", "dfx-exp-dashboard-mcp@latest"],
      "env": {
        "EXP_DASHBOARD_OPERATOR": "你的小米账号(邮箱前缀)"
      }
    }
  }
}

EXP_DASHBOARD_OPERATOR 可选,只用于定向分析「创建查询」:作为任务创建人和飞书通知的接收人,且必须是该用户集的创建人。不配置时,客户端会在创建前问你的账号。

使用

连接成功后,直接用自然语言向客户端提问即可,例如:

  • 机型名称 最新的商用版本是什么?
  • 机型名称 最新商用beta版本 相机领域的指标
  • 对比 机型1 机型2 昨天 商用机型 稳定性 *指标
  • 功耗有哪些指标可以下探?
  • 机型名称 最新商用版本 灭屏平均电流/mA 下探分布
  • 机型名称 最近两个商用版本 长时间持partial锁 按人均持锁时间看前 10 个异常来源
  • 定向分析里名字带「续航」的用户集有哪些?
  • 用户集名称 最近的查询记录
  • 给用户集名称 建一个 9 月 1 日到 9 月 7 日的功耗查询,不算下探
  • 查询记录 taskId 的功耗总览,哪些指标超基线?
  • 最近 7 天看板访问统计概览,PV / UV 趋势怎么样?
  • 上周访问最多的 10 个页面是哪些,平均停留多久?
  • 账号 xxx 最近 30 天都看了哪些页面?
  • 看板的访问流量主要从哪些站外来源进来?

WiFi / 蓝牙 / 充电 / 电池 / 游戏 / 相册编辑等专属维度分析暂不支持通过 MCP 查询,工具会提示到看板下探区查看。

定向分析「创建查询」会提交大数据计算任务,只在你明确要求时执行;查询记录包含多个领域时,客户端会先问你只看某个领域还是全部领域。