Skip to main content
Glama
Scrapeer MCP Server

Scrapeer MCP Server

Official
by Scrapeer

Scrapeer is a visual browser automation and web scraping platform for people who do not want to write scrapers from scratch. Build deterministic scraping workflows in a drag-and-drop editor, watch the browser run step by step, then run those same flows locally or in Scrapeer's cloud.

This MCP server connects AI agents to Scrapeer so they can:

  • run saved scraping flows and retrieve structured results

  • inspect flow definitions, block configs, execution steps, and run history

  • create or patch flows using Scrapeer's block catalog and validation APIs

  • check account credits and cancel active cloud runs

The result is a useful split of responsibilities: humans design reliable browser workflows in Scrapeer, and agents can trigger, monitor, debug, and extend those workflows through MCP.

Why Scrapeer

Scrapeer is built for glass-box scraping: you can see exactly what the scraper does, inspect each block's output, and fix the workflow when a site changes. Instead of asking an agent to improvise browser steps every time, Scrapeer gives agents a reliable set of saved, validated workflows they can run on demand.

Related MCP server: ScrapeGraph MCP Server

Quick Start

Create a Scrapeer API key at https://app.scrapeer.com/settings#security, then add the server to your MCP client. These examples use npx so users do not need to install the package globally.

Claude Code (.mcp.json)

For a project-scoped Claude Code config, create .mcp.json in the project root:

{
  "mcpServers": {
    "scrapeer": {
      "command": "npx",
      "args": ["-y", "@scrapeer/mcp-server"],
      "env": { "SCRAPEER_API_KEY": "sk_..." }
    }
  }
}

For a private user-scoped config, run claude mcp add --scope user --env SCRAPEER_API_KEY=sk_... scrapeer -- npx -y @scrapeer/mcp-server so Claude writes the correct ~/.claude.json entry for your machine.

Codex CLI and IDE extension (~/.codex/config.toml)

[mcp_servers.scrapeer]
command = "npx"
args = ["-y", "@scrapeer/mcp-server"]

[mcp_servers.scrapeer.env]
SCRAPEER_API_KEY = "sk_..."

Cursor (~/.cursor/mcp.json or .cursor/mcp.json)

{
  "mcpServers": {
    "scrapeer": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@scrapeer/mcp-server"],
      "env": { "SCRAPEER_API_KEY": "sk_..." }
    }
  }
}

VS Code Copilot (.vscode/mcp.json)

{
  "servers": {
    "scrapeer": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@scrapeer/mcp-server"],
      "env": { "SCRAPEER_API_KEY": "sk_..." }
    }
  }
}

Available Tools

Read

Tool

Description

scrapeer_list_flows

List your saved scraping flows

scrapeer_get_flow

Get details about a specific flow

scrapeer_get_block_catalog

List the block types available for use in flows, with their custom-field schemas. Call this before any create/update/patch; guessing types or config keys leads to validation failures

scrapeer_validate_flow

Dry-run validate a flow JSON without saving

scrapeer_get_account

Account info: credit balance, subscription plan, cloud-run availability

Run

Tool

Description

scrapeer_run_flow

Trigger a cloud run and return immediately with an execution ID

scrapeer_run_flow_and_wait

Run a flow and poll until results are ready (recommended)

scrapeer_get_run_status

Check the status of a running or completed execution

scrapeer_get_run_results

Get structured output data from a completed run

scrapeer_get_run_steps

Get block-by-block execution breakdown (useful for debugging failures)

scrapeer_list_runs

List execution history, with optional filtering by status or flow

scrapeer_cancel_run

Cancel an active cloud execution

Mutate

Tool

Description

scrapeer_create_flow

Create a new (empty) flow with the given title

scrapeer_update_flow

Replace a flow's entire definition (whole-flow overwrite). Prefer scrapeer_patch_flow for incremental edits

scrapeer_patch_flow

Apply granular patch operations: add_block, update_block_custom, remove_block, add_edge, remove_edge

The mutation tools enforce optimistic concurrency. Every save sends the version stamp the caller saw on its last read, and the gateway rejects stale writes with 409 so concurrent edits from a human in the editor and an LLM via MCP cannot silently overwrite each other. The MCP server tracks this version stamp automatically across calls in the same session, so the LLM does not have to manage it manually.

Typical sequences:

Create from scratch:

scrapeer_get_block_catalog       -> learn valid block types
scrapeer_create_flow             -> returns flow_id (event_id cached)
scrapeer_patch_flow flow_id [...] -> add_block ops; cache -> baseProjectEventID

