Scrapezy MCP server

Integrates with the Scrapezy API to extract structured data from websites based on user-specified prompts, enabling flexible web scraping for data collection, content aggregation, and automated research tasks.
Back to servers
Setup instructions
Provider
Scrapezy
Release date
Mar 05, 2025
Language
TypeScript
Package
Stats
366 downloads
5 stars

This MCP server by Scrapezy enables AI models to extract structured data from websites, allowing for seamless integration with Claude and other AI assistants to retrieve specific information from web pages based on user prompts.

Installation Options

Installing via Smithery

For the easiest installation with Claude Desktop:

npx -y @smithery/cli install @Scrapezy/mcp --client claude

Manual Installation

Install the package globally using npm:

npm install -g @scrapezy/mcp

Setting Up Your API Key

You'll need a Scrapezy API key to use this server. There are two ways to provide it:

Using an Environment Variable

export SCRAPEZY_API_KEY=your_api_key
npx @scrapezy/mcp

Using a Command-line Argument

npx @scrapezy/mcp --api-key=your_api_key

Configuring with Claude Desktop

To integrate with Claude Desktop, you'll need to add the server configuration:

MacOS Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "scrapezy": {
      "command": "npx @scrapezy/mcp --api-key=your_api_key"
    }
  }
}

Windows Configuration

Add to %APPDATA%/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "scrapezy": {
      "command": "npx @scrapezy/mcp --api-key=your_api_key"
    }
  }
}

Using Scrapezy with Claude

Once installed and configured, you can use the MCP server through Claude with natural language prompts that specify:

  1. The URL you want to extract data from
  2. What specific data you want to extract

Example Prompt

Please extract product information from this page: https://example.com/product
Extract the product name, price, description, and available colors.

Available Tools

The server provides the following capabilities:

  • extract_structured_data: Extracts specific data from websites
    • Requires a URL and a clear description of what data to extract
    • Returns structured data based on your prompt specifications

Troubleshooting

If you encounter issues, you can use the MCP Inspector for debugging:

npm run inspector

This will provide a browser URL where you can access debugging tools to monitor the communication between Claude and the MCP server.

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 "scrapezy" '{"command":"npx","args":["@scrapezy/mcp","--api-key=your_api_key"]}'

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": {
        "scrapezy": {
            "command": "npx",
            "args": [
                "@scrapezy/mcp",
                "--api-key=your_api_key"
            ]
        }
    }
}

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": {
        "scrapezy": {
            "command": "npx",
            "args": [
                "@scrapezy/mcp",
                "--api-key=your_api_key"
            ]
        }
    }
}

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