scrapingant_scrape
Pack: scrapingant · Endpoint: https://gateway.pipeworx.io/scrapingant/mcp
Scrape a web page and return its raw HTML via ScrapingAnt (headless-browser rendering + rotating proxies). Handles JS-heavy sites and anti-bot pages. Example: scrapingant_scrape({ url: “https://example.com”, browser: true, _apiKey: “your-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | The absolute URL of the page to scrape, e.g. “https://example.com/products” |
browser | boolean | no | Render the page in a headless browser (executes JavaScript). Default true. Set false for a faster raw HTTP fetch of static pages. |
proxy_type | string | no | Proxy pool to use: “datacenter” (default, cheaper) or “residential” (harder to block). |
proxy_country | string | no | Two-letter ISO country code for the proxy exit location, e.g. “US”, “GB”, “DE”. |
wait_for_selector | string | no | CSS selector to wait for before returning (e.g. “.price”). Only applies when browser rendering is on. |
js_snippet | string | no | Custom JavaScript to run in the page after load (plain JS — this pack base64-encodes it for you). Only applies when browser rendering is on. |
_apiKey | string | yes | Your ScrapingAnt API key. Sign up free at https://app.scrapingant.com/signup |
Example call
curl -X POST https://gateway.pipeworx.io/scrapingant/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"scrapingant_scrape","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"scrapingant": {
"url": "https://gateway.pipeworx.io/scrapingant/mcp"
}
}
}
See Getting Started for client-specific install steps.