Fetcher MCP - 基于 Playwright 的网页抓取服务

Fetcher MCP - 基于 Playwright 的网页抓取服务

使用 Playwright 无头浏览器抓取网页内容的 MCP 服务器。

快速开始

直接通过 npx 运行: npx -y fetcher-mcp 首次运行需安装 Chromium 浏览器: npx playwright install chromium 调试模式: npx -y fetcher-mcp --debug

配置

在 Claude Desktop 中配置 claude_desktop_config.json 文件,添加以下内容: { "mcpServers": { "fetcher": { "command": "npx", "args": ["-y", "fetcher-mcp"] } } }

主要功能

  • 支持单 URL 抓取 (fetch_url) 和批量 URL 抓取 (fetch_urls)
  • 提供 HTML 和 Markdown 输出格式
  • 智能提取网页主内容
  • 支持动态加载和反爬处理
  • 并发处理提高效率 更多功能及参数详见文档。