Browser automation#Web scraping#Browser automation
Lightpanda: a lightweight headless browser for agents
A headless browser written from scratch in Zig with a built-in MCP server. Agents read pages as Markdown, click and fill forms without spinning up Chromium.
Project and installation docs
View projecthttps://github.com/lightpanda-io/browser
When an agent has to read a few hundred pages, the expensive part is usually the row of Chromium processes behind it. Lightpanda isn’t a Chromium fork. It’s a new headless browser written in Zig that runs JavaScript on V8 but skips rendering, and lightpanda mcp turns it into an MCP server. It had about 36k stars as of 2026-10-06.
What it does
- Reading pages:
gotoopens a URL,markdownturns the page or a subtree into Markdown,linkslists links andtreereturns the node tree, all much shorter than raw HTML. - Basic interaction:
clickandfillact on nodes or selectors, andevaluateruns a script in the page. - Isolated sessions: in HTTP mode (
--port), each connection gets its own page, cookies and memory.session_new,session_listandsession_closemanage sessions, and agents that share oneMcp-Session-Idcan work the same page together. - Sessions as scripts:
saveexports a session as a PandaScript you can replay withlightpanda run, with no model tokens spent.
Who it’s for
- Anyone whose agent crawls and summarizes lots of pages and doesn’t want a Chromium per task.
- Teams running web tasks on servers or in containers where memory matters. The README’s benchmark puts peak memory for 100 pages at about 123 MB, against roughly 2 GB for headless Chrome.
Setup
Runs on Linux and macOS (Windows only through WSL). Install the nightly build with Homebrew:
brew install lightpanda-io/browser/lightpanda
Then point your client at the binary:
{
"mcpServers": {
"lightpanda": {
"command": "/path/to/lightpanda",
"args": ["mcp"]
}
}
}
Our take
Next to Playwright MCP, Lightpanda wins on volume: for reading and extracting it drops the cost of a full browser, and the multi-session HTTP mode lets several agents share one process. The trade-off is compatibility. Its Web API coverage is still growing, so heavy front-end apps and anything that needs screenshots or visual judgment are safer with a Chromium-based tool. It also sends usage telemetry by default; set LIGHTPANDA_DISABLE_TELEMETRY=true to turn it off. Licensed AGPL-3.0, which matters if you modify it and offer it as a service.