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

@lilonghe/wex

v0.1.1

Published

A global dashboard for AI CLI tools, MCP servers, skills, usage, and recent chats

Readme

Wex

一个只读查看工具,用来列出当前机器上已安装的 AI CLI,以及它们配置过的 MCP 和 skills。

当前内置适配器:

  • codex
  • claude

使用

直接通过 npx 运行,默认会启动本地网页:

npx @lilonghe/wex

默认地址是 http://127.0.0.1:3210

输出 JSON:

npx @lilonghe/wex --json

输出文本:

npx @lilonghe/wex --format text

指定监听地址和端口:

npx @lilonghe/wex --web --host 127.0.0.1 --port 3210

如果你全局安装过,也可以直接运行:

wex

默认同样会启动本地网页。

本地开发

在当前目录执行:

npm link

安装后可直接运行:

wex

也可以直接用 Node 运行:

node ./bin/wex.js

也可以用 npm script:

npm run web

当前读取规则

Codex

  • 全局 MCP: ~/.codex/config.toml
  • 全局 skills: ~/.codex/skills/**/SKILL.md

Claude

  • 全局 MCP: ~/.claude.json
  • 全局 skills: ~/.claude/skills/**/SKILL.md
  • 全局 slash commands:
    • ~/.claude/commands/**/*.md

说明

  • 这是查看工具,不做安装、启停、增删改。
  • npm 包名是 @lilonghe/wex,CLI 命令名是 wex
  • MCP 中的 envheaders 值会自动脱敏,避免把密钥直接打印出来。
  • 当前版本只支持 codexclaude,后续要扩展别的 AI CLI,可以继续加适配器。
  • 当前版本只保留全局维度,不再读取任何项目级配置。
  • --web 会启动一个本地只读全局看板,页面由服务端直接渲染,不再暴露数据接口。
  • 每个工具卡片都会显示 1d / 7d / 30d / total 四档 token usage。
  • 默认只显示用户自己安装的 skills;如果要带上系统内置 skills,可用 --include-system-skills,只看系统内置则用 --only-system-skills
  • Claude 的时间窗口来自 ~/.claude/stats-cache.json 的按日统计;Codex 的时间窗口基于 ~/.codex/state_5.sqlite 中最近更新线程的 tokens_used 汇总,属于近似值。