UseScraper MCP 服务器
基于 TypeScript 的 MCP 服务器,通过 UseScraper API 提供网页抓取功能。
快速入门
-
克隆仓库: git clone https://github.com/MCP-Mirror/tanevanwifferen_usescraper-mcp-server.git cd tanevanwifferen_usescraper-mcp-server
-
安装依赖: npm install
-
构建服务器: npm run build
-
配置 Claude Desktop:
- MacOS: 编辑
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: 编辑
%APPDATA%/Claude/claude_desktop_config.json
添加以下内容: { "mcpServers": { "usescraper-server": { "command": "node", "args": ["/path/to/usescraper-server/build/index.js"], "env": { "USESCRAPER_API_KEY": "your-api-key-here" } } } }
- MacOS: 编辑
-
使用 scrape 工具: { "name": "scrape", "arguments": { "url": "https://example.com", "format": "markdown" } }
-
开发调试(可选):运行
npm run watch
或npm run inspector
。