Model Context Protocol
ScrapingBot MCP Server
Give Claude, Cursor and other AI agents live web data. They scrape pages, products, real estate listings, travel pages, Google results and social media through ScrapingBot, right from the conversation.
At a glance
- Install
- npx -y github:sostag/scraping-bot-mcp
- Clients
- Claude Code, Claude Desktop, Cursor
- Tools
- 8 tools, every API
- Cost
- API credits, from 1 per call
- Free plan
- 500 credits / month
- Runs
- On your computer (stdio)
- Requires
- Node.js 18+ and Git
- Source
- Open source, MIT
The server runs on your computer and calls the ScrapingBot API with your key. Each tool call uses credits like a regular API call; failed scrapes are refunded.
Set up in two minutes
- Step 1
Get your API key
Create a free account and copy your username and API key from the dashboard.
- Step 2
Add the server
Run the command for Claude Code, or add the configuration block to your client.
- Step 3
Ask your agent
Restart the client: the ScrapingBot tools appear, and the agent calls them when it needs live web data.
claude mcp add scraping-bot \
-e SCRAPING_BOT_USERNAME=your_username \
-e SCRAPING_BOT_API_KEY=your_api_key \
-- npx -y github:sostag/scraping-bot-mcpReplace your_username and your_api_key with the credentials from your dashboard, then restart the client. For other clients, use the same command, arguments and environment variables.
Available tools
The agent picks the tool from your request. Page tools take a url and the optional useChrome, premiumProxy and proxyCountry options.
| Tool | What it returns | Credits |
|---|---|---|
scrape_raw_html | HTML of any public page, with optional JavaScript rendering | From 1 |
scrape_retail | Product: title, price, currency, images, brand, stock, EAN | From 1 |
scrape_real_estate | Listing: price or rent, surface, rooms, location, images | From 1 |
scrape_booking | Hotel, rental or search page: Booking.com, Airbnb, Expedia, Hotels.com, Abritel | From 1 |
scrape_grocery | Grocery product: price, image, brand, nutritional values | From 1 |
scrape_search_engine | Google or Bing results as JSON: organic results, related searches, questions | 30 |
scrape_social_media | Public Instagram, TikTok, Facebook, LinkedIn, X and Threads profiles, posts and searches | 30 |
get_social_media_result | Result of a social media scrape that took longer than a minute | 0 |
Example
Ask in plain language: the agent calls the tools, reads the JSON and answers.
You: Here are two product pages for the same headphones, on Amazon.fr
and on Fnac. Which one is cheaper, and are both in stock?
Claude: I'll scrape both product pages.
→ scrape_retail url=https://www.amazon.fr/dp/...
→ scrape_retail url=https://www.fnac.com/a.../...
Amazon.fr: <price> EUR, <stock>
Fnac: <price> EUR, <stock>
Then the agent compares the prices and answers.Try a scrape before connecting your agentRun a request in the Live Test and see the JSON your agent will receive.
Open the live testCredits, failures and limits
| Case | Credits | Notes |
|---|---|---|
| Page tools (HTML, product, real estate, travel, grocery) | 1 credit | 5 with useChrome, 10 with premiumProxy, 25 with both. Some sites always get the options they need. |
| Search engine | 30 credits | One results page per call. |
| Social media | 30 credits | Waiting for a pending result with get_social_media_result is free. |
| Failed, blocked or timed-out scrape | Refunded | The agent receives the error message and can retry with other options. |
MCP server or REST API?
| MCP server | REST API | |
|---|---|---|
| Who calls the API | Your AI agent, when it decides to | Your code |
| Setup | One command or configuration block | HTTP requests in your application |
| Best for | Research, comparisons, one-off extractions | Scheduled jobs and large volumes |
| Credits | Same API, same credits | Same API, same credits |
Building your own integration? Read the API documentation.
Questions about the MCP server
- Is this the official ScrapingBot MCP server?
- Yes. It is maintained by the ScrapingBot team and its source code is public on GitHub, under the MIT license.
- Do I need to install anything?
- Node.js 18 or later and Git. npx downloads and builds the server the first time it starts; the next starts are immediate.
- Where is my API key stored?
- In your MCP client's configuration, on your computer. The server reads it from the environment and only sends it to api.scraping-bot.io.
- How do I control what my agent spends?
- Every tool call is a regular API call and uses your credits. Each tool tells the agent its cost, and your dashboard shows your usage. Failed scrapes are refunded.
- Why do social media scrapes sometimes return a responseId?
- Social media pages take from a few seconds to several minutes. The tool waits about a minute; after that the agent gets a responseId and fetches the result later with get_social_media_result, at no cost.
- Which AI clients are supported?
- Clients that run local MCP servers: Claude Code, Claude Desktop, Cursor, Windsurf and other MCP-compatible editors and agent frameworks.
- How do I pin a version?
- Add the version tag to the package: github:sostag/scraping-bot-mcp#v1.0.0.
Source code, changelog and issues: sostag/scraping-bot-mcp on GitHub.
Give your AI agent live web data
500 free credits every month. No card required, cancel anytime.
