# Browserless [Health: Active]

**Category:** 📂 Browser Automation  
**Repository:** https://github.com/pipeworx-io/mcp-browserless  
**GitHub Stars:** 0  
**npm Downloads (last month):** 584  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/browserless

## Description
Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)

## Tools
Capabilities this server exposes over MCP:

- **browserless_content** — Render a URL in headless Chromium and return the fully-executed HTML (after JavaScript runs) — use this when a plain fetch returns an empty shell or JS-rendered SPA. Example: browserless_content({ url: "https://example.com", _apiKey: "your-token" })
- **browserless_scrape** — Extract structured data from a rendered page using CSS selectors. Returns text, inner HTML, attributes and geometry for every matched element. Example: browserless_scrape({ url: "https://news.ycombinator.com", elements: [{ selector: ".titleline a" }], _apiKey: "your-token" })
- **browserless_screenshot** — Capture a screenshot of a rendered page. Returns the image byte-length and metadata only (the binary PNG is NOT inlined). Example: browserless_screenshot({ url: "https://example.com", fullPage: true, _apiKey: "your-token" })
- **browserless_smart_scrape** — AI-assisted extraction: tries a plain HTTP fetch first and falls back to a full headless browser, returning content in the requested formats (html, markdown, links, screenshot, pdf). Best when you just want clean page content and do not know the right selectors. Example: browserless_smart_scrape({ url: "https://example.com", formats: ["markdown", "links"], _apiKey: "your-token" })

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "browserless": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-browserless"]
  }
}
```

## Documentation

## What Browserless does

Browserless exposes browser-based web retrieval through four MCP tools backed by the Browserless headless-Chromium REST API. `browserless_content` loads a URL in Chromium, waits for JavaScript execution, and returns the resulting HTML. This makes it suitable for single-page applications and other sites whose initial response contains little more than a JavaScript shell.

`browserless_scrape` accepts CSS selectors and returns data for matching elements, including text, inner HTML, attributes, and element geometry. `browserless_screenshot` captures a rendered page and can produce a full-page image; the MCP response contains the image byte length and metadata rather than embedding the PNG itself.

`browserless_smart_scrape` is intended for content extraction without manually selecting page elements. It starts with a normal HTTP request and uses a full browser when needed, then returns requested formats such as HTML, Markdown, links, screenshots, or PDF.

## How it works

The hosted MCP endpoint is `https://gateway.pipeworx.io/browserless/mcp`. A client can connect to that URL directly, or use the full Pipeworx gateway at `https://gateway.pipeworx.io/mcp`. The Browserless pack endpoint also exposes shared Pipeworx meta-tools, including routing and discovery functions, alongside the pack-specific tools.

Each Browserless tool accepts an `_apiKey` argument for the Browserless service. Calls can also be made through the Pipeworx HTTP interface, which provides endpoints for inspecting and invoking tools. The gateway's `ask_pipeworx` tool can select and populate a relevant tool from a natural-language request.

## Setup and configuration

Add the hosted endpoint to an MCP client as a server with a `url` property. Claude Desktop, Cursor, and Windsurf are named client options for this configuration.

A local stdio bridge is available through npm:

```json
{
  "mcpServers": {
    "browserless": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-browserless"]
    }
  }
}
```

The bridge forwards requests to the same Pipeworx endpoint and needs network access. It can run without a Pipeworx key, with anonymous usage limited to 50 calls per day. Setting `PIPEWORX_API_KEY` raises the allowance to 200 calls per day. Set `PIPEWORX_META_TOOLS=1` if the local bridge should list the gateway-wide meta-tools as well as the Browserless tools. When operating behind an HTTPS proxy, newer Node.js releases can use proxy environment settings when `NODE_USE_ENV_PROXY=1` is enabled.

## Tools and capabilities

- Render fully executed HTML after JavaScript runs.
- Select page elements with CSS selectors and inspect their content, attributes, and geometry.
- Capture rendered or full-page screenshots with metadata in the response.
- Extract HTML, Markdown, links, screenshots, or PDFs through an adaptive scraping flow.
- Route natural-language requests through the shared `ask_pipeworx` tool.

## Limitations and notes

This is an independent integration rather than an official Browserless product. The screenshot tool does not inline the PNG bytes, so a caller receives metadata and byte length instead of the image payload. The npm bridge is not an offline implementation; it forwards calls over the network. Browserless calls require an API key supplied to the tool, while Pipeworx account credentials govern gateway usage and quotas. Pack endpoints currently include shared gateway tools in addition to the Browserless-specific tool list, so the exact total returned by `tools/list` can vary.

The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/browserless/readme_

