ScrAPI MCP Server
![]()
ScrAPI MCP 服务器
MCP 服务器使用ScrAPI来抓取网页。
ScrAPI 是您的终极网络抓取解决方案,提供强大、可靠且易于使用的功能,可毫不费力地从任何网站提取数据。
工具
scrape_url_html使用 ScrAPI 服务,通过 URL 抓取网站内容,并以 HTML 格式获取结果。此功能适用于抓取因机器人检测、验证码甚至地理位置限制而难以访问的网站内容。结果将以 HTML 格式呈现,如果需要高级解析,则更适合使用 HTML 格式。
输入:
url(字符串)返回:URL 的 HTML 内容
scrape_url_markdown使用 ScrAPI 服务,通过 URL 抓取网站内容,并以 Markdown 格式获取结果。此功能适用于抓取因机器人检测、验证码甚至地理位置限制而难以访问的网站内容。如果网页的文本内容而非结构信息很重要,则结果将以 Markdown 格式呈现,因此更适合使用 Markdown 格式。
输入:
url(字符串)返回:URL 的 Markdown 内容
Related MCP server: web-scrapper-stdio
设置
API 密钥(可选)
可以选择从ScrAPI 网站获取 API 密钥。
如果没有 API 密钥,您将只能进行一次并发呼叫,每天只能进行二十次免费呼叫,并且排队功能也非常有限。
云服务器
ScrAPI MCP 服务器也可通过 SSE 在云端使用,网址为https://api.scrapi.dev/sse
云 MCP 服务器尚未得到广泛支持,但您可以直接从自定义客户端访问,或使用MCP 检查器进行测试。目前,连接到云 MCP 服务器时无法传递您的 API 密钥。

与 Claude Desktop 一起使用
将以下内容添加到您的claude_desktop_config.json中:
Docker
{
"mcpServers": {
"scrapi": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SCRAPI_API_KEY",
"deventerprisesoftware/scrapi-mcp"
],
"env": {
"SCRAPI_API_KEY": "<YOUR_API_KEY>"
}
}
}
}NPX
{
"mcpServers": {
"scrapi": {
"command": "npx",
"args": [
"-y",
"@deventerprisesoftware/scrapi-mcp"
],
"env": {
"SCRAPI_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
建造
Docker 构建:
docker build -t deventerprisesoftware/scrapi-mcp -f Dockerfile .执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
Available Tools
2 toolsscrape_url_htmlScrape URL and respond with HTMLA
Use a URL to scrape a website using the ScrAPI service and retrieve the result as HTML. Use this for scraping website content that is difficult to access because of bot detection, captchas or even geolocation restrictions. The result will be in HTML which is preferable if advanced parsing is required.
BROWSER COMMANDS: You can optionally provide browser commands to interact with the page before scraping (e.g., clicking buttons, filling forms, scrolling). Provide commands as a JSON array string. Available commands:
Click: {"click": "#buttonId"} - Click an element using CSS selector
Input: {"input": {"input[name='email']": "value"}} - Fill an input field
Select: {"select": {"select[name='country']": "USA"}} - Select from dropdown
Scroll: {"scroll": 1000} - Scroll down (negative values scroll up)
Wait: {"wait": 5000} - Wait milliseconds (max 15000)
WaitFor: {"waitfor": "#elementId"} - Wait for element to appear
JavaScript: {"javascript": "console.log('test')"} - Execute custom JS Example: [{"click": "#accept-cookies"}, {"wait": 2000}, {"input": {"input[name='search']": "query"}}]
Inputs: url (required), browserCommands.
scrape_url_markdownScrape URL and respond with MarkdownA
Use a URL to scrape a website using the ScrAPI service and retrieve the result as Markdown. Use this for scraping website content that is difficult to access because of bot detection, captchas or even geolocation restrictions. The result will be in Markdown which is preferable if the text content of the webpage is important and not the structural information of the page.
BROWSER COMMANDS: You can optionally provide browser commands to interact with the page before scraping (e.g., clicking buttons, filling forms, scrolling). Provide commands as a JSON array string. Available commands:
Click: {"click": "#buttonId"} - Click an element using CSS selector
Input: {"input": {"input[name='email']": "value"}} - Fill an input field
Select: {"select": {"select[name='country']": "USA"}} - Select from dropdown
Scroll: {"scroll": 1000} - Scroll down (negative values scroll up)
Wait: {"wait": 5000} - Wait milliseconds (max 15000)
WaitFor: {"waitfor": "#elementId"} - Wait for element to appear
JavaScript: {"javascript": "console.log('test')"} - Execute custom JS Example: [{"click": "#accept-cookies"}, {"wait": 2000}, {"input": {"input[name='search']": "query"}}]
Inputs: url (required), browserCommands.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools are clearly distinguished by their output format (HTML vs Markdown), leaving no ambiguity about which to use based on desired result type.
Both tools follow a consistent 'scrape_url_{format}' pattern with identical prefix and clear format suffix, making naming predictable.
With exactly 2 tools covering the two primary output formats (HTML and Markdown), the count is minimal but complete for the server's core purpose.
The tools cover the essential use cases of scraping with browser interaction and returning structured output. Minor gaps like raw text or JSON output exist but are not critical.
Maintenance
Related MCP Connectors
Web scraping MCP server — scrape, extract structured data, screenshot any site with anti-bot bypass.
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Web scraping MCP server: any URL to Markdown or JSON, with JavaScript rendering and batch jobs.
Markdown scrape, site map, page metadata, screenshots, web search and PDF to text. Pay per call
Related MCP Servers
- AlicenseAqualityBmaintenanceThis server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.21244,685 PyPI92,139MIT
- AlicenseNot gradedqualityDmaintenanceA headless web scraping server that extracts main content from web pages into Markdown, text, or HTML for AI and automation integration. It features per-domain rate limiting and robust error handling using Playwright and BeautifulSoup.MIT
- AlicenseAqualityDmaintenanceMCP server for fetching web content with browser fingerprint camouflage, converting HTML to clean Markdown to bypass bot detection.11MIT
- AlicenseNot gradedqualityBmaintenanceRemote MCP server for web scraping with anti-bot evasion. Provides stealth HTTP fetching, headless browser with Cloudflare bypass, CSS selectors, YouTube transcripts, and Markdown conversion.1MIT