Scrapfly MCP Server
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
๐ Why Scrapfly?
Built on battle-tested infrastructure used by thousands of developers:
- 99.9% Uptime โ Enterprise-grade reliability
- 100+ Countries โ Global proxy network with datacenter & residential IPs, in three proxy pools (Basic, Unblocker, Unblocker Ultra) or Auto, where the API picks the pool
- Anti-Bot Bypass โ Advanced Unblocker technology defeats modern protections
- OAuth2 Security โ Enterprise authentication for production deployments
๐ Learn more: Why Scrapfly MCP?
๐ Quick Install
Click one of the buttons below to install the MCP server in your preferred IDE:
๐ฆ Manual Installation
Standard Configuration
Works with most MCP-compatible tools:
{
"servers": {
"scrapfly-cloud-mcp": {
"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
Manual Install
Follow the VS Code MCP guide or use the CLI:
code --add-mcp '{"name":"scrapfly-cloud-mcp","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
Manual Install
code-insiders --add-mcp '{"name":"scrapfly-cloud-mcp","type":"http","url":"https://mcp.scrapfly.io/mcp"}'
๐ Full guide: VS Code Integration
One-Click Install
Manual Install
- Open Visual Studio
- Navigate to GitHub Copilot Chat window
- Click the tools icon (๐ ๏ธ) in the chat toolbar
- Click + Add Server to open the configuration dialog
- Configure:
- Server ID:
scrapfly-cloud-mcp - Type:
http/sse - URL:
https://mcp.scrapfly.io/mcp
- Server ID:
- Click Save
๐ Full guide: Visual Studio MCP documentation
One-Click Install
Manual Install
- Go to
Cursor SettingsโMCPโAdd new MCP Server - Use the standard configuration above
- Click Edit to verify or add arguments
๐ Full guide: Cursor Integration
Use the Claude Code CLI:
claude mcp add scrapfly-cloud-mcp --url 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-cloud-mcp": {
"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-cloud-mcp": {
"type": "http",
"url": "https://mcp.scrapfly.io/mcp"
}
}
}
๐ Full guide: Zed Integration
Create or edit ~/.codex/config.toml:
[mcp_servers.scrapfly-cloud-mcp]
url = "https://mcp.scrapfly.io/mcp"
๐ More info: Codex MCP documentation
Follow the Gemini CLI MCP guide using the standard configuration.
Add to ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"scrapfly-cloud-mcp": {
"type": "http",
"url": "https://mcp.scrapfly.io/mcp",
"enabled": true
}
}
}
๐ More info: OpenCode MCP documentation
๐ ๏ธ Available Tools
The Scrapfly MCP Server provides 5 powerful tools covering 99% of web scraping use cases:
๐ Full reference: Tools & API Specification
Proxy pools
web_scrape and web_get_page take a proxy_pool, which sets both the proxies and the Unblocker
(anti-bot bypass):
Pick the pool a site needs: basic where datacenter proxies get through, unblocker or
unblocker_ultra where it needs residential proxies and the Unblocker, auto to let the API pick.
A target or an anti-bot protection with a price of its own refuses basic and unblocker with
ERR::PROXY::UNBLOCKER_ULTRA_REQUIRED (HTTP 422, not billed): resend with
proxy_pool=unblocker_ultra, or with proxy_pool=auto, which is accepted on every target, the ones
that require unblocker_ultra included, where their price is added. public_tor_pool runs on the
Tor network (.onion).
Deprecated: unblocker and asp
The unblocker input of web_scrape and its former name asp are deprecated: use proxy_pool
(unblocker_ultra for the Unblocker). The
migration guide covers requests written before
the proxy pools, the pool names public_datacenter_pool and public_residential_pool included.
Without a proxy_pool, the server sends the API no pool and, by default, asp=true, a request the
guide covers as well.
Example: Scrape a Page
User: "What are the top posts on Hacker News right now?"
AI: Uses web_get_page to fetch https://news.ycombinator.com and returns current top stories
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:
๐ Get your API key: Scrapfly Dashboard
๐ Configuration Reference
๐ฅ๏ธ Self-Hosted / Local Deployment
You can run the Scrapfly MCP server locally or self-host it.
CLI Arguments
Environment Variables
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
- ๐ MCP Cloud Landing Page โ Product overview & features
- ๐ฎ Live n8n Demo โ Try it in your browser
- ๐ Full Documentation
- ๐ ๏ธ Tools Reference
- ๐ก Examples & Use Cases
- โ FAQ
- ๐ Authentication Guide
๐ฌ Need Help?
- ๐ Scrapfly Documentation
- ๐ง Contact Support
- ๐ Model Context Protocol