By the end of this page an agent will have scraped a page for you. There is nothing to install: the server is hosted at https://mcp.jetscrape.com/mcp. You need an MCP client such as Claude Code and a JetScrape API key (it starts with js_).

1. Register the server with Claude Code

claude mcp add --transport http jetscrape https://mcp.jetscrape.com/mcp

Other MCP clients connect with the same URL; see Connecting Clients for the JSON form.

2. Check the connection

claude mcp list

jetscrape should show as connected. Inside a Claude Code session, /mcp lists the server and its tools. If you want to check reachability without a client, curl https://mcp.jetscrape.com/health answers with "status": "ok".

3. Give the agent your key and a task

My JetScrape API key is js_YOUR_API_KEY.
Scrape https://example.com and return the text of the <h1>.

Behind the scenes the agent makes a tool call like this:

{
  "name": "scrape_unblocker",
  "arguments": {
    "apiKey": "js_YOUR_API_KEY",
    "url": "https://example.com",
    "mode": "http",
    "selectors": [
      { "property_name": "heading", "selector": "h1", "attribute_type": "TEXT" }
    ]
  }
}

4. Read the result

The tool returns the JetScrape response with a diagnostics block appended. The agent reads results[].result for the fields and diagnostics to confirm nothing came back empty.

{
  "unblocker": {
    "job": { "id": 789, "status": "completed" },
    "results": [
      { "result": { "heading": "Example Domain" } }
    ]
  },
  "config_id": 4412,
  "routine_id": 5120,
  "diagnostics": {
    "rows": 1,
    "fields": 1,
    "empty_in_all_rows": [],
    "warnings": []
  }
}

5. Run it again without rebuilding

The response carries a routine_id. The next time you want the same data, the agent calls run_routine with that id instead of sending the selectors again:

{
  "name": "run_routine",
  "arguments": { "apiKey": "js_YOUR_API_KEY", "routineId": 5120 }
}

Where to go next

  • Other clients, .mcp.json and scopes — Connecting Clients
  • Every parameter of the main tool — scrape_unblocker
  • Why a "completed" job can still be wrong — Reading Diagnostics
  • Running the same scrape again without duplicating it — run_routine

Keep the config_id and routine_id from your first successful scrape. Re-running the routine is how you repeat the job; re-sending the selectors creates a brand-new config every time.

Last updated: September 22, 2026