$ npx scrapering initCreate accountStart for free
AI agents

Scrapering MCP Server

Scrapering exposes an MCP (Model Context Protocol) server over HTTP. Connect any compatible AI agent or IDE to give it live web scraping and search capabilities — no custom code required.

Quick Setup

The fastest way to connect Scrapering to your AI agent is with the scrapering CLI:

npx scrapering init

The command detects your environment, writes the correct config file, and prompts for your API key. Supported agents: Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Codex CLI, opencode, and OpenClaw.

MCP Endpoint

POST https://app.scrapering.com/api/mcp

Available Tools

parse_url

Fetches a URL using a real browser and returns its content, cookies, and an optional screenshot. Mirrors the URL Scraper API.

Requires the url-scraper scope on your API key.

ParameterTypeRequiredDescription
urlstringyesTarget URL to scrape
outputobjectnoOutput formats. Default: {"markdown": true}. At least one of html, markdown, text, or json must be true
proxystringnoProxy URL: http://user:pass@host:port
useragentstringnoCustom User-Agent string (printable ASCII only)
isMobilebooleannoEmulate mobile browser
solveCaptchabooleannoAttempt to solve captcha if detected
takeScreenshotbooleannoCapture a screenshot of the page

search_google

Searches Google and returns structured SERP results including organic listings, ads, knowledge graph, and optionally an AI overview. Mirrors the Google SERP Scraper API.

Requires the serp:google scope on your API key.

ParameterTypeRequiredDescription
qstringyesSearch query
countnumbernoNumber of results to return (min: 10, max: 100, default: 10)
glstringnoCountry code (e.g. US, GB, DE)
hlstringnoLanguage code (e.g. en, de, fr)
isDesktopbooleannoUse desktop user agent (default: true)
aiOverviewbooleannoInclude Google AI Overview in results
takeScreenshotbooleannoCapture a screenshot of the SERP

search_yandex

Searches Yandex and returns structured SERP results. Mirrors the Yandex SERP Scraper API.

Requires the serp:yandex scope on your API key.

ParameterTypeRequiredDescription
qstringyesSearch query
countnumbernoNumber of results to return (min: 1, max: 100, default: 10)
regionnumbernoYandex region ID (lr parameter)
isDesktopbooleannoUse desktop user agent (default: true)
takeScreenshotbooleannoCapture a screenshot of the SERP

list_topics

Returns the Google News topic categories (e.g. Business, Technology, Sports) available for a given country. Each topic includes a token needed by get_articles. Mirrors the Google News Topics API.

ParameterTypeRequiredDescription
glstringnoCountry code (default: RU)
hlstringnoLanguage code (default: ru)

get_articles

Fetches recent Google News articles for a topic token obtained from list_topics. Mirrors the Google News Scraper API.

ParameterTypeRequiredDescription
topicTokenstringyesTopic token from list_topics
glstringnoCountry code (default: RU)
hlstringnoLanguage code (default: ru)
limitnumbernoMaximum number of articles to return (default: 10)

Manual Setup

If you prefer to configure manually, add the following to your agent's config file with YOUR_API_KEY replaced by your actual key.

Claude Desktop

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

{
  "mcpServers": {
    "scrapering": {
      "url": "https://app.scrapering.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Cursor

.cursor/mcp.json in your project root or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "scrapering": {
      "url": "https://app.scrapering.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "scrapering": {
      "url": "https://app.scrapering.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

VS Code (GitHub Copilot)

.vscode/mcp.json in your workspace:

{
  "servers": {
    "scrapering": {
      "type": "http",
      "url": "https://app.scrapering.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Claude Code

claude mcp add --transport http scrapering https://app.scrapering.com/api/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Or add to .mcp.json in your project root to share with your team:

{
  "mcpServers": {
    "scrapering": {
      "type": "http",
      "url": "https://app.scrapering.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Codex CLI

~/.codex/config.toml:

[mcp_servers.scrapering]
url = "https://app.scrapering.com/api/mcp"
bearer_token_env_var = "SCRAPERING_API_KEY"
enabled = true

bearer_token_env_var is the name of the environment variable holding your key:

export SCRAPERING_API_KEY=YOUR_API_KEY

opencode

~/.config/opencode/opencode.json or ./opencode.json:

{
  "mcp": {
    "scrapering": {
      "type": "remote",
      "url": "https://app.scrapering.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

OpenClaw

~/.openclaw/openclaw.json:

{
  "mcp": {
    "servers": {
      "scrapering": {
        "url": "https://app.scrapering.com/api/mcp",
        "transport": "streamable-http",
        "headers": {
          "Authorization": "Bearer YOUR_API_KEY"
        }
      }
    }
  }
}

Agent Workflow Examples

Once connected, prompt your agent naturally. It will select and chain the right tools automatically.

Scrape a page and summarize it:

Fetch https://example.com and give me a summary of the main content.

Research a topic with live search:

Search Google for "latest AI regulation news" and summarize the top 5 results.

Compare search results across engines:

Search for "best electric cars 2026" on both Google and Yandex. Compare what's different between the two sets of results.

Monitor competitor pages:

Scrape https://competitor.com/pricing and extract all plan names and prices.

News briefing workflow:

List the top Google News topics for the US, then fetch the 10 latest articles from the Business topic and write a morning briefing.

Deep research with scraping:

Search Google for "open source LLM benchmarks 2026", then scrape the top 3 results and compare the benchmark scores they mention.

Mobile vs desktop comparison:

Fetch https://example.com once as desktop and once as mobile. What differences do you see in the content or layout?

Next steps