# ScraperCity MCP server

> Enables AI agents to perform B2B lead generation, email validation, and business data scraping across multiple platforms like Apollo and Google Maps.

- Repository: https://github.com/scrapercity/scrapercity-cli
- Page: https://hostedmcp.org/servers/scrapercity/scrapercity-cli
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 1.0.1

## Install

### Claude Code

```sh
claude mcp add --env 'SCRAPERCITY_API_KEY=<YOUR_SCRAPERCITY_API_KEY>' scrapercity-cli -- npx -y scrapercity
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "scrapercity-cli": {
      "command": "npx",
      "args": [
        "-y",
        "scrapercity"
      ],
      "env": {
        "SCRAPERCITY_API_KEY": "<YOUR_SCRAPERCITY_API_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "scrapercity-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "scrapercity"
      ],
      "env": {
        "SCRAPERCITY_API_KEY": "<YOUR_SCRAPERCITY_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"scrapercity-cli","type":"stdio","command":"npx","args":["-y","scrapercity"],"env":{"SCRAPERCITY_API_KEY":"<YOUR_SCRAPERCITY_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "scrapercity-cli": {
      "command": "npx",
      "args": [
        "-y",
        "scrapercity"
      ],
      "env": {
        "SCRAPERCITY_API_KEY": "<YOUR_SCRAPERCITY_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add scrapercity-cli --env 'SCRAPERCITY_API_KEY=<YOUR_SCRAPERCITY_API_KEY>' -- npx -y scrapercity
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.scrapercity-cli]
command = "npx"
args = ["-y", "scrapercity"]

[mcp_servers.scrapercity-cli.env]
SCRAPERCITY_API_KEY = "<YOUR_SCRAPERCITY_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'SCRAPERCITY_API_KEY=<YOUR_SCRAPERCITY_API_KEY>' scrapercity-cli npx -- -y scrapercity
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "scrapercity-cli": {
      "command": "npx",
      "args": [
        "-y",
        "scrapercity"
      ],
      "env": {
        "SCRAPERCITY_API_KEY": "<YOUR_SCRAPERCITY_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `SCRAPERCITY_API_KEY` | yes | yes | Your ScraperCity API key |

## FAQ

### How does the trial work?

The trial provides $5 of usage credit for 7 days that can be used on any tool at normal prices. A card is required at signup.
