Need a proxy solution? Try ScrapeOps and get 1,000 free requests here, or compare all proxy providers here!
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.

iMCP Server Product Updates

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

IDEConfigurationStatus
Cursor~/.cursor/mcp.json✅ Available
Claude Desktopclaude_desktop_config.json✅ Available
VS CodeUser Settings JSON✅ Available
Windsurf./codeium/windsurf/model_config.json✅ Available

Requirements


Install & Run

Run the MCP server directly with npx:

Shell
env SCRAPEOPS_API_KEY=YOUR_API_KEY npx -y @scrapeops/mcp

Or install globally for repeated use:

Shell
npm install -g @scrapeops/mcp
scrapeops-mcp # uses SCRAPEOPS_API_KEY from env

HTTP mode (local server)

To run the server over Streamable HTTP instead of stdio (development / self-hosted). This is not the hosted OAuth remote MCP:

Shell
export PORT=8080
export SCRAPEOPS_API_KEY=YOUR_API_KEY
scrapeops-mcp # or npm start
# MCP endpoint: http://localhost:8080/mcp

If PORT is not set, the process runs in stdio mode (for npx / IDE configs above).

iBreaking change in 2.0.0

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.

  1. Open Cursor Settings
  2. Go to Features → MCP Servers
  3. Click + Add new global MCP server
  4. Add the following configuration (or edit ~/.cursor/mcp.json directly):
JSON
{
"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.

JSON
{
"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.

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}" }
}
}
}
}

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.

JSON
{
"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:

ToolDescription
maps_webBrowse any URL with proxy support, JS rendering, screenshots
extract_dataStructured data extraction (auto or LLM schema-based)
return_linksExtract 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) or llm (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.
  • 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).

Shell
export PORT=8080
export SCRAPEOPS_API_KEY=YOUR_API_KEY
scrapeops-mcp # or npm start
# MCP endpoint: http://localhost:8080/mcp

Point 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):

JSON
{
"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:

  1. Reads the OAuth protected-resource and authorization-server metadata
  2. Registers itself with dynamic client registration
  3. Sends the user to the ScrapeOps sign-in and approval page
  4. Calls /mcp with Authorization: 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.