# lightpanda-io/browser [Health: Active]

**Category:** 📂 Browser Automation  
**Repository:** https://github.com/lightpanda-io/browser  
**GitHub Stars:** 42783  
**Views:** 24  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lightpanda-io-browser

## Description
Headless browser for AI and web automation with a built-in MCP server.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "browser": {
    "url": "http://host:9223/mcp"
  }
}
```

## Documentation

## What lightpanda-io/browser does

lightpanda-io/browser combines a headless browser with a built-in Model Context Protocol server for AI agents and automation. Lightpanda is implemented in Zig rather than being a Chromium or WebKit variant. Its browser-facing capabilities include navigating to pages, interacting with links and forms, and extracting structured content.

The command-line interface can fetch a URL and emit HTML, Markdown, PNG, PDF, or structured metadata. Structured-data output includes JSON-LD, OpenGraph fields, Twitter card data, meta tags, and link tags. The browser also has an agent mode that accepts plain-language tasks, drives the browser through interactions, and can save the resulting workflow as a PandaScript for later replay.

A published crawler benchmark requested 933 real web pages over the network on an AWS EC2 m5.large instance. In that test, Lightpanda used 123 MB of peak memory for 100 pages and completed in 5 seconds, compared with 2 GB and 46 seconds for headless Chrome.

## How it works

Run the binary directly for one-off page retrieval, or start its server mode to expose a browser endpoint. The server can listen on TCP port 9222 or on a Unix-domain socket. Automation code can connect through Puppeteer using the browser's WebSocket endpoint. WebDriver BiDi is available by starting the server with the WebDriver protocol, and CDP and BiDi can be enabled together.

The agent mode runs in the same process as the browser. It can navigate sites, click through workflows, fill forms, and extract structured data. A saved session becomes JavaScript containing Lightpanda browser primitives; it can be replayed with the `run` command without requiring a model at runtime. Agent sessions can use supported hosted or local model providers, or run with `--no-llm` for a direct REPL.

Page dumps support waiting controls such as a delay, a selector, a script, or a wait-until condition. The `--obey-robots` option is available for fetch and server commands.

## Setup and configuration

Install the latest nightly build with Homebrew or the Arch Linux User Repository, download a Linux or macOS binary, use the Nix flake, or run the official Docker image. Docker images are available for Linux amd64 and arm64. A container can expose the CDP endpoint on `127.0.0.1:9222`.

Linux binaries require glibc. The documented x86_64 builds need glibc 2.35 and arm64 builds need glibc 2.38; Alpine and other musl-based distributions do not run them directly. Native Windows binaries are not provided, but the browser can run inside WSL2. Android and Termux are not supported as native environments.

After downloading a binary, verify it with `./lightpanda version`. Start a browser endpoint with `lightpanda serve`, fetch a page with `lightpanda fetch`, or launch the interactive agent with `lightpanda agent`. The repository also provides a source-build path for environments that cannot use the release binaries.

_Full upstream README: https://allmcps.com/mcp/lightpanda-io-browser/readme_

