Skip to main content
Glama
UseScraper MCP Server

UseScraper MCP Server

UseScraper MCP Server

This is a TypeScript-based MCP server that provides web scraping capabilities using the UseScraper API. It exposes a single tool 'scrape' that can extract content from web pages in various formats.

Features

Tools

  • scrape - Extract content from a webpage

    • Parameters:

      • url (required): The URL of the webpage to scrape

      • format (optional): The format to save the content (text, html, markdown). Default: markdown

      • advanced_proxy (optional): Use advanced proxy to circumvent bot detection. Default: false

      • extract_object (optional): Object specifying data to extract

Related MCP server: MCP-Typescribe

Installation

Installing via Smithery

To install UseScraper for Claude Desktop automatically via Smithery:

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

Manual Installation

  1. Clone the repository:

    git clone https://github.com/your-repo/usescraper-server.git
    cd usescraper-server
  2. Install dependencies:

    npm install
  3. Build the server:

    npm run build

Configuration

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On 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"
      }
    }
  }
}

Replace /path/to/usescraper-server with the actual path to the server and your-api-key-here with your UseScraper API key.

Usage

Once configured, you can use the 'scrape' tool through the MCP interface. Example usage:

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

Development

For development with auto-rebuild:

npm run watch

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Available Tools

1 tool
scrapeC

Scrape content from a webpage using UseScraper API

Inputs: url (required), format, advanced_proxy, extract_object.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of confusion with other tools.

    Naming Consistency5/5

    With a single tool, naming is trivially consistent.

    Tool Count3/5

    A single tool for web scraping is borderline; it might suffice for basic use but feels thin for a full-featured scraper server.

    Completeness3/5

    The single scrape tool covers the core functionality, but lacks additional features like selecting specific elements or handling different output formats, which are common in web scraping APIs.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      MCP Server enabling integration with Scrapezy to retrieve structured data from websites.
      1
      23 npm
      14
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      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.
      7
      12 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A TypeScript-based MCP server that provides backend API handling and facilitates communication between microservices. Features an organized structure with controllers, routes, and models for easy extensibility and maintenance.
      1
      ISC