Skrape MCP 服务器

Skrape MCP 服务器

将网页转换为干净的 Markdown 格式,适用于 LLM 模型。

快速入门

  1. 安装依赖:运行 npm install
  2. 构建项目:运行 npm run build
  3. 配置 API 密钥:从 skrape.ai 获取 API 密钥。
  4. 添加到 Claude Desktop 配置文件
    • MacOS 路径:~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows 路径:%APPDATA%/Claude/claude_desktop_config.json 添加以下内容(替换路径和密钥): { "mcpServers": { "skrape": { "command": "node", "args": ["path/to/skrape-mcp/build/index.js"], "env": { "SKRAPE_API_KEY": "your-key-here" } } } }
  5. 使用工具:通过 get_markdown 工具提供 URL,获取优化后的 Markdown 输出。