Back to Browse

Scrapfly MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Scrape any website, extract structured data, and collect web content at scale with AI agents

About

Scrape any website, extract structured data, and collect web content at scale with AI agents

Remote endpoints: streamable-http: https://mcp.scrapfly.io/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (4 strong, 2 medium validity signals). 1 code issue detected. No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.

Endpoint verified ยท Requires authentication ยท 3 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

network_websocket

Check that this permission is expected for this type of plugin.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

Scrapfly API key. Without it, the server signs you in with OAuth.Required

Environment variable: SCRAPFLY_API_KEY

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

Scrapfly MCP Server


At a glance

Remote serverhttps://mcp.scrapfly.io/mcp (streamable HTTP, nothing to install)
Self-hostedGo binary (stdio or -http) or the Docker image of this repo, see Self-Hosted below
stdio-only clientsnpx mcp-remote https://mcp.scrapfly.io/mcp, or from the release after 1.6.0 npx -y scrapfly-mcp (the same remote server over stdio: SCRAPFLY_API_KEY for an API key, else OAuth sign-in)
AuthenticationOAuth2 sign-in on the remote server, or a Scrapfly API key (SCRAPFLY_API_KEY, Authorization: Bearer <key>)
Hosted tools65: web scraping, account, Cloud Browser sessions, page interaction, WebMCP, credential vaults, alerts, monitoring, and documentation search. See the MCP Cloud tool catalog.

Add it with your agent CLI

Claude Code

claude mcp add --transport http scrapfly https://mcp.scrapfly.io/mcp

Codex

codex mcp add scrapfly --url https://mcp.scrapfly.io/mcp

Gemini CLI

gemini mcp add --transport http scrapfly https://mcp.scrapfly.io/mcp

Antigravity

agy mcp add scrapfly https://mcp.scrapfly.io/mcp

OpenCode

opencode mcp add scrapfly --url https://mcp.scrapfly.io/mcp

VS Code

code --add-mcp '{"name":"scrapfly","type":"http","url":"https://mcp.scrapfly.io/mcp"}'

Complete the sign-in flow for your client (Codex: codex mcp login scrapfly). Every command uses the same server name, scrapfly.

Or add it to any MCP client with JSON:

{
  "mcpServers": {
    "scrapfly": { "type": "http", "url": "https://mcp.scrapfly.io/mcp" }
  }
}

Tools that fetch pages need no setup beyond the key: web_get_page (quick fetch), web_scrape (full control: JS rendering, proxy pool, country, extraction) and screenshot.


What is Scrapfly MCP?

The Scrapfly MCP Server connects your AI assistants to live web data through the Model Context Protocol. Transform your AI from being limited by training data to having real-time access to any website.

โœจ What Your AI Can Do

CapabilityDescription
๐ŸŒ Scrape Live DataPull current prices, listings, news, or any webpage content in real-time
๐Ÿ›ก๏ธ Bypass Anti-Bot SystemsAutomatically handle CAPTCHAs, proxies, JavaScript rendering, and rate limits
โšก Extract Structured DataParse complex websites into clean JSON using AI-powered extraction
๐Ÿ“ธ Capture ScreenshotsTake visual snapshots of pages or specific elements for analysis

๐Ÿ† Why Scrapfly?

Built on battle-tested infrastructure used by thousands of developers:

๐Ÿ“– Learn more: Why Scrapfly MCP?


๐Ÿš€ Quick Install

Click one of the buttons below to install the MCP server in your preferred IDE:

Install in VS Code Install in VS Code Insiders Install in Visual Studio Install in Cursor Add to Kiro


๐Ÿ“ฆ Manual Installation

Standard Configuration

Works with most MCP-compatible tools:

{
  "servers": {
    "scrapfly": {
      "type": "http",
      "url": "https://mcp.scrapfly.io/mcp"
    }
  }
}

Cloud Configuration (NPX)

For tools that require a local process:

{
  "mcpServers": {
    "scrapfly": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.scrapfly.io/mcp"
      ]
    }
  }
}

๐Ÿ”ง IDE-Specific Setup

One-Click Install

Install in VS Code

Manual Install

Follow the VS Code MCP guide or use the CLI:

code --add-mcp '{"name":"scrapfly","type":"http","url":"https://mcp.scrapfly.io/mcp"}'

After installation, Scrapfly tools will be available in GitHub Copilot Chat.

๐Ÿ“– Full guide: VS Code Integration

One-Click Install

Install in VS Code Insiders

Manual Install

code-insiders --add-mcp '{"name":"scrapfly","type":"http","url":"https://mcp.scrapfly.io/mcp"}'

๐Ÿ“– Full guide: VS Code Integration

One-Click Install

Install in Visual Studio

