Skip to main content
Glama
kenn-kentonm

ScrapeAPI MCP Server

by kenn-kentonm
README.md
# ScrapeAPI MCP Server

Web scraping tools for Claude and other MCP-compatible LLM agents.

## Tools available

| Tool | Description |
|------|-------------|
| `scrape_url` | Scrape any URL and return text, links, images, metadata |
| `scrape_multiple` | Scrape up to 10 URLs in parallel |
| `extract_structured` | Extract specific fields using CSS selectors |
| `take_screenshot` | Full-page screenshot as base64 PNG |
| `check_credits` | Check remaining credit balance |
| `list_datasets` | Browse available pre-built datasets |

## Setup in Claude Desktop

1. Get your API key at **https://getscrapeapi.com**

2. Open your Claude Desktop config file:
   - **Mac:** `~/Library/Application Support/Claude/claude_desktop_config.json`
   - **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

3. Add this:

```json
{
  "mcpServers": {
    "scrapeapi": {
      "command": "npx",
      "args": ["-y", "@scrapeapi/mcp"],
      "env": {
        "SCRAPEAPI_KEY": "sk_your_api_key_here"
      }
    }
  }
}
```

4. Restart Claude Desktop

## Usage examples

Once connected, just ask Claude:

- *"Scrape https://example.com and summarize the content"*
- *"Extract all product prices from https://shop.example.com"*
- *"Take a screenshot of https://dashboard.example.com"*
- *"What datasets do you have available?"*

## Environment variables

| Variable | Required | Description |
|----------|----------|-------------|
| `SCRAPEAPI_KEY` | Yes | Your ScrapeAPI key |
| `SCRAPEAPI_BASE_URL` | No | Override API base URL |

## Links

- API Docs: https://getscrapeapi.com/docs
- Pricing: https://getscrapeapi.com/#pricing
- Support: hello@getscrapeapi.com

TDQS

A4/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a distinct function: account credits, general scraping, structured extraction, bulk scraping, pre-built datasets, and screenshots. No overlapping purposes.

Naming Consistency5/5

All tools use consistent snake_case with verb_noun pattern (check_credits, extract_structured, list_datasets, etc.), making them predictable.

Tool Count5/5

Six tools cover the essential capabilities of a scraping API without being excessive. The scope is well-defined and each tool earns its place.

Completeness4/5

The tool set covers core scraping workflows (single, multiple, structured, screenshots, credit checks, and pre-built datasets). Minor gaps like dataset management exist but don't hinder typical use.

Maintenance

ActivityInactive
ResponsivenessNo issues