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

pi-webmcp

v0.2.0

Published

A Pi extension that connects Pi to webpages that register WebMCP tools.

Readme

pi-webmcp

A Pi extension that connects Pi to webpages that register WebMCP tools.

[!IMPORTANT]

Both the WebMCP specification and Chrome’s implementation are in active development. Anticipate breaking changes that affect this extension.

[!CAUTION]

This extension can pose a security risk in its default operating mode once the /webmcp command is run. A malicious webpage could poison the running Pi session’s context via its WebMCP tool instructions.

Use at your own risk. Consider setting allowedOrigins to restrict which webpages Pi can connect to.

Demo

First-time Setup

  1. Install this extension via npm.

    pi install npm:pi-webmcp
  2. Enable Chrome remote debugging by visiting chrome://inspect/#remote-debugging.

Chrome remote debugging settings

  1. Enable the relevant Chrome flags for WebMCP.

Chrome WebMCP flags

Usage

  1. Run /webmcp and accept the once-per-session confirmation prompt in Chrome.

Chrome remote debugging permission prompt

  1. Navigate to a WebMCP-capable page, such as Chrome Lab’s WebMCP Travel demo.

    More can be found here.

Commands

  • /webmcp or /webmcp connect — Connect to Chrome and discover WebMCP tools.
  • /webmcp disconnect — Disconnect from Chrome WebMCP.
  • /webmcp list — Show active WebMCP tools.

Options

Configure WebMCP options under the webmcp key in Pi settings, either globally in ~/.pi/agent/settings.json or per trusted project in .pi/settings.json:

{
  "webmcp": {
    "allowedOrigins": ["googlechromelabs.github.io"]
  }
}

| Option | Description | | -------------------------- | ------------------------------------------------------------------------------------- | | webmcp.allowedOrigins | When specified, Pi will only discover and connect to WebMCP tools from these origins. | | webmcp.disallowedOrigins | When specified, Pi will not discover or connect to WebMCP tools from these origins. |

Browser Support

WebMCP is currently only implemented in Chrome, so this extension is scoped to Chromium-based browsers for now. We plan to support additional browsers if / when they implement WebMCP.