Manual Install

  1. Open Visual Studio
  2. Navigate to GitHub Copilot Chat window
  3. Click the tools icon (๐Ÿ› ๏ธ) in the chat toolbar
  4. Click + Add Server to open the configuration dialog
  5. Configure:
    • Server ID: scrapfly
    • Type: http/sse
    • URL: https://mcp.scrapfly.io/mcp
  6. Click Save

๐Ÿ“– Full guide: Visual Studio MCP documentation

One-Click Install

Install in Cursor

Manual Install

  1. Go to Cursor Settings โ†’ MCP โ†’ Add new MCP Server
  2. Use the standard configuration above
  3. Click Edit to verify or add arguments

๐Ÿ“– Full guide: Cursor Integration

Use the Claude Code CLI:

claude mcp add --transport http scrapfly https://mcp.scrapfly.io/mcp

๐Ÿ“– Full guide: Claude Code Integration

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "scrapfly": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.scrapfly.io/mcp"]
    }
  }
}

๐Ÿ“– Full guide: Claude Desktop Integration

Add to your Cline MCP settings:

{
  "scrapfly": {
    "type": "http",
    "url": "https://mcp.scrapfly.io/mcp"
  }
}

๐Ÿ“– Full guide: Cline Integration

Follow the Windsurf MCP documentation using the standard configuration.

๐Ÿ“– Full guide: Windsurf Integration

Add to your Zed settings:

{
  "context_servers": {
    "scrapfly": {
      "type": "http",
      "url": "https://mcp.scrapfly.io/mcp"
    }
  }
}

๐Ÿ“– Full guide: Zed Integration

codex mcp add scrapfly --url https://mcp.scrapfly.io/mcp
codex mcp login scrapfly

๐Ÿ“– Full guide: Codex Integration

gemini mcp add --transport http scrapfly https://mcp.scrapfly.io/mcp

๐Ÿ“– Full guide: Gemini CLI Integration

agy mcp add scrapfly https://mcp.scrapfly.io/mcp

๐Ÿ“– Full guide: Antigravity Integration

opencode mcp add scrapfly --url https://mcp.scrapfly.io/mcp

Or add to ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "scrapfly": {
      "type": "remote",
      "url": "https://mcp.scrapfly.io/mcp"
    }
  }
}

๐Ÿ“– Full guide: OpenCode Integration


Agent Skills over MCP

The remote and self-hosted servers publish the Scrapfly product skills through the Skills over MCP extension (beta). Supported clients can discover them with skills/list and skills/get; every skill file is also available through the standard resources/read method. Clients without extension support see ordinary MCP resources.

For example, the scraping skill's manifest URI is skill://scrapfly-scraper/SKILL.md. Entries include the complete YAML frontmatter and every file's byte size and SHA-256 digest. resources/directory/read lists supporting files and subdirectories.

The scrapfly/skills repository is the golden source. The hourly sync workflow updates the embedded copy in pkg/mcpskills/skills; to run it manually from a checkout next to scrapfly-mcp:

python3 scripts/sync-skills.py --skills ../skills/skills --out pkg/mcpskills/skills

๐Ÿ› ๏ธ Available Tools

The list below describes the self-hosted server. For the 65 customer tools available on MCP Cloud, see the hosted tool catalog. Most scraping tasks need only tools from the first group.

Web scraping (5)

Stateless, one call per page.

ToolDescriptionUse Case
scraping_instruction_enhancedCheat-sheet of the scraping optionsOptional, when the right options are unclear
web_get_pageQuick page fetch with smart defaultsSimple scraping tasks
web_scrapeFull control: headers, JS rendering, country, proxy pool, extractionComplex scraping, login flows
screenshotOne-shot PNG of a URLVisual analysis, monitoring
check_if_blockedDecide whether a scrape result is a block pageRetry or escalate the proxy pool

Account (2)

ToolDescription
info_accountSubscription plan, API credit usage, concurrency
info_api_keyThe API key this server is authenticated with

Cloud Browser sessions (9)

A stateful real browser, kept between calls.

ToolDescription
cloud_browser_openStart a session at a URL
browser_unblockSame, through the anti-bot bypass first
cloud_browser_navigateLoad a new URL in the open session
cloud_browser_sessionsList active sessions
cloud_browser_closeClose the session
cloud_browser_screenshotPNG of the session, optionally of a CSS selector
cloud_browser_evalRun JavaScript and return its value
cloud_browser_downloadsFiles downloaded during the session
cloud_browser_performancePageSpeed-style lab run with mobile throttling

Page interaction (17)

Act on the open Cloud Browser session. Elements are addressed by the uid that take_snapshot returns.

take_snapshot, take_screenshot, find_elements, get_page_url, evaluate_script, click, hover, drag, fill, type_text, press_key, select_option, dropdown_options, scroll, scroll_to_text, go_back, wait

WebMCP (2)

For pages that register their own tools with navigator.modelContext.

list_webmcp_tools, call_webmcp_tool

Credential vaults (15)

Store logins for Cloud Browser sessions, optionally mirrored from 1Password.

