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

lightpanda-mcp

v1.0.3

Published

MCP server wrapper for Lightpanda browser automation

Downloads

313

Readme

Lightpanda MCP Server

MCP (Model Context Protocol) server wrapper for Lightpanda browser automation.

Features

  • Auto-installation: Downloads the Lightpanda binary automatically on first use
  • Platform support: macOS (arm64/x86_64), Linux (arm64/x86_64)
  • Zero configuration: Works out of the box with MCP clients
  • 11 browser automation tools: Navigation, content extraction, interaction, and more

Installation

Manual Installation

npx lightpanda-mcp

The first run will download the Lightpanda binary (~60-110MB depending on platform).

Available Tools

Lightpanda provides 11 MCP tools for browser automation:

Navigation & Content

  • goto - Navigate to URLs
  • markdown - Extract page content in markdown format
  • links - Extract all links from page
  • evaluate - Execute JavaScript on page

Page Understanding

  • semantic_tree - Get simplified DOM tree optimized for AI reasoning
  • interactiveElements - List all clickable elements with backend IDs
  • structuredData - Extract JSON-LD, OpenGraph, and meta tags

Interaction

  • click - Click elements by backend ID
  • fill - Fill form inputs
  • scroll - Scroll page or specific elements
  • waitForSelector - Wait for elements to appear

Usage

With MCP Client

Configure your MCP client to use:

{
  "mcpServers": {
    "lightpanda": {
      "command": "npx",
      "args": ["-y", "lightpanda-mcp"]
    }
  }
}

Direct Usage (Testing)

# Start the MCP server
npx lightpanda-mcp

# In another terminal, send MCP commands via stdin
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | npx lightpanda-mcp

Platform Support

| Platform | Architecture | Binary Size | Status | |----------|-------------|-------------|---------| | macOS | ARM64 (Apple Silicon) | ~59MB | ✅ Supported | | macOS | x86_64 (Intel) | ~62MB | ✅ Supported | | Linux | ARM64 | ~113MB | ✅ Supported | | Linux | x86_64 | ~108MB | ✅ Supported | | Windows | - | - | ⚠️ Use WSL2 |

Requirements

  • Node.js >= 18.0.0
  • Internet connection for initial binary download

How It Works

  1. On first run, detects your platform (OS + architecture)
  2. Downloads the appropriate Lightpanda binary from GitHub releases
  3. Saves binary to ./bin/lightpanda in the package directory
  4. Starts lightpanda mcp and proxies stdin/stdout to your MCP client
  5. Subsequent runs use the cached binary

Troubleshooting

Download fails

If the download fails, you can manually install Lightpanda:

# macOS (arm64)
curl -L -o lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-aarch64-macos
chmod +x lightpanda
mv lightpanda /usr/local/bin/

# Then use native lightpanda instead
lightpanda mcp

Binary not found after installation

The binary is stored in node_modules/lightpanda-mcp/bin/lightpanda. If npx can't find it, try:

npm install -g lightpanda-mcp
lightpanda-mcp

About Lightpanda

Lightpanda is a lightweight headless browser built in Zig, designed for:

  • 11x faster than Chrome
  • 9x less memory usage
  • Native MCP support
  • Built-in browser automation tools

Learn more:

License

MIT

Contributing

Issues and PRs welcome at github.com/YashJain14/lightpanda-mcp