经 AI Skill Hub 精选评估,浏览器自动化工具 获评「强烈推荐」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
浏览器自动化工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
浏览器自动化工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/krishnashakula/browsewright
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--------": {
"command": "npx",
"args": ["-y", "browsewright"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 浏览器自动化工具 执行以下任务... Claude: [自动调用 浏览器自动化工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"________": {
"command": "npx",
"args": ["-y", "browsewright"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
pip install browsewright # core
pip install "browsewright[mcp]" # + MCP server (Claude Desktop / Code / any client)
Or from source:
git clone https://github.com/krishnashakula/browsewright && cd browsewright
python -m venv .venv && . .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
Add your Anthropic API key:
```bash cp .env.example .env
Every task is a thin wrapper over extract_structured(url, schema). Define any schema, get JSON back:
import asyncio
from browsewright import extract_structured
schema = {"headline": "string",
"open_roles": [{"title": "string", "team": "string", "location": "string"}]}
data = asyncio.run(extract_structured(
"https://example.com/careers", schema,
instruction="Extract the page headline and every open job posting."))
print(data["open_roles"])
```
The first browser run launches Chrome via nodriver (Chrome must be installed).
bw"not recognized" after install? pip put the scripts in a folder that isn't on your PATH (common on Windows). Use the module form, which always works:python -m browsewright "<url>" "<goal>"·python -m browsewright.tasks_cli enrich "<url>"
---
Stripe is financial infrastructure for the internet. It provides payment processing, billing, and treasury APIs for businesses from
What is Browsewright? Browsewright is an open-source, MIT-licensed Python library for intent-driven browser automation and AI web scraping. You give it a URL and a goal in plain language, and a large language model drives a real Chrome browser to navigate, fill out forms, bypass bot protection, and return structured JSON instead of raw HTML. Install it with pip install browsewright.
How is Browsewright different from Playwright or Selenium? Playwright and Selenium automate a browser that you script with explicit selectors and XPath. Browsewright is the opposite: you describe intent ("find the pricing", "fill this form") and an LLM decides the actions, so there are no selectors to write and no scrapers to maintain when a site changes its layout.
How is Browsewright different from Firecrawl, Browser-Use, and Tavily? Browsewright fills and submits real forms, drives a real Chrome browser, tries free API and archive shortcuts before launching a browser, and runs fully locally on your own API key. Firecrawl and Tavily return text but do not fill forms or drive a real browser, and Browser-Use drives a browser but is scripted rather than intent-first and has no free pre-flight shortcut.
Can Browsewright fill out and submit web forms? Yes. Browsewright reads a form's field labels, maps a user profile onto the fields with an LLM, selects valid dropdown options, submits the form, and parses the results into JSON. It has filled real government records forms that expose no API.
Does Browsewright work on websites with no API? Yes. Browsewright drives a real browser the way a human would, so it works on sites that have no API at all, including 20-year-old ASP.NET pages that are invisible to HTTP-only scrapers.
Can Browsewright get past Cloudflare or DataDome bot protection? Browsewright runs a real Chrome browser via nodriver with a native TLS fingerprint and a human motor layer (Bézier-curve mouse movement, typing cadence, and scroll pacing), which lets it pass many Cloudflare, Akamai, and DataDome bot checks. Bypassing CDN bot protection is disabled in the default polite mode and is only enabled with the --aggressive flag on sites you own or are authorized to test.
How much does it cost to run? In a benchmark across 50 diverse websites, Browsewright extracted all 50 for $0.047 total, with about 28% answered by a free API or archive shortcut and no browser at all. It tries the cheapest path first and only launches Chrome when a page requires it.
Is Browsewright free and open source? Yes. Browsewright is free and MIT-licensed, runs locally, and uses your own Anthropic API key, so you pay only for the LLM tokens you use — typically a fraction of a cent per page.
Can I use Browsewright with Claude or as an MCP tool? Yes. Browsewright ships an MCP server (bw-mcp) that exposes a read_page(url, goal) tool to any MCP client, including Claude Desktop and Claude Code. Install it with pip install "browsewright[mcp]".
Does Browsewright run locally? Yes. Browsewright runs entirely on your own machine with your own API key. There is no SaaS backend, and no data is sent anywhere except the LLM provider you configure.
What do I need to run Browsewright? Browsewright requires Python 3.10 or newer and a local installation of Chrome, which it launches via nodriver on the first browser run. Add an Anthropic API key to a .env file to get started.
---
高质量的MCP工具,自动化浏览和表单填写
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:浏览器自动化工具 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | browsewright |
| 原始描述 | 开源MCP工具:Give an LLM a URL and a goal — it drives a real browser, fills forms, and return。⭐8 · Python |
| Topics | ai-agentbrowser-automationform-fillingllm |
| GitHub | https://github.com/krishnashakula/browsewright |
| License | MIT |
| 语言 | Python |
收录时间:2026-06-24 · 更新时间:2026-06-24 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端