Skip to main content
Glama

UseScraper MCP Server

UseScraper MCP 服务器

这是一个基于 TypeScript 的 MCP 服务器,使用 UseScraper API 提供网页抓取功能。它提供了一个名为“scrape”的工具,可以从各种格式的网页中提取内容。

特征

工具

  • scrape从网页中提取内容
    • 参数
      • url (必填):要抓取的网页的 URL
      • format (可选):保存内容的格式(text、html、markdown)。默认值:markdown
      • advanced_proxy (可选):使用高级代理来规避机器人检测。默认值:false
      • extract_object (可选):指定要提取的数据的对象

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 UseScraper:

npx -y @smithery/cli install usescraper-server --client claude

手动安装

  1. 克隆存储库:
    git clone https://github.com/your-repo/usescraper-server.git cd usescraper-server
  2. 安装依赖项:
    npm install
  3. 构建服务器:
    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" } } } }

/path/to/usescraper-server替换为服务器的实际路径,并将your-api-key-here替换为您的 UseScraper API 密钥。

用法

配置完成后,您可以通过 MCP 界面使用“scrape”工具。示例用法:

{ "name": "scrape", "arguments": { "url": "https://example.com", "format": "markdown" } }

发展

对于使用自动重建的开发:

npm run watch

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

基于 TypeScript 的 MCP 服务器利用 UseScraper API 提供网页抓取功能,允许用户从各种格式的网页中提取内容。

  1. 特征
    1. 工具
  2. 安装
    1. 通过 Smithery 安装
    2. 手动安装
  3. 配置
    1. 用法
      1. 发展
        1. 调试

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        MCP Server enabling integration with Scrapezy to retrieve structured data from websites.
        Last updated -
        1
        21
        7
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Python-based MCP server that crawls websites to extract and save content as markdown files, with features for mapping website structure and links.
        Last updated -
        3
        MIT License
      • A
        security
        A
        license
        A
        quality
        A TypeScript-based web scraping server built on the Model Context Protocol that offers multiple export formats, content extraction rules, and support for both static and dynamic (SPA) websites.
        Last updated -
        7
        11
        1
        MIT License
      • -
        security
        A
        license
        -
        quality
        TypeScript implementation of an MCP server that provides tools for web crawling, content extraction, and browser automation, enabling AI systems to access and process web content through 15 specialized tools.
        Last updated -
        41
        7
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/tanevanwifferen/usescraper-mcp-server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server