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

@lujoai/lujo-mcp

v0.9.3

Published

Lujo-MCP — MCP Runtime Debugging Context Server for AI coding agents. Gives Claude, Cursor, Trae and any MCP-compatible client real runtime debugging context: browser errors, console logs, network failures, UI interaction traces and session context. Zero-

Downloads

3,344

Readme

@lujoai/lujo-mcp

Lujo-MCP — MCP Runtime Debugging Context Server for AI coding agents.

给 Claude / Codex / Cursor / Trae 等 MCP 宿主提供真实运行现场:浏览器错误、 console 日志、网络失败、UI 交互轨迹与会话上下文。Lujo 只负责采集、关联与查询, 推理与改代码由宿主智能体完成。

  • 单机、本地自用、开箱即用:npx 一条命令即可接入,无需数据库或外部服务
  • 运行现场默认留在本机内存;调试经验(KB)写穿到本地单文件 SQLite「笔记本」
  • 采集侧提供 Browser SDK(本包已随附,可被 CDN 直接引用)与 Node SDK (@lujoai/lujo-mcp-node-sdk

安装与接入

在 MCP 客户端配置里加入(推荐 npx:跨平台自动拉取对应的预编译二进制, 避免桌面 GUI 客户端因未加载 shell PATH 而找不到命令):

{
  "mcpServers": {
    "lujo": {
      "command": "npx",
      "args": ["-y", "@lujoai/[email protected]"]
    }
  }
}

默认是统一模式:同一个进程既提供 stdio MCP,又在 127.0.0.1:8000 开一个 本地 HTTP 采集口供 Browser SDK 上报。只需要纯 stdio 时把 args 改成 ["--no-http"];需要换采集端口用 --http-port <port>(同一台机器调试多个项目时, 端口即隔离:每个项目用不同端口,页面 SDK 的 endpoint 指向各自端口)。

页面里引入 Browser SDK:

<script src="http://127.0.0.1:8000/ai-debug.js"></script>
<script>
  AiDebug.init({ endpoint: "http://127.0.0.1:8000" });
</script>

内置演示页:http://127.0.0.1:8000/demo(无需配置跨域);Web 控制台: http://127.0.0.1:8000/dashboard

安全默认值

  • 只监听回环 127.0.0.1(要对外服务需显式设 HOST,且此时必须配 API_KEY: 通配地址 + 无任何 Key 会被启动校验直接拒绝)
  • 未设 API_KEY 时以免鉴权模式运行,仅限本机回环
  • 敏感内容在存储边界之前脱敏;日志 formatter 另有一道遮蔽
  • /metrics 的免鉴权豁免只在回环绑定时成立

平台包

本包通过 optionalDependencies 自动安装对应平台的二进制: @lujoai/lujo-mcp-win32-x64@lujoai/lujo-mcp-linux-x64@lujoai/lujo-mcp-osx-arm64。它们是实现细节,不需要手动安装。

更多文档

仓库:https://github.com/lujoai/Lujo-MCP

License

MIT — 见随包的 LICENSE