Browser Use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
作者提供的说明(英文原文)
Scrape any web page, search Google/Amazon/Walmart/YouTube and extract data via the ScrapingBee API.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http scrapingbee https://mcp.scrapingbee.com/mcp --header 'Authorization: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"scrapingbee": {
"url": "https://mcp.scrapingbee.com/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"scrapingbee": {
"type": "http",
"url": "https://mcp.scrapingbee.com/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 scrapingbee.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(2.2.1)于28天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Browser Use, Chrome DevTools MCP, MCP Server Browser
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
MCP server for Chrome DevTools
MCP server for browser use access
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A production-ready Model Context Protocol (MCP) server that enables AI agents to access structured web data using ScrapingBee as a tool.
This project demonstrates how to transform ScrapingBee into an AI-native data layer. Instead of embedding scraping logic directly inside prompts, AI agents register ScrapingBee as a tool and request structured web data on demand.
If you are building:
• AI agents that require live web access • Autonomous research systems • Ecommerce intelligence bots • Market monitoring agents • LLM workflows with tool execution • AI-powered web scraping infrastructure
This repository provides a complete MCP integration blueprint.
The server is hosted by ScrapingBee at `https://mcp.scrapingbee.com/mcp` (Streamable HTTP) — there is nothing to install. You need a ScrapingBee API key (get one here; trial credits included), sent as the header Authorization: Bearer . Registry name: com.scrapingbee/mcp.
Claude Code
claude mcp add --transport http scrapingbee https://mcp.scrapingbee.com/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
Codex CLI
codex mcp add scrapingbee --url https://mcp.scrapingbee.com/mcp \
--bearer-token-env-var SCRAPINGBEE_API_KEY
Cursor, VS Code and other clients with a JSON config
{
"mcpServers": { "scrapingbee": { "url": "https://mcp.scrapingbee.com/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }
Also available through Glama, Smithery and the MCP Registry.
| Tool | What it does |
|---|---|
get_page_text | Fetch a URL and return its content as text or markdown (JavaScript rendered, blocks handled) |
get_page_html | Fetch a URL and return the rendered HTML |
get_screenshot | Fetch a URL and return a screenshot |
get_file | Download a file (PDF, image, …) from a URL |
extract_page_data | Fetch a URL and extract specific data with CSS or XPath selectors |
fast_search | Fast web search returning clean organic results and top stories — the first choice for general searches |
get_google_search_results | Google SERP as JSON for specialised searches: news, maps, Lens, shopping, images, AI mode |
get_amazon_search_results | Amazon search results as JSON |
get_amazon_product_details | Amazon product details by ASIN |
get_amazon_pricing | Current Amazon price and seller offers by ASIN |
get_walmart_search_results | Walmart search results as JSON |
get_walmart_product_details | Walmart product details by ID |
get_youtube_search_results | YouTube search results |
get_youtube_video_metadata | Title, description, stats and more for a video |
get_youtube_video_subtitles | Subtitles / transcript for a video |
ask_chatgpt | Send a prompt to ChatGPT, optionally with web search |
ask_gemini | Send a prompt to Gemini, with citations when available |
get_scrapingbee_usage | Remaining credits and concurrency for your account |
Each call consumes API credits exactly as the equivalent ScrapingBee API request would (see pricing and the API documentation). The server handles one page or query per call; for hundreds of URLs, crawling a site, writing results to files or scheduling recurring jobs, use the ScrapingBee CLI.
Relevant keywords: scrapingbee mcp model context protocol server mcp scraping ai agent web scraping mcp web scraping tool
Model Context Protocol (MCP) defines how AI systems interact with external tools in a structured way.
Instead of letting a language model guess how to scrape or browse the web, MCP allows it to:
The ScrapingBee MCP server exposes web scraping capabilities as a formally registered tool that AI systems can use safely and predictably.
AI models cannot reliably:
• Bypass anti-bot protections • Manage proxy rotation • Render JavaScript-heavy pages • Handle CAPTCHA challenges • Maintain scraping infrastructure
ScrapingBee handles all of that.
The MCP server acts as a bridge between your AI agent and ScrapingBee’s managed scraping infrastructure.
This enables true AI agent web scraping without fragile prompt-based hacks.
AI Agent → MCP Client → ScrapingBee MCP Server → ScrapingBee API → Target Website → Structured JSON Response → Injected Back Into Agent Context
The AI agent never scrapes directly. It calls tools. The MCP server executes them.
There is nothing to install or run: the server is operated by ScrapingBee at https://mcp.scrapingbee.com/mcp. The only setup is your API key, which every client below sends as a Authorization: Bearer header:
export SCRAPINGBEE_API_KEY=your_api_key
You can connect in two ways:
Add the ScrapingBee MCP server to your claude_desktop_config.json file:
{
"mcpServers": { "scrapingbee": { "command": "npx", "args": [ "mcp-remote", "https://mcp.scrapingbee.com/mcp", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer YOUR_API_KEY" } } } }
(The AUTH_HEADER variable works around mcp-remote's handling of spaces in arguments.)
This registers ScrapingBee as an MCP tool provider inside Claude Desktop.
After restarting Claude, the tools become available automatically.
For advanced AI workflows, you can build a minimal async MCP client using Python.
Below is a complete working example.
import os
import re import json import asyncio import httpx import google.generativeai as genai from typing import Dict, Any, List
MCP_SERVER_URL = "https://mcp.scrapingbee.com/mcp" SCRAPINGBEE_API_KEY = os.environ.get("SCRAPINGBEE_API_KEY") GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
class MCPClient:
def init(self, base_url: str, api_key: str): self.base_url = base_url self.session_id = None self.http_client = httpx.AsyncClient(timeout=300) self.headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json", "Accept": "application/json, text/event-stream", "User-Agent": "Minimal-MCP-Client/1.0", }
async def _send_request(self, payload: Dict[str, Any]): headers = self.headers.copy() if self.session_id: headers["Mcp-Session-Id"] = self.session_id
response = await self.http_client.post(self.base_url, json=payload, headers=headers) response.raise_for_status()
text = (await response.aread()).decode("utf-8")
if "data:" in text: match = re.search(r"data:\s*({.*})", text, re.DOTALL) if match: return json.loads(match.group(1))
if response.status_code in [202, 204] or not text: return {"status": "ok"}
return json.loads(text)
async def initialize(self): init_payload = { "jsonrpc": "2.0", "id": "1", "method": "initialize", "params": { "protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "MinimalClient"}, }, }
async with self.http_client.stream( "POST", self.base_url, json=init_payload, headers=self.headers ) as response: self.session_id = response.headers.get("Mcp-Session-Id")
notify_payload = { "jsonrpc": "2.0", "method": "notifications/initialized", "params": {} }
await self._send_request(notify_payload)
list_payload = { "jsonrpc": "2.0", "id": "2", "method": "tools/list", "params": {} }
return await self._send_request(list_payload)
async def call_tool(self, tool_name: str, arguments: Dict[str, Any]): payload = { "jsonrpc": "2.0", "id": "3", "method": "tools/call", "params": { "name": tool_name, "arguments": arguments } }
return await self._send_request(payload)
def format_tools_for_gemini(tools: List[Dict[str, Any]]):
type_map = { "string": genai.protos.Type.STRING, "integer": genai.protos.Type.INTEGER, "number": genai.protos.Type.NUMBER, "boolean": genai.protos.Type.BOOLEAN, }
gemini_tools = []
for tool in tools: properties = {} input_schema = tool.get("inputSchema", {})
if "properties" in input_schema: for name, prop in input_schema["properties"].items(): properties[name] = genai.protos.Schema( type=type_map.get(prop.get("type", "string")), description=prop.get("description", "") )
func = genai.protos.FunctionDeclaration( name=tool["name"], description=tool["description"], parameters=genai.protos.Schema( type=genai.protos.Type.OBJECT, properties=properties, required=input_schema.get("required", []) ), )
gemini_tools.append( genai.protos.Tool(function_declarations=[func]) )
return gemini_tools
async def main():
mcp_client = MCPClient(MCP_SERVER_URL, SCRAPINGBEE_API_KEY) tools_response = await mcp_client.initialize()
genai.configure(api_key=GEMINI_API_KEY) gemini_tools = format_tools_for_gemini(tools_response"result")
model = genai.GenerativeModel( model_name="gemini-2.5-pro", tools=gemini_tools )
user_prompt = input("Ask the AI to perform a task:\n> ")
response = model.generate_content(user_prompt) function_call = response.candidates[0].content.parts[0].function_call
tool_name = function_call.name tool_args = dict(function_call.args)
result = await mcp_client.call_tool(tool_name, tool_args)
print(json.dumps(result, indent=2))
With this architecture you can:
• Build AI agents that reason about available tools • Allow LLMs to dynamically choose scraping actions • Execute structured web data extraction • Inject real-world data into model context • Create scalable AI-native web scraping systems
The ScrapingBee MCP Server transforms web scraping into a structured, tool-driven data layer for AI systems.
Instead of brittle prompt scraping, you get:
• Model Context Protocol compliance • JSON-RPC structured execution • AI agent web scraping • Scalable tool
只显示了开头部分;其余内容请在仓库中阅读