Get started
Scraper keeps your work in projects. A project holds its own recipes, spiders, datasets, sessions, proxies and secrets, so nothing leaks from one job into another.
- Sign in and create a project, or pick one in the sidebar. Your choice follows you from page to page.
- Open Scrape workbench and enter the URL of a page you are authorized to collect.
- Choose an engine, then choose Fetch.
- Inspect the response, pick the data you want and save the setup as a recipe.
Use Search workspace to jump to any page. The theme control switches between light and dark.
Fetch a page
The workbench has two engines. Both cost 1 credit a page.
| Engine | Use it for |
|---|---|
| HTTP | Plain pages and JSON endpoints. It is the fastest option. |
| Browser (stealth) | JavaScript-heavy pages, logins and sites that block plain requests. |
- Add query pairs, headers, cookies and a body only when the page needs them.
- Put tokens and passwords in project secrets and reference them. Do not paste them into a request.
- A changed setting makes the earlier result stale. Fetch again before you rely on it.
-
In the browser engine, your automation runs in an isolated world, so it cannot read variables the site's own scripts created.
Turn on
pierce_shadowin the browser options to include content inside open shadow roots.
Import a cURL command
Choose Import cURL and paste a command copied from your browser's developer tools. Scraper reads the method, URL, headers and body into an editable request. It parses the text and never runs it.
Edit many rows at once
In a Query, Headers, Cookies or form-body group, choose Bulk edit. Paste JSON rows, name=value lines
or two tab-separated columns from a spreadsheet. Applying rows does not save or fetch anything.
Extract data
Open the response inspector to select elements on a safe preview of the page. The preview does not run the site's scripts or submit its forms.
- Select one record, such as a product card.
- Turn on Match repeated elements and generate its selector.
- Check the highlighted matches, then choose Set repeating container.
- Add the fields you want from inside the record, and check the preview values.
You can also write CSS or XPath by hand, or extract text and structured data directly.
Adaptive selectors
An adaptive selector remembers what an element looked like. Save a baseline once. When the site changes its markup, Scraper relocates the element from that baseline instead of returning an empty field.
- Manage baselines and selector stores under Adaptive selectors.
- A preview never replaces a saved baseline. You choose when to update it.
- Each result shows whether it came from a direct match or from adaptive recovery.
Save recipes
A recipe is a saved request with its extraction rules. Each save creates a revision. A run keeps the revision it started with, so editing a draft never rewrites an earlier run.
Crawl with spiders
A spider follows links from one or more start pages and collects items as it goes.
- In Spiders, choose a template, the start requests, named sessions, follow rules and limits.
- Choose Check configuration and save a revision.
- Choose Test selected seed to try one start page.
- Choose Run saved revision.
- Crawl order is breadth first by default. Depth first follows each branch before its siblings.
- With robots.txt obeyed, a failed or 5xx robots.txt response blocks that domain for the crawl. A 4xx response still allows it.
- A link restriction that matches nothing follows no links.
Runs, pause and resume
Runs shows the state, issues, collected output and controls for every run. A paused crawl resumes from its checkpoint and keeps what it already collected. Resuming continues the pending requests, so check for requests with side effects before you repeat them. Cancelling a run keeps its partial results.
Query and export datasets
- Open a dataset, choose search fields, filters, sort and page size, then choose Apply query.
- Open an item to see its full value and where it came from.
- Choose Export items, check the scope and format, and start the export.
Exports come as CSV, JSON, JSONL or Markdown. CSV uses a spreadsheet-safe mode by default. Use raw formatting only when you intend it. An export file is a download copy that expires after 7 days. The items stay in the dataset, so you can export again at any time.
Sessions, proxies and secrets
These are reusable, project-scoped resources. Create one once, then pick it by name.
- Sessions keep a logged-in state or a persistent browser profile across requests.
- Proxies hold a single proxy or a rotating pool. Scraper works with the proxies you bring.
- Secrets hold tokens, cookies and passwords. Recipes and scripts point at a secret, and logs never print its value.
Python workspaces and console
When clicks are not enough, write Python next to the built-in engines.
- Open Code workspace, choose a template and, if you like, a target URL.
- Edit the code, then choose Validate syntax and Save revision. None of these steps runs your code.
- Select the secrets and files the script may use, then choose Run saved revision.
The Console is an interactive Python session. Reveal terminal shows its private output, Interrupt stops the current command, and reconnecting attaches to the same live session. A console closes after it sits idle, and it costs 2 credits per minute while it runs.
Connect an AI agent
Scraper has a Model Context Protocol (MCP) endpoint, so an agent can set up projects, run scrapes and read results for you. The endpoint speaks Streamable HTTP at:
https://scraper.best/agent/mcp
1. Create a token
- Open Settings, then Agent access.
- Choose a preset, an expiry from 1 to 365 days, and the projects the agent may use.
- Confirm with your password. Copy the token now, because it is shown only once.
| Preset | The agent can |
|---|---|
read_only
|
Inspect projects, runs, datasets and logs. |
operate
|
Also create and update recipes, spiders and profiles, and start or control runs and exports. |
full
|
Also run Python, write secrets, and delete or purge data. |
Two toggles stay off until you switch them on:
-
Code lets the agent run Python workspaces, edit spider code and control consoles. It is on only in the
fullpreset. - Reveal lets the agent read secret values, private console output and response bodies. It is off in every preset.
2. Add Scraper to your client
Keep the token in an environment variable named SCRAPER_TOKEN. Never commit it or put it in a URL.
Claude Code
claude mcp add --transport http scraper https://scraper.best/agent/mcp \
--header "Authorization: Bearer ${SCRAPER_TOKEN}"
Cursor
Add this to .cursor/mcp.json:
{
"mcpServers": {
"scraper": {
"url": "https://scraper.best/agent/mcp",
"headers": {
"Authorization": "Bearer ${env:SCRAPER_TOKEN}"
}
}
}
}
VS Code
Add this to .vscode/mcp.json. VS Code asks for the token and stores it for you.
{
"inputs": [
{
"id": "scraper_token",
"type": "promptString",
"description": "Scraper agent token",
"password": true
}
],
"servers": {
"scraper": {
"type": "http",
"url": "https://scraper.best/agent/mcp",
"headers": {
"Authorization": "Bearer ${input:scraper_token}"
}
}
}
}
Any other MCP client
Use the HTTP transport with the endpoint above and an Authorization: Bearer header.
Most clients accept this shape:
{
"mcpServers": {
"scraper": {
"type": "http",
"url": "https://scraper.best/agent/mcp",
"headers": {
"Authorization": "Bearer ${SCRAPER_TOKEN}"
}
}
}
}
3. Ask your agent to work
Once connected, describe the job in plain language. For example:
- "Set up a project for shop.example.com and extract the title, price and stock of every product."
- "Run the catalog spider, wait for it to finish, and tell me how many items it collected."
- "Why did my last run fail?"
- "Export the products dataset as CSV."
Scraper also offers three guided prompts that your client lists next to its own:
-
setup_scraping_projectcreates a project for a target URL. -
build_extraction_recipebuilds and tests a recipe for the fields you name. -
diagnose_failed_runfinds out why a run failed and suggests a fix.
Agent tools
An agent sees only the tools its token allows. Start with workspace_overview,
then use api_search and api_describe to discover everything else.
| Group | Tools | What they do |
|---|---|---|
| Orientation |
workspace_overview, api_search, api_describe, activity_log
|
See projects and health, find operations and their schemas, and review past agent activity. |
| Scraping |
scrape, run_wait, run_result, job_wait
|
Scrape a URL or recipe in one call, wait for runs and jobs, and read a run's items, failures and files. |
| Data and files |
dataset_query, export_and_wait, artifact_read, artifact_upload
|
Filter and aggregate datasets, create exports, and read or upload files. |
| Setup in bulk |
workspace_apply, workspace_export
|
Create or update projects, recipes, spiders and profiles from one document. Pass dry_run to preview the changes.
|
| Sessions and secrets |
session_command, console_exec, secret_set
|
Control live sessions and consoles, and store a secret without being able to read it back. |
| Everything else |
api_call, api_batch
|
Call any permitted operation, or chain up to 25 steps in one request. |
Tools that change something accept an optional command_id. Send the same ID again and the agent gets the first result
instead of repeating the action.
Keep agents safe
- Choose the narrowest preset that does the job, and limit the token to the projects it needs.
- Keep the expiry short, such as 7 to 30 days, and rotate the token when it ends.
- Leave Reveal off for unattended agents. They can still store and use secrets without reading them.
- Scraped pages are untrusted. Scraper marks that content in its tool results, and your agent should never treat it as instructions.
- To cut off an agent, revoke its token under Agent access. Revoke all agent tokens ends every agent's access at once.
Each token is limited to 120 requests a minute and 4 tool calls at the same time. You can keep up to 20 active tokens.
Troubleshooting
| What you see | What to do |
|---|---|
| The agent gets 401 | The token is wrong, expired or revoked. Create a new one and update the environment variable. |
agent_grant_required
|
The token's preset does not allow that action. Issue a token with a wider preset or the needed toggle. |
| A tool is missing | The client lists only tools the token allows. Check the preset and the project list. |
| The agent gets 429 | It passed the rate limit. Let it slow down and retry. |
| A page returns 403 or a challenge | Switch to the stealth browser engine, use a logged-in session, or add a proxy. |
| Fields come back empty after a redesign | Use an adaptive selector with a saved baseline, then run the recipe again. |