mcp · scrapfly — Claude Code MCP server for web scraping
Scrapfly connects an AI assistant to live webpages, extracts structured data as JSON, and captures page screenshots.
claude mcp add mcp -- npx -y scrapfly-mcpWhat mcp does
The Scrapfly server gives an AI assistant access to web content through MCP. It can fetch page data such as prices, listings, and news, turn complex pages into structured JSON, and capture a whole page or a specific element.
It also handles CAPTCHAs, proxies, JavaScript rendering, and request limits. That matters on sites with anti-bot measures: the server takes care of those steps. In Claude Code, add it through the CLI; the command starts the scrapfly-mcp package with npx.
What it helps with
- collect current prices from webpages
- extract page content into structured JSON
- gather news page content
- capture a page or a specific element
- scrape sites that present CAPTCHAs
Example prompts for the agent
- Collect the current prices from this page and return them as JSON.
- Extract the listings from this site into a structured list.
- Capture this page and describe what it shows.
How to install mcp
Platform CLI
claude mcp add mcp -- npx -y scrapfly-mcpPlatform CLI
codex mcp add scrapfly-mcp -- npx -y scrapfly-mcpConfig file
{
"mcpServers": {
"scrapfly-mcp": {
"command": "npx",
"args": [
"-y",
"scrapfly-mcp"
]
}
}
}Config file
{
"servers": {
"scrapfly-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"scrapfly-mcp"
]
}
}
}Platform CLI
gemini mcp add scrapfly-mcp npx -y scrapfly-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mcp
How do I install mcp in Claude Code?
Run claude mcp add scrapfly-mcp -- npx -y scrapfly-mcp. This adds the Scrapfly MCP server to Claude Code.
What does mcp do?
It gives an AI assistant access to live webpages, extracts structured data, and captures screenshots.
How does mcp handle anti-bot protections?
The server handles CAPTCHAs, proxies, JavaScript rendering, and request limits.
Similar MCP servers
MCP servers catalog →mcp by other authors comes first.