browserless_scrape

Pack: browserless · Endpoint: https://gateway.pipeworx.io/browserless/mcp

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” })

Parameters

NameTypeRequiredDescription
urlstringnoThe page URL to scrape
elementsarraynoArray of selector objects, each { selector: "" }. Uses document.querySelectorAll, so each selector can match many elements.
itemsobjectnoA CSS selector, e.g. “h1”, “.price”, “a.link”
propertiesstringnoA CSS selector, e.g. “h1”, “.price”, “a.link”
selectorstringyesA CSS selector, e.g. “h1”, “.price”, “a.link”
_apiKeystringnoBrowserless API token (sign up at https://www.browserless.io/signup)
_hoststringnoOptional region host override

Example call

curl -X POST https://gateway.pipeworx.io/browserless/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"browserless_scrape","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "browserless": {
      "url": "https://gateway.pipeworx.io/browserless/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 15, 2026