On this page
ScrapeOps MCP Server
The ScrapeOps MCP Server exposes the ScrapeOps Proxy API to MCP-compatible IDEs (Cursor, Claude Desktop, VS Code, Windsurf). It gives AI agents first-class scraping and browsing tools with proxy support, anti-bot bypass, JavaScript rendering, screenshots, and LLM-powered extraction.
For the latest features and product changes, see the MCP Server Product Updates.
Capabilities
- Web browsing via the ScrapeOps Proxy API (with geo-targeting and residential/mobile IPs)
- Anti-bot bypass levels (Cloudflare, DataDome, PerimeterX, generic levels)
- JavaScript rendering for dynamic sites
- Screenshots (base64)
- Structured extraction (auto or LLM schemas) to return clean JSON
- Optimize-request logic to auto-test proxies and reuse the best-performing ones per site
Supported IDEs
| IDE | Configuration | Status |
|---|---|---|
| Cursor | ~/.cursor/mcp.json | ✅ Available |
| Claude Desktop | claude_desktop_config.json | ✅ Available |
| VS Code | User Settings JSON | ✅ Available |
| Windsurf | ./codeium/windsurf/model_config.json | ✅ Available |
Requirements
- Node.js >= 22
SCRAPEOPS_API_KEYfrom ScrapeOps Dashboard
Install & Run
Run the MCP server directly with npx:
env SCRAPEOPS_API_KEY=YOUR_API_KEY npx -y @scrapeops/mcpOr install globally for repeated use:
npm install -g @scrapeops/mcpscrapeops-mcp # uses SCRAPEOPS_API_KEY from envHTTP mode (local server)
To run the server over Streamable HTTP instead of stdio (development / self-hosted). This is not the hosted OAuth remote MCP:
export PORT=8080export SCRAPEOPS_API_KEY=YOUR_API_KEYscrapeops-mcp # or npm start# MCP endpoint: http://localhost:8080/mcpIf PORT is not set, the process runs in stdio mode (for npx / IDE configs above).
The deprecated HTTP+SSE paths /sse and /messages were removed. Use /mcp only. Clients that still call those paths get HTTP 410 with a migration message and a link to these docs. See the MCP Server changelog for details.
Configure Clients
Add the ScrapeOps MCP server to your preferred IDE:
Cursor
Cursor has built-in MCP support via Settings → Features → MCP Servers.
- Open Cursor Settings
- Go to Features → MCP Servers
- Click + Add new global MCP server
- Add the following configuration (or edit
~/.cursor/mcp.jsondirectly):
{ "mcpServers": { "@scrapeops/mcp": { "command": "npx", "args": ["-y", "@scrapeops/mcp"], "env": { "SCRAPEOPS_API_KEY": "YOUR_API_KEY" } } }}Claude Desktop
Claude Desktop supports MCP servers via claude_desktop_config.json.
Locate your config file (on macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows: %APPDATA%\Claude\claude_desktop_config.json) and add the following configuration.
{ "mcpServers": { "@scrapeops/mcp": { "command": "npx", "args": ["-y", "@scrapeops/mcp"], "env": { "SCRAPEOPS_API_KEY": "YOUR_API_KEY" } } }}VS Code
VS Code supports MCP servers via User Settings JSON.
Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P), search for "Preferences: Open User Settings (JSON)", and add the following configuration.
{ "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}" } } } }}Windsurf
Windsurf supports MCP servers via ./codeium/windsurf/model_config.json.
Create or edit the config file in your home directory at ~/.codeium/windsurf/model_config.json and add the following configuration.
{ "mcpServers": { "@scrapeops/mcp": { "command": "npx", "args": ["-y", "@scrapeops/mcp"], "env": { "SCRAPEOPS_API_KEY": "YOUR_API_KEY" } } }}Available Tools
The ScrapeOps MCP Server provides the following tools:
| Tool | Description |
|---|---|
maps_web | Browse any URL with proxy support, JS rendering, screenshots |
extract_data | Structured data extraction (auto or LLM schema-based) |
return_links | Extract and normalize all links on a page |
maps_web (browsing)
- Browse any URL with proxy support.
- Options:
country,residential,mobile,premium(level_1|level_2),bypass_level,render_js,wait,wait_for,scroll,screenshot,device_type,keep_headers,follow_redirects. - Behavior: starts simple; if blocked, you can retry with stronger settings (e.g., residential + bypass).
extract_data (structured data)
- Modes:
auto(domain parsers) orllm(schema-based). - Schemas:
product_page,product_search_page,job_search_page, etc. - Options:
bypass_level,render_js,wait_for,country,residential,mobile,premium. - Use when you want JSON instead of raw HTML.
return_links (link discovery)
- Extracts and normalizes all links on a page (pages vs assets).
- Converts relative URLs to absolute; filters mailto/tel/data/javascript.
- Options: same proxy/bypass fields (
country,residential,mobile,premium,bypass_level) to crawl protected pages reliably.
Optimize Request Flags
- Automatically runs lightweight tests to find working proxies for a target site.
- Reuses the successful proxy settings on subsequent requests to improve reliability and cost.
Error Handling (high level)
- Returns clear errors (e.g., invalid key, forbidden, rate limits) with suggestions.
- Network errors can be retried; advanced parameters (residential, premium, bypass) are user-controlled.
Local HTTP usage
You can run the MCP server over Streamable HTTP instead of stdio. Useful for local development. It uses your API key directly and does not require OAuth (unlike Remote MCP).
export PORT=8080export SCRAPEOPS_API_KEY=YOUR_API_KEYscrapeops-mcp # or npm start# MCP endpoint: http://localhost:8080/mcpPoint your MCP client to http://localhost:8080/mcp and pass the API key via header scrapeops-api-key (or rely on SCRAPEOPS_API_KEY in the server environment).
The server implements MCP protocol revision 2026-07-28 and still answers older clients (2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05) over /mcp and stdio. MCP HTTP clients should send Accept: application/json, text/event-stream (IDE clients do this automatically).
Cursor (HTTP)
Edit your Cursor MCP configuration (~/.cursor/mcp.json or via Settings → Features → MCP Servers):
{ "mcpServers": { "@scrapeops/mcp": { "url": "http://localhost:8080/mcp", "headers": { "scrapeops-api-key": "YOUR_API_KEY" } } }}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 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
/mcpwithAuthorization: Bearer <token>
The access token maps to that user’s ScrapeOps account. The account API key is used for Proxy API calls and is not returned to the client. Tokens expire, refresh tokens rotate, and reuse of an old refresh token revokes that connection. Users can revoke every connection at https://mcp.scrapeops.io/oauth/revoke-access.
npx -y @scrapeops/mcp with SCRAPEOPS_API_KEY is unchanged and remains the local/stdio install path.
Need help?
Email support@scrapeops.io for help connecting ScrapeOps to ChatGPT, troubleshooting requests, or account questions.