# Scrapingbee — MCP server on mcp.ai > Connect your Scrapingbee account and use 5 tools for web scraping straight from your AI agent. Connect with your own API key. ScrapingBee is a web scraping API that handles headless browsers and proxy rotation, allowing developers to extract HTML from any website in a single API call. By: mcp.ai · official Page: https://mcp.ai/scrapingbee ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_scrapingbee?ms=1787293560000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/scrapingbee/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/scrapingbee/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/scrapingbee/skill.md Postman collection (v2.1): https://mcp.ai/scrapingbee/postman.json ## Tools - scrapingbee_data_extraction(url: string, wait?: integer, device?: string, api_key: string, extractor: object, javascript?: boolean, country_code?: string, premium_proxy?: boolean, block_resources?: boolean, forward_headers?: object) — Tool to extract structured data from a webpage using CSS or XPath selectors. Use ScrapingBee's extract_rules feature. - scrapingbee_html_fetch(url: string, wait?: integer, retry?: integer, device?: string, cookies?: string, wait_for?: string, block_ads?: boolean, render_js?: boolean, js_snippet?: string, screenshot?: boolean, js_scenario?: string, country_code?: string, extract_rules?: string, premium_proxy?: boolean, stealth_proxy?: boolean, block_resources?: boolean, screenshot_selector?: string, screenshot_full_page?: boolean) — Tool to fetch HTML or screenshot via ScrapingBee HTML API. Use when you need page markup or image after optional JS rendering and resource controls. For anti-bot or CAPTCHA-protected sites (e.g., Clou - scrapingbee_scraping_bee_proxy_mode(url: string, cookies?: object, headers?: object, timeout?: integer, block_ads?: boolean, render_js?: boolean, session_id?: integer, js_scenario?: string, country_code?: string, premium_proxy?: boolean, stealth_proxy?: boolean, block_resources?: boolean, forward_headers?: boolean) — Tool to fetch web content via ScrapingBee's Proxy Mode. Use when you need to route requests through ScrapingBee proxies with optional JS rendering and resource blocking. - scrapingbee_stealth_proxy(url: string, wait?: integer, device?: string, cookies?: string, js_render?: boolean, country_code?: string, extract_rules?: string, premium_proxy?: boolean, stealth_proxy?: boolean, block_resources?: boolean, forward_headers?: boolean, return_page_source?: boolean) — Tool to perform stealth scraping via ScrapingBee's Stealth Proxy mode. Use when you encounter anti-bot measures requiring undetectable requests. - scrapingbee_usage_stats() — Tool to retrieve usage statistics for your ScrapingBee account. Use when you need to monitor remaining credits and request count. ## Example prompts - "What can I do in Scrapingbee?" - "Show me a summary of my Scrapingbee account" ## Links Docs: https://mcp.ai/docs/mcps/scrapingbee Website: https://mcp.ai/mcps/scrapingbee