Scrapfly MCP Server
Gives AI assistants real-time access to web data with the ability to scrape any website, bypass anti-bot systems, extract structured data, and capture screenshots through enterprise-grade infrastructure.
README
Scrapfly MCP Server
<p align="center"> <a href="https://scrapfly.io"> <img src="https://avatars.githubusercontent.com/u/54183743?s=400&u=5279c1aaea18805aa5cc4fec1053ac2a2cfaac5d&v=4" alt="Scrapfly" width="200"/> </a> </p>
<p align="center"> <strong>Give your AI real-time access to any website</strong> </p>
<p align="center"> <a href="https://scrapfly.io/mcp-cloud">🌐 Landing Page</a> • <a href="https://scrapfly.io/docs/mcp/getting-started">📖 Documentation</a> • <a href="https://scrapfly.io/mcp-cloud/n8n">🎮 Live Demo</a> • <a href="https://scrapfly.io/register">🔑 Get API Key</a> </p>
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
| Capability | Description |
|---|---|
| 🌐 Scrape Live Data | Pull current prices, listings, news, or any webpage content in real-time |
| 🛡️ Bypass Anti-Bot Systems | Automatically handle CAPTCHAs, proxies, JavaScript rendering, and rate limits |
| ⚡ Extract Structured Data | Parse complex websites into clean JSON using AI-powered extraction |
| 📸 Capture Screenshots | Take visual snapshots of pages or specific elements for analysis |
🏆 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
- Anti-Bot Bypass — Advanced ASP 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
<details> <summary><strong>VS Code</strong></summary>
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 </details>
<details> <summary><strong>VS Code Insiders</strong></summary>
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 </details>
<details> <summary><strong>Visual Studio</strong></summary>
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 </details>
<details> <summary><strong>Cursor</strong></summary>
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 </details>
<details> <summary><strong>Claude Code</strong></summary>
Use the Claude Code CLI:
claude mcp add scrapfly-cloud-mcp --url https://mcp.scrapfly.io/mcp
📖 Full guide: Claude Code Integration </details>
<details> <summary><strong>Claude Desktop</strong></summary>
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 </details>
<details> <summary><strong>Cline</strong></summary>
Add to your Cline MCP settings:
{
"scrapfly-cloud-mcp": {
"type": "http",
"url": "https://mcp.scrapfly.io/mcp"
}
}
📖 Full guide: Cline Integration </details>
<details> <summary><strong>Windsurf</strong></summary>
Follow the Windsurf MCP documentation using the standard configuration.
📖 Full guide: Windsurf Integration </details>
<details> <summary><strong>Zed</strong></summary>
Add to your Zed settings:
{
"context_servers": {
"scrapfly-cloud-mcp": {
"type": "http",
"url": "https://mcp.scrapfly.io/mcp"
}
}
}
📖 Full guide: Zed Integration </details>
<details> <summary><strong>OpenAI Codex</strong></summary>
Create or edit ~/.codex/config.toml:
[mcp_servers.scrapfly-cloud-mcp]
url = "https://mcp.scrapfly.io/mcp"
📖 More info: Codex MCP documentation </details>
<details> <summary><strong>Gemini CLI</strong></summary>
Follow the Gemini CLI MCP guide using the standard configuration. </details>
<details> <summary><strong>OpenCode</strong></summary>
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 </details>
🛠️ Available Tools
The Scrapfly MCP Server provides 5 powerful tools covering 99% of web scraping use cases:
| Tool | Description | Use Case |
|---|---|---|
scraping_instruction_enhanced |
Get best practices & POW token | Always call first! |
web_get_page |
Quick page fetch with smart defaults | Simple scraping tasks |
web_scrape |
Full control with browser automation | Complex scraping, login flows |
screenshot |
Capture page screenshots | Visual analysis, monitoring |
info_account |
Check usage & quota | Account management |
📖 Full reference: Tools & API Specification
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:
| Method | Best For | Documentation |
|---|---|---|
| OAuth2 | Production, multi-user apps | OAuth2 Setup |
| API Key | Personal use, development | API Key Setup |
| Header Auth | Custom integrations | Header Auth |
🔑 Get your API key: Scrapfly Dashboard
📊 Configuration Reference
| Setting | Value |
|---|---|
| Server Name | scrapfly-cloud-mcp |
| Type | Remote HTTP Server |
| URL | https://mcp.scrapfly.io/mcp |
| Protocol | MCP over HTTP/SSE |
🤝 Framework Integrations
Scrapfly MCP also works with AI frameworks and automation tools:
| Framework | Documentation |
|---|---|
| LangChain | LangChain Integration |
| LlamaIndex | LlamaIndex Integration |
| CrewAI | CrewAI Integration |
| OpenAI | OpenAI Integration |
| n8n | n8n Integration |
| Make | Make Integration |
| Zapier | Zapier Integration |
📖 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?
<p align="center"> <a href="https://scrapfly.io"> <img src="https://avatars.githubusercontent.com/u/54183743?s=400&u=5279c1aaea18805aa5cc4fec1053ac2a2cfaac5d&v=4" alt="Scrapfly" width="50"/> </a> <br/> <strong>Made with ❤️ by <a href="https://scrapfly.io">Scrapfly</a></strong> <br/> <sub>The Web Scraping API for Developers</sub> </p>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.