Scraper.is MCP server

Integrates with Scraper.is API to enable web content extraction, structured data parsing, and Markdown conversion for tasks like product research, news aggregation, and content analysis.
Back to servers
Setup instructions
Provider
Scraper.is
Release date
Mar 03, 2025
Language
Python
Package
Stats
2.6K downloads
6 stars

Scraper.is MCP is a tool that integrates with AI assistants through the Model Context Protocol (MCP) to enable web scraping capabilities. It allows AI assistants to extract up-to-date information from websites, capture screenshots, and retrieve content in various formats.

Installation

Global Installation

npm install -g scraperis-mcp

Or with yarn:

yarn global add scraperis-mcp

Getting Your API Key

Before using the package, you need to obtain a Scraper.is API key:

  1. Sign up or log in at scraper.is
  2. Navigate to the API Keys section: https://www.scraper.is/dashboard/apikeys
  3. Create a new API key or copy your existing key

Configuration

Environment Setup

Create a .env file with your Scraper.is API key:

SCRAPERIS_API_KEY=your_api_key_here

Claude Desktop Integration

To use this package with Claude Desktop:

  1. Add the following configuration to your claude_desktop_config.json file:
{
  "mcpServers": {
    "scraperis_scraper": {
      "command": "scraperis-mcp",
      "args": [],
      "env": {
        "SCRAPERIS_API_KEY": "your-api-key-here",
        "DEBUG": "*"
      }
    }
  }
}
  1. Replace your-api-key-here with your actual Scraper.is API key
  2. Restart Claude Desktop to apply the changes

Running with MCP Inspector

For testing purposes, you can use the MCP Inspector:

npx @modelcontextprotocol/inspector scraperis-mcp

Usage

Once properly configured, AI assistants that support the Model Context Protocol can use the following tool:

Scrape Tool

The scrape tool extracts content from websites and supports various output formats:

  • markdown: Returns content in markdown format
  • html: Returns content in HTML format
  • screenshot: Returns a screenshot of the webpage
  • json: Returns structured data in JSON format
  • quick: Returns a faster, more simplified extraction

Example Usage

When interacting with an AI that has access to the scrape tool, you can prompt it with:

Can you scrape the latest news from techcrunch.com and summarize it for me?

API Reference

The scrape tool accepts the following parameters:

  • prompt (string): Description of what to scrape, including the URL
  • format (string): Format to return the content in (markdown, html, screenshot, json, quick)

Example JSON request:

{
  "prompt": "Get me the top 10 products from producthunt.com",
  "format": "markdown"
}

Features

  • Web Scraping: Extract content from any website
  • Screenshots: Capture visual representations of web pages
  • Multiple Formats: Get content in markdown, HTML, or JSON
  • Progress Updates: Real-time progress reporting during scraping operations
  • MCP Integration: Seamless integration with MCP-compatible AI assistants

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "scraperis_scraper" '{"command":"scraperis-mcp","args":[],"env":{"SCRAPERIS_API_KEY":"your-api-key-here","DEBUG":"*"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "scraperis_scraper": {
            "command": "scraperis-mcp",
            "args": [],
            "env": {
                "SCRAPERIS_API_KEY": "your-api-key-here",
                "DEBUG": "*"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "scraperis_scraper": {
            "command": "scraperis-mcp",
            "args": [],
            "env": {
                "SCRAPERIS_API_KEY": "your-api-key-here",
                "DEBUG": "*"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later