io.github.therealtimex/browser-use
搜索与获取by therealtimex
用于 AI 浏览器自动化的 MCP 工具,可执行导航、点击、输入、内容提取,并自主完成各类 Web 任务。
什么是 io.github.therealtimex/browser-use?
用于 AI 浏览器自动化的 MCP 工具,可执行导航、点击、输入、内容提取,并自主完成各类 Web 任务。
README
Deutsch | Español | français | 日本語 | 한국어 | Português | Русский | 中文
🤖 Quickstart
With uv (Python>=3.11):
# We ship every day - use the latest version!
uv pip install browser-use
Download chromium using playwright's shortcut:
uvx playwright install chromium --with-deps --no-shell
Create a .env file and add your API key. Don't have one? Start with a free Gemini key.
GEMINI_API_KEY=
Run your first agent:
from browser_use import Agent, ChatGoogle
from dotenv import load_dotenv
load_dotenv()
agent = Agent(
task="Find the number of stars of the browser-use repo",
llm=ChatGoogle(model="gemini-flash-latest"),
# browser=Browser(use_cloud=True), # Uses Browser-Use cloud for the browser
)
agent.run_sync()
Check out the library docs and cloud docs for more settings.
Stealth Browser Infrastructure
Want to bypass Cloudflare, or any other anti-bot protection?
Simply go to Browser Use Cloud grab a BROWSER_USE_API_KEY and use the use_cloud parameter.
from browser_use import Agent, Browser, ChatOpenAI
# Use Browser-Use cloud browser service
browser = Browser(
use_cloud=True, # Automatically provisions a cloud browser
)
agent = Agent(
task="Your task here",
llm=ChatOpenAI(model='gpt-4.1-mini'),
browser=browser,
)
Demos
Task: Add grocery items to cart, and checkout.
<br/><br/>
Task: Read my CV & find ML jobs, save them to a file, and then start applying for them in new tabs, if you need help, ask me.
https://github.com/user-attachments/assets/171fb4d6-0355-46f2-863e-edb04a828d04
<br/><br/>
See more examples and give us a star!
<br/><br/>
MCP Integration
This gives Claude Desktop access to browser automation tools for web scraping, form filling, and more. See the MCP docs.
{
"mcpServers": {
"browser-use": {
"command": "uvx",
"args": ["browser-use[cli]", "--mcp"],
"env": {
"OPENAI_API_KEY": "sk-..."
}
}
}
}
Tell your computer what to do, and it gets it done.
<img src="https://github.com/user-attachments/assets/06fa3078-8461-4560-b434-445510c1766f" width="400"/> </div> <div align="center"> Made with ❤️ in Zurich and San Francisco </div>常见问题
io.github.therealtimex/browser-use 是什么?
用于 AI 浏览器自动化的 MCP 工具,可执行导航、点击、输入、内容提取,并自主完成各类 Web 任务。
相关 Skills
SEO审计工具
by amdf01-debug
接口规范
by alexxxiong
API 规范管理工具 - 跨项目 API 文档的初始化、更新、查询与搜索。Triggers: 'API文档', 'API规范', '接口文档', '路由解析', 'apispec', 'API lookup', 'API search'.
多视角辩论
by caius-kong
Multi-perspective structured debate for complex topics. Spawn parallel subagents with opposing stances, cross-inject arguments for rebuttal, then synthesize via neutral judge into a consensus report with recommendations and scenario matrix. Use when: (1) user asks for deep comparison, pros/cons, or X vs Y analysis, (2) user asks for multi-angle research on a controversial or complex topic, (3) user explicitly requests debate, dialectical analysis, or adversarial research. NOT for: simple factual lookups, single-perspective deep research (use academic-deep-research), or quick opinion questions.
相关 MCP Server
网页抓取
编辑精选by Anthropic
Fetch 是 MCP 官方参考服务器,让 AI 能抓取网页并转为 Markdown 格式。
✎ 这个服务器解决了 AI 直接处理网页内容时格式混乱的问题,适合需要让 Claude 分析在线文档或新闻的开发者。不过作为参考实现,它缺乏生产级的安全配置,你得自己处理反爬虫和隐私风险。
Brave 搜索
编辑精选by Anthropic
Brave Search 是让 Claude 直接调用 Brave 搜索 API 获取实时网络信息的 MCP 服务器。
✎ 如果你想让 AI 助手帮你搜索最新资讯或技术文档,这个工具能绕过传统搜索的限制,直接返回结构化数据。特别适合需要实时信息的开发者,比如查 API 更新或竞品动态。不过它依赖 Brave 的 API 配额,高频使用可能受限。
Puppeteer 浏览器控制
编辑精选by Anthropic
Puppeteer 是让 Claude 自动操作浏览器进行网页抓取和测试的 MCP 服务器。
✎ 这个服务器解决了手动编写 Puppeteer 脚本的繁琐问题,适合需要自动化网页交互的开发者,比如抓取动态内容或做端到端测试。不过,作为参考实现,它可能缺少生产级的安全防护,建议在可控环境中使用。