Skip to main content

Before You Start

You need:

ZenRows Account

A ZenRows account

ZenRows API Key

Your ZenRows API key

Node.js

Latest version of Node.js installed on your machine

Setup

Run the following command in your terminal, replacing YOUR_ZENROWS_API_KEY with your actual API key:
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp

Option B: Project configuration file

Add ZenRows to your project’s .mcp.json file:
{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": {
        "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY"
      }
    }
  }
}

Start scraping

Ask Claude Code to scrape a webpage in plain English:
Get the product names and prices from https://www.scrapingcourse.com/ecommerce/.
Scrape https://www.scrapingcourse.com/antibot-bypass using Premium Proxies.
Fetch https://www.scrapingcourse.com/javascript-rendering/ with JavaScript rendering enabled and return the page as Markdown.

Troubleshooting

The scrape tool is not available If you used Option A, confirm the command ran without errors. If you used Option B, confirm the .mcp.json file is in the root of your project and contains valid JSON. Page content is missing or incomplete The page likely loads content dynamically. Ask Claude to enable JavaScript rendering:
Scrape https://www.scrapingcourse.com/javascript-rendering/ with `js_render: true`.
Requests return a 403 or bot detection page Ask Claude to use Premium Proxies:
Scrape https://www.scrapingcourse.com/antibot-bypass using `premium_proxy: true`.
For more troubleshooting options, see the ZenRows MCP overview.