Modify an existing flow:

scrapeer_get_block_catalog       -> learn valid block types
scrapeer_get_flow flow_id        -> caches the current event_id
scrapeer_validate_flow {...}     -> optional dry-run before commit
scrapeer_patch_flow flow_id [...] -> uses cached event_id automatically

If a 409 fires, the cached event_id is invalidated automatically. Re-call scrapeer_get_flow and retry the mutation.

Configuration

Variable

Required

Default

Description

SCRAPEER_API_KEY

Yes

-

API key from app.scrapeer.com/settings

Development

pnpm install
pnpm test
pnpm run build

Tests use msw to mock the Scrapeer API. No real credentials are needed.

Available Tools

15 tools
scrapeer_cancel_runA
DestructiveIdempotent

Cancel a running cloud execution. USE THIS TOOL WHEN: a run is taking too long, the user wants to stop it, or scrapeer_run_flow_and_wait timed out and you want to abort the run. DO NOT USE: on already-completed or already-failed runs.

Inputs: execution_id (required).

scrapeer_create_flowA

Create a new (empty) flow with the given title. Returns the new flow's ID. Use scrapeer_update_flow or scrapeer_patch_flow afterwards to add blocks. USE THIS TOOL WHEN: the user asks to create a new automation/scraper. DO NOT USE: to overwrite an existing flow's data (use scrapeer_update_flow with the existing flow's ID).

Inputs: title (required).

scrapeer_get_accountA
Read-onlyIdempotent

Get your Scrapeer account info - credit balance, subscription plan, and whether cloud runs are enabled. USE THIS TOOL WHEN: you need to check if the user has enough credits before running a flow, or the user asks about their plan, balance, or account status. DO NOT USE: to list flows or runs.

Inputs: no named parameters.

scrapeer_get_block_catalogA
Read-onlyIdempotent

List the block types available for use in flows, with their custom-field schemas. USE THIS TOOL WHEN: you are about to create or modify a flow and need to know which block types exist, what their type strings are (e.g. clickElement, extractText), and what config fields each block accepts. ALWAYS call this BEFORE scrapeer_create_flow, scrapeer_update_flow, or scrapeer_patch_flow - guessing block types or config keys leads to validation failures. DO NOT USE: to read an existing flow's blocks (use scrapeer_get_flow).

Inputs: no named parameters.

scrapeer_get_flowA
Read-onlyIdempotent

Get details about a specific scraping flow - its blocks (with full config, selectors, and variables), edges, and metadata. Accepts either a flow ID (UUID) or a flow name. NOTE: Only blocks reachable from the Start block are returned. Orphaned/disconnected blocks on the canvas are pruned. USE THIS TOOL WHEN: you know which flow you want details about (by name or ID), you need to inspect selectors or block config, or you're debugging a flow. DO NOT USE: to list all flows (use scrapeer_list_flows).

Inputs: flow (required).

scrapeer_get_run_resultsA
Read-onlyIdempotent

Get the variables and per-block output previews from a completed run. USE THIS TOOL WHEN: scrapeer_get_run_status shows "completed" and you need the scraped output. DO NOT USE: if the run is still active (check status first). Returns the final variables map (scraped values written by Extract/Collect/Variable blocks) and block_previews - one envelope per block at the (blockId, loopContextHash) grain. Each envelope is {kind:"single", data, truncated} for non-looped blocks or {kind:"iterated", iterations:[...], iterationsTruncated} for blocks that ran inside a loop.

Inputs: execution_id (required).

scrapeer_get_run_statusA
Read-onlyIdempotent

Check the status of a cloud run. USE THIS TOOL WHEN: you started a run with scrapeer_run_flow and need to check if it's done, or you're monitoring a run that was started elsewhere (web app, schedule). DO NOT USE: to get results (use scrapeer_get_run_results after status is "completed").

Inputs: execution_id (required).

scrapeer_get_run_stepsA
Read-onlyIdempotent

Get block-by-block execution breakdown of a run. USE THIS TOOL WHEN: a run failed and you need to know which block caused the error, or you want to understand execution timing, or you want to see which blocks have preview envelopes before calling scrapeer_get_run_results. DO NOT USE: to get the actual scraped values (use scrapeer_get_run_results).

Inputs: execution_id (required).

scrapeer_list_flowsA
Read-onlyIdempotent

List your saved scraping flows. USE THIS TOOL WHEN: you need to find a flow ID, the user says "list my flows/scrapers", or you need to discover available flows before running one. DO NOT USE: to get details about a specific flow (use scrapeer_get_flow).

Inputs: limit, offset.

scrapeer_list_runsA
Read-onlyIdempotent

List execution history. USE THIS TOOL WHEN: user asks about past runs, wants to see execution history, or you need to find a specific run. Supports filtering by status and flow. DO NOT USE: to get details of a specific run (use scrapeer_get_run_status or scrapeer_get_run_results).

Inputs: flow, limit, offset, status.

scrapeer_patch_flowA
Destructive

Apply a list of granular patch operations to a flow's graph: add_block, update_block_custom, remove_block, add_edge, remove_edge. PREFERRED over scrapeer_update_flow for incremental edits - smaller blast radius and validated per-op server-side. USE THIS TOOL WHEN: making targeted changes (adding a block to an existing flow, fixing a selector, rewiring an edge). DO NOT USE: when the change touches most of the flow at once (use scrapeer_update_flow). Always call scrapeer_get_block_catalog first; ALWAYS call scrapeer_get_flow on this flow earlier in the session so the MCP server can attach the version stamp for optimistic concurrency. Returns the post-patch flow plus a summary of each operation's effect.

Inputs: flow (required), operations (required), baseProjectEventID.

scrapeer_run_flowA

Trigger a cloud run of a scraping flow. Returns immediately with an execution ID. Accepts either a flow ID (UUID) or a flow name. USE THIS TOOL WHEN: you want to start a run and manage polling yourself, or you want to trigger multiple runs in parallel. DO NOT USE: if you want results in one call (use scrapeer_run_flow_and_wait instead). The run executes in Scrapeer's cloud.

Inputs: flow (required), max_credits.

scrapeer_run_flow_and_waitA

Execute a scraping flow and wait for results. This is the recommended way to run flows. Accepts either a flow ID (UUID) or a flow name. USE THIS TOOL WHEN: user says "run my scraper", "scrape X", "execute my flow", or you need data from a pre-built flow. DO NOT USE: to check status of an already-running flow (use scrapeer_get_run_status), to list available flows (use scrapeer_list_flows first to find the flow). Triggers a cloud run, polls until complete, and returns structured results.

Inputs: flow (required), max_credits, timeout_seconds.

scrapeer_update_flowA
Destructive

Replace a flow's entire definition with the supplied flow JSON. WARNING: this overwrites the WHOLE flow - every block, edge, and config. PREFER scrapeer_patch_flow for incremental edits (adding a block, changing one selector). USE THIS TOOL WHEN: you need to apply a wholesale rewrite (e.g. importing a flow from elsewhere) or the change touches most of the flow at once. Always call scrapeer_get_block_catalog first to know valid block types and config keys, and consider scrapeer_validate_flow to dry-run. Optimistic concurrency: the MCP server automatically attaches the version stamp from your last scrapeer_get_flow on this flow. If the flow was modified elsewhere since, the call returns 409 - re-fetch with scrapeer_get_flow and retry.

Inputs: data (required), flow (required), baseProjectEventID.

scrapeer_validate_flowA
Read-onlyIdempotent

Dry-run validate a flow without saving it. USE THIS TOOL WHEN: you've constructed a flow and want to check whether it will be accepted by the gateway before calling scrapeer_create_flow / scrapeer_update_flow. Returns { ok, errors[], warnings[] }. Errors block save; warnings are advisory. DO NOT USE: to validate a stored flow (no persistent flow lookup - pass the flow JSON directly).

Inputs: flow (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: flows, runs, account, and block catalog are separate. The two run tools are clearly differentiated (immediate vs wait), and update_flow vs patch_flow are distinguished by scope (full replace vs granular ops). No two tools appear to do the same thing.

    Naming Consistency5/5

    All tools follow a consistent scrapeer_verb_noun pattern in snake_case (list_flows, get_flow, run_flow, get_run_status, create_flow). Even compound names like run_flow_and_wait and get_block_catalog maintain the pattern, making the set highly predictable.

    Tool Count5/5

    15 tools is within the ideal 3-15 range and each tool earns its place by covering a distinct aspect of flow and run lifecycle management. The count feels well-scoped for a scraping platform, not bloated or thin.

    Completeness4/5

    The tool set covers flow management (list, get, create, update, patch, validate) and run management (run, wait, status, results, steps, list, cancel) plus account and block catalog. The main gap is the lack of a delete_flow tool, but core workflows are otherwise well covered.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers