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

chrome-browser-plugin

v1.0.2

Published

MCP stdio server bridging Cursor/Copilot to Chrome extension via WebSocket

Readme

chrome-browser-plugin

MCP 服务:给 AI 提供 Chrome 页面相关工具(截图、DOM 快照、网络请求、设计差异推送等)。

要求:Node.js ≥ 18


Cursor 安装

{
  "mcpServers": {
    "chrome-browser-plugin": {
      "command": "npx",
      "args": ["-y", "chrome-browser-plugin"]
    }
  }
}

VS Code 安装

VS Code 使用 .vscode/mcp.json(或用户级 MCP 配置),根键是 servers(不是 Cursor 的 mcpServers)。

1. 打开配置

任选其一:

  • 命令面板:MCP: Open User Configuration(全局)
  • 命令面板:MCP: Open Workspace Folder MCP Configuration(工作区 .vscode/mcp.json
  • 手动创建项目下的 .vscode/mcp.json

2. 写入配置

{
  "servers": {
    "chrome-browser-plugin": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "chrome-browser-plugin"]
    }
  }
}

工具一览

| 工具 | 说明 | 需 MCP 目标页 | |------|------|----------------| | ping | 探活 | 否 | | open_url | 打开 URL | 否 | | get_active_tab | 当前激活 tab | 否 | | get_target_tab | 读取 MCP 目标页 | 否 | | set_target_tab | 设置 / 清除目标页 | 否 | | show_design_diffs | 推送截图+差异并打开比对弹窗 | | | run_automation | 在目标页执行 Automation | | | screenshot_tab | 整页截图 | | | screenshot_design_width | 按设计稿宽度(375)截图 | | | get_dom_snapshot | DOM 几何 / 样式快照 | | | get_network_requests | 读取 fetch/XHR 缓存 | |

页面类工具只操作 Panel「设为 MCP 目标页」钉住的 tab;未设置会报错,不再回退到当前激活页。

show_design_diffs 须传 figmaImageBase64 + pageImageBase64,会聚焦目标页并打开 sl-image-comparer 弹窗;聊天里只提示去插件查看,勿再贴表格。