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
| Name | Type | Required | Description |
|---|---|---|---|
url | string | no | The page URL to scrape |
elements | array | no | Array of selector objects, each { selector: " |
items | object | no | A CSS selector, e.g. “h1”, “.price”, “a.link” |
properties | string | no | A CSS selector, e.g. “h1”, “.price”, “a.link” |
selector | string | yes | A CSS selector, e.g. “h1”, “.price”, “a.link” |
_apiKey | string | no | Browserless API token (sign up at https://www.browserless.io/signup) |
_host | string | no | Optional 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.