cloud_browser_vault_create, cloud_browser_vault_list, cloud_browser_vault_get, cloud_browser_vault_update, cloud_browser_vault_delete, cloud_browser_vault_rotate, cloud_browser_vault_item_create, cloud_browser_vault_item_list, cloud_browser_vault_item_update, cloud_browser_vault_item_delete, cloud_browser_vault_service_link, cloud_browser_vault_service_update, cloud_browser_vault_service_sync, cloud_browser_vault_service_test, cloud_browser_vault_service_unlink

Alerts (12)

Create, test and snooze alert rules on your account metrics. Writes take a confirm step.

alert_metric_families, alert_preview, alert_create, alert_update, alert_delete, alert_get, alert_list, alert_count_active, alert_series, alert_test, alert_snooze, alert_unsnooze

๐Ÿ“– Full reference: Tools & API Specification

Proxy pools

web_scrape and web_get_page take a proxy_pool: public_datacenter_pool, public_residential_pool, or public_tor_pool for the Tor network (.onion). Without one, the API picks its default. The Unblocker (anti-bot bypass) is the unblocker input of web_scrape, on when omitted; web_get_page always runs with it.

Example: Scrape a Page

User: "Which products does web-scraping.dev list right now?"

AI: Uses web_get_page to fetch https://web-scraping.dev/products and returns the products with their prices

Example: Extract Structured Data

User: "Get all product prices from this Amazon page"

AI: Uses web_scrape with extraction_model="product_listing" to return structured JSON

๐Ÿ“– More examples: Real-World Examples


๐Ÿ” Authentication

Scrapfly MCP supports multiple authentication methods:

MethodBest ForDocumentation
OAuth2Production, multi-user appsOAuth2 Setup
API KeyPersonal use, developmentAPI Key Setup
Header AuthCustom integrationsHeader Auth

๐Ÿ”‘ Get your API key: Scrapfly Dashboard


๐Ÿ“Š Configuration Reference

SettingValue
Server Namescrapfly
TypeRemote HTTP Server
URLhttps://mcp.scrapfly.io/mcp
ProtocolMCP over HTTP/SSE

๐Ÿ–ฅ๏ธ Self-Hosted / Local Deployment

You can run the Scrapfly MCP server locally or self-host it.

CLI Arguments

FlagDescription
-http <address>Start HTTP server at the specified address (e.g., :8080). Takes precedence over PORT env var. In server-key mode this binds loopback (127.0.0.1) unless you also pass -allow-remote.
-apikey <key>Use this API key instead of the SCRAPFLY_API_KEY environment variable.
-allow-remoteServer-key HTTP mode only: permit binding a non-loopback interface. That mode performs no per-caller authentication โ€” every request uses the baked-in key โ€” so only enable this behind your own auth proxy.
-verify-sslVerify TLS certificates on outbound calls (default true). Set false only when targeting a host that serves a self-signed certificate.

Environment Variables

VariableDescription
PORTHTTP port to listen on. Used if -http flag is not set.
SCRAPFLY_API_KEYScrapfly API key baked into the server. When set, the server uses it for every request (server-key mode) and does not read a per-request key.
SCRAPFLY_ALLOW_REMOTE1/true is the env equivalent of -allow-remote.
SCRAPFLY_VERIFY_SSL0/false is the env equivalent of -verify-ssl=false.

Per-request key: start the server without a baked-in key (-http only) and each caller supplies their own key per request โ€” as Authorization: Bearer <key>, or ?key=<key> / ?apiKey=<key>. This path is authenticated; the server-key path above is not, which is why it stays on loopback by default.

Examples

# Start HTTP server on port 8080
./scrapfly-mcp -http :8080

# Start HTTP server using PORT env var
PORT=8080 ./scrapfly-mcp

# Start with an API key. Prefer the environment variable: a key passed as a
# flag lands in your shell history and in the process list.
# Server-key mode has no per-caller auth, so it binds 127.0.0.1 here.
SCRAPFLY_API_KEY=... ./scrapfly-mcp -http :8080

# Same, but expose it on all interfaces โ€” only behind your own auth proxy.
SCRAPFLY_API_KEY=... ./scrapfly-mcp -http 0.0.0.0:8080 -allow-remote

# Start in stdio mode (for local MCP clients)
./scrapfly-mcp

Docker

# Build
docker build -t scrapfly-mcp .

# Run (Smithery compatible - uses PORT env var)
docker run -p 8080:8080 scrapfly-mcp

# Run with custom port
docker run -e PORT=9000 -p 9000:9000 scrapfly-mcp

๐Ÿค Framework Integrations

Scrapfly MCP also works with AI frameworks and automation tools:

๐Ÿ“– All integrations: Integration Index


๐Ÿ“š Resources


๐Ÿ’ฌ Need Help?


Reviews

No reviews yet

Be the first to review this server!