网页数据提取工具

Hyperbrowser MCP Server 是一个提供网页抓取、结构化数据提取和爬取功能的工具,支持多种浏览器代理,如OpenAI的CUA、Anthropic的Claude Computer Use和Browser Use。

  • by mfengzhishang
  • 本地部署
  • 2 星标
  • 更新于
在 GitHub 查看 mfengzhishang/mcp

使用说明

超级浏览器MCP服务器

这是Hyperbrowser的模型上下文协议(MCP)服务器。它提供了各种工具来抓取、提取结构化数据和抓取网页。它还提供了对通用浏览器代理的轻松访问,如OpenAI的CUA、Anthropic的Claude Computer Use和browser Use。

有关Hyperbrowser的更多信息,请参阅 这里.超浏览器API支持mcp服务器中存在的功能的超集。

可以找到有关模型上下文协议的更多信息 这里.

目录

安装

手动安装

要安装服务器,请运行:

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

在游标上运行

增添 ~/.cursor/mcp.json 这样地:

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

在风帆上跑步

添加到您的 ./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 Desktop客户端的Hyperbrowser MCP服务器的示例配置。

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

工具

  • scrape_webpage -从任何网页提取格式化(标记、截图等)内容
  • 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计算机执行复杂的浏览器任务
  • create_profile -创建新的持久Hyperbrowser配置文件。
  • delete_profile -删除现有的持久Hyperbrowser配置文件。
  • list_profiles -列出现有的持久Hyperbrowser配置文件。

通过Smithery安装

通过以下方式自动安装克劳德桌面版Hyperbrowser MCP服务器 史密瑟里:

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

资源

服务器通过以下方式提供有关hyperbrowser的文档 resources 方法。任何可以对资源进行发现的客户端都可以访问它。

许可证

该项目根据MIT许可证获得许可。