Hyperbrowser

官方

Hyperbrowser 是下一代平台,赋能AI代理,实现轻松、可扩展的浏览器自动化。

你可以用 Hyperbrowser MCP 做什么?

  • 将任意网页抓取为干净的Markdown或截图 — 使用 scrape_webpage 从URL中提取适合LLM的内容。
  • 批量抓取多个链接页面进行提取crawl_webpages 跟踪链接并返回整个网站部分的格式化内容。
  • 将杂乱的HTML转换为结构化JSONextract_structured_data 将原始页面内容转换为定义的架构。
  • 以编程方式搜索网络search_with_bing 执行Bing查询并返回结果集。
  • 将复杂的浏览器任务委托给AI代理 — 选择 browser_use_agentopenai_computer_use_agentclaude_computer_use_agent 进行多步骤自动化。
  • 管理持久的浏览器配置文件create_profilelist_profilesdelete_profile 处理保存的浏览会话。

文档

Hyperbrowser MCP 服务器

smithery badge

Frame 5

这是 Hyperbrowser 的模型上下文协议(MCP)服务器。它提供多种工具,用于抓取、提取结构化数据以及爬取网页。同时,它还便于访问通用浏览器代理,例如 OpenAI 的 CUA、Anthropic 的 Claude Computer Use 以及 Browser Use。

有关 Hyperbrowser 的更多信息,请参见此处。Hyperbrowser API 支持的功能集是此 MCP 服务器功能的超集。

有关模型上下文协议的更多信息,请参见此处

目录

安装

手动安装

要安装此服务器,请运行:

npx hyperbrowser-mcp <YOUR-HYPERBROWSER-API-KEY>

在 Cursor 上运行

按如下方式添加到 ~/.cursor/mcp.json

{
  "mcpServers": {
    "hyperbrowser": {
      "command": "npx",
      "args": ["-y", "hyperbrowser-mcp"],
      "env": {
        "HYPERBROWSER_API_KEY": "YOUR-API-KEY"
      }
    }
  }
}

在 Windsurf 上运行

按如下方式添加到你的 ./codeium/windsurf/model_config.json

{
  "mcpServers": {
    "hyperbrowser": {
      "command": "npx",
      "args": ["-y", "hyperbrowser-mcp"],
      "env": {
        "HYPERBROWSER_API_KEY": "YOUR-API-KEY"
      }
    }
  }
}

开发

出于开发目的,你可以直接从源代码运行服务器。

  1. 克隆仓库:

    git clone git@github.com:hyperbrowserai/mcp.git hyperbrowser-mcp
    cd hyperbrowser-mcp
    
  2. 安装依赖:

    npm install # or yarn install
    npm run build
    
  3. 运行服务器:

    node dist/server.js
    

Claude 桌面应用

这是适用于 Claude 桌面客户端的 Hyperbrowser MCP 服务器配置示例。

{
  "mcpServers": {
    "hyperbrowser": {
      "command": "npx",
      "args": ["--yes", "hyperbrowser-mcp"],
      "env": {
        "HYPERBROWSER_API_KEY": "your-api-key"
      }
    }
  }
}

工具

  • scrape_webpage - 从任意网页提取格式化内容(如 Markdown、截图等)
  • crawl_webpages - 浏览多个链接页面并提取适合 LLM 的格式化内容
  • extract_structured_data - 将杂乱的 HTML 转换为结构化 JSON
  • search_with_bing - 使用 Bing 搜索查询网络并获取结果
  • browser_use_agent - 使用 Browser Use 代理进行快速、轻量级的浏览器自动化
  • openai_computer_use_agent - 使用 OpenAI 的 CUA 模型进行通用自动化
  • claude_computer_use_agent - 使用 Claude Computer Use 执行复杂的浏览器任务
  • create_profile - 创建一个新的持久化 Hyperbrowser 配置文件。
  • delete_profile - 删除一个现有的持久化 Hyperbrowser 配置文件。
  • list_profiles - 列出现有的持久化 Hyperbrowser 配置文件。

通过 Smithery 安装

要通过 Smithery 为 Claude Desktop 自动安装 Hyperbrowser MCP 服务器:

npx -y @smithery/cli install @hyperbrowserai/mcp --client claude

资源

该服务器通过 resources 方法提供有关 Hyperbrowser 的文档。任何能够通过资源进行发现的客户端都可以访问这些文档。

许可证

本项目基于 MIT 许可证授权。