ScrapeOps MCP Server
OfficialScrapeOps MCP Server lets LLM clients browse, scrape, and analyze websites through the ScrapeOps Proxy API.
Browse or scrape any webpage with geo-targeting, JS rendering, residential/mobile proxies, anti-bot bypass, screenshots, and wait/scroll controls (
maps_web).Extract structured data with auto-parsers or LLM-powered schemas into JSON or Markdown (
extract_data).Extract and categorize page links and asset URLs from a webpage (
return_links).Analyze scraping difficulty, anti-bot systems, JS rendering needs, legality, page types, data sources, API endpoints, tech stack, CSS selector stability, and generate data schemas (README analysis tools).
Enables structured data extraction from Amazon product pages using auto-parsing mode, such as product details, pricing, and reviews.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ScrapeOps MCP Server Scrape https://example.com and extract the title"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ScrapeOps MCP Server
A Model Context Protocol (MCP) server that exposes the full capabilities of the ScrapeOps Proxy API to LLM clients (Cursor, Claude Desktop, VS Code). Enable AI agents to browse the web, bypass anti-bots, render JavaScript, take screenshots, and perform structured data extraction autonomously.
Features
🌐 Web Browsing - Browse any webpage with proxy support
🌍 Geo-Targeting - Access websites from 12+ countries
🏠 Residential/Mobile Proxies - Higher success rates on challenging sites
🤖 Anti-Bot Bypass - Multiple bypass levels (Cloudflare, DataDome, PerimeterX, etc.)
🖼️ Screenshots - Capture visual snapshots of pages
⚡ JavaScript Rendering - Full headless browser capabilities
📊 Structured Extraction - LLM-powered data extraction with schemas
🔄 Auto-Extract - Domain-specific parsers for popular sites
🔗 Link Extraction - Discover page and asset URLs from any webpage
🧭 Scraping Analysis - Difficulty scoring, anti-bot detection, JS rendering checks, tech stack, CSS selector stability, legality, page-type classification, data sources, API endpoints, and schema generation
Related MCP server: Bright Data MCP Server
Installation
Running with npx
env SCRAPEOPS_API_KEY=YOUR_API_KEY npx -y @scrapeops/mcpManual Installation
npm install -g @scrapeops/mcpConfiguration
Environment Variables
Variable | Required | Description |
| Yes | Your ScrapeOps API key from scrapeops.io |
How It Works
The MCP server uses a simple, single-request approach:
Basic Request: If no options are specified, a basic request is made (URL only)
User-Specified Options: If options like
render_js,residential, orpremiumare specified, they are used directlyOn Failure: Returns helpful error with suggestions - the AI/user decides what to do next
No Auto-Retry: The server does not automatically retry with different options - this gives you full control
Example Flow:
You ask: "Scrape https://example.com"
Server makes basic request (no extra params)
If it fails (403), returns error with suggestions: "Try with
residential: true"You decide: "OK, scrape it with residential proxy"
Server makes request with
residential: true
Running on Cursor
Open Cursor Settings
Go to Features > MCP Servers
Click "+ Add new global MCP server"
Enter the following configuration:
{
"mcpServers": {
"@scrapeops/mcp": {
"command": "npx",
"args": ["-y", "@scrapeops/mcp"],
"env": {
"SCRAPEOPS_API_KEY": "YOUR-API-KEY"
}
}
}
}for development environment
{
"mcpServers": {
"@scrapeops/mcp": {
"url": "http://localhost:8080/mcp",
"headers": {
"scrapeops-api-key": "SCRAPEOPS_API_KEY"
}
}
}
}Running on Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"@scrapeops/mcp": {
"command": "npx",
"args": ["-y", "@scrapeops/mcp"],
"env": {
"SCRAPEOPS_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}for development environment
Replace /ABSOLUTE/PATH/TO/scrapeops-mcp-server/dist/index.js with the absolute path to your local built entry point (run npm run build first).
{
"mcpServers": {
"scrapeops-mcp": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/scrapeops-mcp-server/dist/index.js"
],
"env": {
"SCRAPEOPS_API_KEY": "SCRAPEOPS_API_KEY"
}
}
},
"preferences": {
"sidebarMode": "chat",
"coworkScheduledTasksEnabled": false
}
}Running on VS Code
Add to your User Settings (JSON) via Ctrl + Shift + P → Preferences: Open User Settings (JSON):
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "apiKey",
"description": "ScrapeOps API Key",
"password": true
}
],
"servers": {
"scrapeops": {
"command": "npx",
"args": ["-y", "@scrapeops/mcp"],
"env": {
"SCRAPEOPS_API_KEY": "${input:apiKey}"
}
}
}
}
}Running on Windsurf
Add to your ./codeium/windsurf/model_config.json:
{
"mcpServers": {
"@scrapeops/mcp": {
"command": "npx",
"args": ["-y", "@scrapeops/mcp"],
"env": {
"SCRAPEOPS_API_KEY": "YOUR_API_KEY"
}
}
}
}Running a local HTTP server
You can run the same MCP server over HTTP instead of stdio. This is useful for development. It is not the hosted OAuth server.
1. Start the server:
# Set the port for HTTP mode (required for local server)
export PORT=8080
export SCRAPEOPS_API_KEY=your-api-key-here
# Run the server
npm start
# or if you have the package installed globally
scrapeops-mcpThe server exposes Streamable HTTP at http://localhost:8080/mcp (or the port specified by PORT). This is the only HTTP endpoint: the deprecated HTTP+SSE transport (/sse, /messages) was removed in 2.0.0.
The server implements MCP protocol revision 2026-07-28 and still answers clients on 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05, over both stdio and HTTP. Over HTTP, 2025-era clients get a plain JSON body (enableJsonResponse: true); 2026-era clients may get JSON or text/event-stream depending on the exchange. Clients must still send Accept: application/json, text/event-stream. Invalid tool arguments come back as a tool result with isError: true instead of a JSON-RPC error.
Note: If PORT is not set, the server runs in stdio mode (for use with npx in MCP clients like Cursor). Set PORT explicitly to run as an HTTP server.
2. Configure Cursor to connect to the local server:
Edit your Cursor MCP configuration file (typically at ~/.cursor/mcp.json or in Cursor Settings):
{
"mcpServers": {
"@scrapeops/mcp": {
"url": "http://localhost:8080/mcp",
"headers": {
"scrapeops-api-key": "your-api-key-here"
}
}
}
}Note: When using the local HTTP transport, you can pass the API key either:
Via the
scrapeops-api-keyheader in the configuration (as shown above), orVia the
SCRAPEOPS_API_KEYenvironment variable when starting the server
This local HTTP mode is separate from the hosted remote MCP. It keeps using your API key directly and does not require OAuth.
Remote MCP
The hosted server is for clients that connect over HTTPS instead of running the npm package, including Claude's remote connector directory.
Endpoint: https://mcp.scrapeops.io/mcp
Claude users add that URL as a remote MCP connector. The server responds to an unauthenticated request with a 401 and a WWW-Authenticate challenge. Claude then:
Reads the OAuth protected-resource and authorization-server metadata
Registers itself with dynamic client registration
Sends the user to the ScrapeOps sign-in and approval page
Calls the MCP endpoint with
Authorization: Bearer <token>
The access token is resolved on the server to that user's ScrapeOps account. The account API key is used for Proxy API calls and is not returned to Claude. Tokens expire, refresh tokens rotate, and reuse of an old refresh token revokes that connection. A user can also revoke every connection at https://mcp.scrapeops.io/oauth/revoke-access.
npx -y @scrapeops/mcp with SCRAPEOPS_API_KEY is unchanged.
Deployment
The remote server is a separate Node process from the ScrapeOps frontend. Terminate TLS at the load balancer and forward https://mcp.scrapeops.io to the container. The process expects X-Forwarded-Proto: https in production.
docker build -t scrapeops-mcp .
# Generate once and reuse across restarts/deployments (do not regenerate each run).
export TOKEN_ENCRYPTION_KEY="$(openssl rand -hex 32)"
docker run --rm -p 8080:8080 \
-e PUBLIC_BASE_URL=https://mcp.scrapeops.io \
-e TOKEN_ENCRYPTION_KEY="$TOKEN_ENCRYPTION_KEY" \
-e SENTRY_DSN=https://key@o0.ingest.sentry.io/0 \
-v scrapeops-mcp-data:/data \
scrapeops-mcpVariable | Required in production | Description |
| Yes | Public origin, for example |
| Yes | 32-byte key ( |
| Yes |
|
| Yes |
|
| No | SQLite directory for OAuth clients and tokens. Defaults to |
| No | Login API. Defaults to |
| No | Sends server errors to Sentry |
| No | Set to |
| No | Extra browser origins, comma-separated. |
GET /health returns { "status": "ok" }. MCP and OAuth routes require HTTPS when NODE_ENV=production. Requests are rate limited per IP and per account.
Before submitting the Claude connector, confirm with a deployed server:
https://mcp.scrapeops.io/mcpis accepted as a remote MCP URL.Claude discovers the proxy tools (
maps_web,extract_data,return_links) and the analysis tools listed below.Connect opens the ScrapeOps sign-in page.
After approval, a tool call is billed to the signed-in account.
Revoking access from Claude, or at
/oauth/revoke-access, makes the next call return401.
Available Tools
Proxy & extraction tools
Tool 1: maps_web
General-purpose web browsing tool for reading pages, taking screenshots, and bypassing anti-bot protections.
Usage Examples:
// Simple page browse
{
"name": "maps_web",
"arguments": {
"url": "https://example.com"
}
}
// Screenshot from Germany with residential proxy
{
"name": "maps_web",
"arguments": {
"url": "https://example.de",
"country": "de",
"residential": true,
"screenshot": true
}
}
// Bypass Cloudflare protection
{
"name": "maps_web",
"arguments": {
"url": "https://protected-site.com",
"bypass_level": "cloudflare_level_2",
"residential": true,
"render_js": true
}
}Tool 2: extract_data
Structured data extraction using auto-parsing or LLM-powered extraction.
Usage Examples:
// Auto-extract from known domain
{
"name": "extract_data",
"arguments": {
"url": "https://www.amazon.com/dp/B09V3KXJPB",
"mode": "auto"
}
}
// LLM extraction for product page
{
"name": "extract_data",
"arguments": {
"url": "https://shop.example.com/product/123",
"mode": "llm",
"data_schema": "product_page",
"response_format": "json"
}
}
// Extract job listings with anti-bot bypass
{
"name": "extract_data",
"arguments": {
"url": "https://careers.example.com/jobs",
"mode": "llm",
"data_schema": "job_search_page",
"bypass_level": "generic_level_2",
"render_js": true
}
}Tool 3: return_links
Extract and categorize URLs from a webpage into pages (navigational HTML links) and assets (images, scripts, stylesheets, media, embeds). Relative URLs are absolutized and duplicates removed.
Usage Examples:
{
"name": "return_links",
"arguments": {
"url": "https://example.com"
}
}
{
"name": "return_links",
"arguments": {
"url": "https://protected-site.com",
"bypass_level": "generic_level_1"
}
}Scraping analysis tools
These tools help plan a scrape before spending credits on heavy proxy/bypass options. Several call the ScrapeOps parser / web-analyzer service in addition to the Proxy API.
Tool 4: analyze_scraping_difficulty
Score how hard a URL is to scrape (1–5), including anti-bot signals, JS framework needs, CSS selector stability, rate limiting, bandwidth, and residential-IP guidance.
{
"name": "analyze_scraping_difficulty",
"arguments": {
"url": "https://example.com"
}
}Tool 5: check_js_rendering
Compare a basic fetch vs a JS-rendered fetch to decide whether rendering is required, and report missing content / SPA indicators / frameworks.
{
"name": "check_js_rendering",
"arguments": {
"url": "https://example.com"
}
}Tool 6: detect_anti_bots
Detect anti-bot systems (Cloudflare, DataDome, PerimeterX/HUMAN, Incapsula, Akamai, AWS WAF, Sucuri, reCAPTCHA, hCaptcha, Kasada, Shape/F5) with confidence, evidence, and recommended maps_web bypass settings.
{
"name": "detect_anti_bots",
"arguments": {
"url": "https://example.com"
}
}Tool 7: check_scraping_legality
Informational robots.txt / Terms of Service analysis: allowed paths, crawl delays, scraping-related clauses, risk level, and known lawsuit notes. Not legal advice.
{
"name": "check_scraping_legality",
"arguments": {
"url": "https://example.com"
}
}Tool 8: classify_page_type
Classify a page (product, SERP, job, article, company, real estate, captcha/ban, etc.) with reasoning and confidence so you can pick the right extraction schema.
{
"name": "classify_page_type",
"arguments": {
"url": "https://shop.example.com/product/123"
}
}Tool 9: identify_data_sources
Find where target data lives: static HTML, embedded JSON (JSON-LD, __NEXT_DATA__, etc.), or network/XHR responses — with extracted items and scraping recommendations.
{
"name": "identify_data_sources",
"arguments": {
"url": "https://example.com/products/blue-widget"
}
}Tool 10: analyze_api_endpoints
From JS-rendered network capture, identify which XHR/fetch calls return primary data and document method, params, auth hints, and pagination so browser scraping can be replaced with API scraping when possible.
{
"name": "analyze_api_endpoints",
"arguments": {
"url": "https://example.com/products"
}
}Tool 11: detect_tech_stack
Detect frameworks, libraries, CMS, CSS, ecommerce, analytics, and payment tooling, plus rendering mode (SSR/CSR/SSG) and scraping implications.
{
"name": "detect_tech_stack",
"arguments": {
"url": "https://example.com"
}
}Tool 12: check_css_selectors
Fetch the page multiple times with JS rendering and classify selectors as stable, dynamic, or obfuscated, with recommended selector strategies.
{
"name": "check_css_selectors",
"arguments": {
"url": "https://example.com"
}
}Tool 13: generate_data_schema
Classify the page (or accept a page_type override) and return a barebones JSON schema from the ScrapeOps schema library for use with extract_data LLM mode.
{
"name": "generate_data_schema",
"arguments": {
"url": "https://shop.example.com/product/123"
}
}
{
"name": "generate_data_schema",
"arguments": {
"url": "https://shop.example.com/product/123",
"page_type": "product_page"
}
}User Stories
The Visual Debugger
"User complains a site looks broken in Germany. The AI calls
maps_web(url='...', country='de', screenshot=true). The user sees the actual screenshot of the site rendered via a German residential IP."
The Efficient Scraper
"User needs pricing data. Instead of fetching HTML and parsing it (wasting tokens), the AI calls
extract_data(url='...', mode='llm', data_schema='product_page'). ScrapeOps handles the heavy lifting, and the AI just displays the final JSON."
The Bypass Expert
"The AI tries to access a site and gets blocked. It automatically retries the request using
maps_webwithbypass_level='generic_level_3'andresidential=trueto overcome the blockage."
The Scraping Planner
"Before burning credits on a hard target, the AI runs
analyze_scraping_difficulty,detect_anti_bots, andcheck_js_rendering. It then picks bypass/render settings (or switches to API scraping viaanalyze_api_endpoints) and generates a schema withgenerate_data_schemabefore callingextract_data."
System Configuration
The server includes configurable retry parameters with exponential backoff:
const RETRY_CONFIG = {
maxAttempts: 1,
initialDelay: 1000,
};Retry Behavior:
Network errors are retried once regardless of maxAttempts setting
To enable retries, set
SCRAPEOPS_RETRY_MAX_ATTEMPTSenvironment variable
Custom Configuration Example:
# Enable retries with 3 attempts
export SCRAPEOPS_RETRY_MAX_ATTEMPTS=3
export SCRAPEOPS_RETRY_INITIAL_DELAY=1000Error Handling
Status Code | Error | Resolution |
401 | Invalid API Key | Check your |
403 | Forbidden | Target website blocking request - consider using advanced parameters |
404 | Not Found | Verify the URL is correct |
429 | Rate Limited | Too many requests - wait before retrying (NOT auto-retried) |
500 | Server Error | Automatically retried up to 3 times with exponential backoff |
502/503 | Gateway/Service Error | Temporary issue - NOT auto-retried |
Development
# Install dependencies
npm install
# Build
npm run build
# Run locally (stdio transport)
SCRAPEOPS_API_KEY=your-key npm start
# Run tests
npm testAPI Reference
Base URL: https://proxy.scrapeops.io/v1/
Authentication: Query parameter ?api_key=... (managed via server-side environment variables)
For full API documentation, visit ScrapeOps Documentation.
License
MIT License - see LICENSE file for details.
Support
Available Tools
3 toolsextract_dataA
Extract structured data from webpages using auto-parsing or LLM-powered extraction.
Best for:
Getting product information (prices, names, descriptions)
Extracting job listings data
Parsing search results
Collecting structured company information
Real estate listings extraction
Extraction Modes:
auto: Domain-specific parsers for common sites (Amazon, Google, etc.)
llm: AI-powered extraction with customizable schemas
Data Schemas (for LLM mode):
Product: product_page, product_reviews_page, product_search_page, product_seller_page
Jobs: job_page, job_advert_page, job_search_page
Company: company_page, company_job_page, company_review_page, company_search_page
Real Estate: real_estate_page, real_estate_profile_page, real_estate_search_page
Search: serp_search_page
Usage Examples:
Auto-extract from known domain:
{
"name": "extract_data",
"arguments": {
"url": "https://www.amazon.com/dp/B09V3KXJPB",
"mode": "auto"
}
}LLM extraction for product page:
{
"name": "extract_data",
"arguments": {
"url": "https://shop.example.com/product/123",
"mode": "llm",
"data_schema": "product_page",
"response_format": "json"
}
}Extract job listings with anti-bot bypass:
{
"name": "extract_data",
"arguments": {
"url": "https://careers.example.com/jobs",
"mode": "llm",
"data_schema": "job_search_page",
"bypass_level": "generic_level_2",
"render_js": true
}
}Extract real estate data in markdown:
{
"name": "extract_data",
"arguments": {
"url": "https://realestate.example.com/listing/456",
"mode": "llm",
"data_schema": "real_estate_page",
"response_format": "markdown"
}
}Returns: Structured JSON or Markdown data extracted from the page.
Inputs: url (required), mode (required), response_format (required), wait, +14 more.
maps_webA
Browse and scrape any webpage with advanced proxy and rendering capabilities.
Best for:
Reading webpage content
Taking screenshots of websites
Verifying how a site looks from different countries
Bypassing anti-bot protections
Accessing JavaScript-rendered content
Key Features:
Geo-targeting: Access websites from different countries
JavaScript Rendering: Render SPAs and dynamic content
Residential/Mobile Proxies: Better success on challenging sites
Screenshots: Capture visual snapshots of pages
Anti-Bot Bypass: Multiple bypass levels for protected sites
Wait Controls: Wait for elements or time before capture
Usage Examples:
Simple page browse:
{
"name": "maps_web",
"arguments": {
"url": "https://example.com"
}
}Screenshot for website:
{
"name": "maps_web",
"arguments": {
"url": "https://example.de",
"render_js": true,
"json_response": true,
"screenshot": true
}
}Access Cloudflare-protected site:
{
"name": "maps_web",
"arguments": {
"url": "https://protected-site.com",
"bypass_level": "cloudflare_level_2",
"residential": true,
"render_js": true
}
}Wait for dynamic content:
{
"name": "maps_web",
"arguments": {
"url": "https://spa-app.com",
"render_js": true,
"wait_for": ".product-list",
"wait": 2000
}
}Returns: HTML content, or JSON with screenshot (base64) if screenshot=true.
IMPORTANT - Default Behavior:
Always start with BASIC settings (just the URL)
Do NOT use advanced parameters (render_js, residential, bypass_level, premium) unless:
The user explicitly requests them, OR
A previous request failed AND the user gives permission to use them
If a request fails:
The error response will ask for permission to retry with advanced options
Wait for user confirmation before using advanced parameters
Never auto-enable advanced parameters without user consent
Inputs: url (required), wait, mobile, scroll, +14 more.
return_linksA
Extract and categorize all URLs from a webpage.
Best for:
Discovering all links on a page
Building sitemaps
Finding all assets (images, scripts, stylesheets)
Web crawling and link analysis
Identifying internal vs external links
What it extracts:
Links from , tags
Images from ,
Scripts from
Stylesheets from
Media from , ,
Embedded content from , ,
URLs from CSS url() functions
Meta refresh redirects
Open Graph and meta image URLs
URL Processing:
Converts relative URLs to absolute
Removes duplicates
Filters out mailto:, tel:, javascript:, data: URLs
Categorizes into pages vs assets
Returns: JSON with two arrays:
pages: HTML documents and navigational URLs
assets: Static resources (js, css, images, fonts, media)
Usage Examples:
Basic URL extraction:
{
"name": "return_links",
"arguments": {
"url": "https://example.com"
}
}Extract URLs from protected site:
{
"name": "return_links",
"arguments": {
"url": "https://protected-site.com",
"bypass_level": "generic_level_1"
}
}Geo-targeted extraction:
{
"name": "return_links",
"arguments": {
"url": "https://example.de",
"country": "de"
}
}Inputs: url (required), mobile, country, premium, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clear, distinct purpose: maps_web for general browsing and scraping, extract_data for structured data extraction, and return_links for URL extraction. There is no functional overlap.
All tools follow a verb_noun pattern with underscores (maps_web, extract_data, return_links). However, 'maps_web' is a slightly ambiguous verb choice, deviating from the more descriptive verbs like 'extract' and 'return'.
Three tools is low but sufficient for a focused scraping toolkit. They cover the core tasks: browsing, data extraction, and link analysis. Additional tools (e.g., dedicated screenshot) could be added, but the current count is reasonable.
The tool surface covers the primary scraping workflows: browsing with advanced features (maps_web), structured extraction (extract_data), and link discovery (return_links). Minor gaps exist, such as lack of form interaction or session management, but core needs are met.
Related MCP Connectors
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Web scraping, search, crawling, structured extraction and research for AI agents.
Proxy-rotated web scraping and cross-platform intelligence for AI agents.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to scrape any website by providing tools for JavaScript rendering, antibot bypass, and automatic captcha solving. It supports synchronous, asynchronous, and batch scraping operations with built-in proxy rotation.5MIT
- AlicenseBqualityDmaintenanceEnables AI agents to browse and extract data from any public website via Bright Data's cloud infrastructure, handling proxy rotation, CAPTCHA solving, and JavaScript rendering.57MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to operate a real, anti-bot-aware browser through Zyte API for navigating pages, clicking, typing, scrolling, taking screenshots, searching, and extracting structured data, with automatic proxy rotation and ban avoidance.17 npm-
- AlicenseAqualityBmaintenanceEnables AI agents to perform web searches, fetch and extract page content, and crawl sites with caching, rate limiting, and robots.txt compliance, all without needing API keys.17504 PyPI2MIT