# HashScraper MCP server

> Allows AI agents to collect public web data from Coupang, Naver, Instagram, and over 120 other platforms using ready-made data bots.

- Repository: https://github.com/hashscraper/mcp
- Page: https://hostedmcp.org/servers/hashscraper/mcp
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.1.0

## Install

### Claude Code

```sh
claude mcp add --env 'HASHSCRAPER_API_KEY=<YOUR_HASHSCRAPER_API_KEY>' mcp -- npx -y @hashscraper/mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hashscraper/mcp"
      ],
      "env": {
        "HASHSCRAPER_API_KEY": "<YOUR_HASHSCRAPER_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hashscraper/mcp"
      ],
      "env": {
        "HASHSCRAPER_API_KEY": "<YOUR_HASHSCRAPER_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","@hashscraper/mcp"],"env":{"HASHSCRAPER_API_KEY":"<YOUR_HASHSCRAPER_API_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hashscraper/mcp"
      ],
      "env": {
        "HASHSCRAPER_API_KEY": "<YOUR_HASHSCRAPER_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add mcp --env 'HASHSCRAPER_API_KEY=<YOUR_HASHSCRAPER_API_KEY>' -- npx -y @hashscraper/mcp
```

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

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@hashscraper/mcp"]

[mcp_servers.mcp.env]
HASHSCRAPER_API_KEY = "<YOUR_HASHSCRAPER_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'HASHSCRAPER_API_KEY=<YOUR_HASHSCRAPER_API_KEY>' mcp npx -- -y @hashscraper/mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hashscraper/mcp"
      ],
      "env": {
        "HASHSCRAPER_API_KEY": "<YOUR_HASHSCRAPER_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `HASHSCRAPER_API_KEY` | no | yes | Optional. A HashScraper API key from My page -> API. Without it, use the login tool once to connect in the browser. |

## Tools (6)

- `login`
- `catalog`
- `run`
- `fetch`
- `coupang_categories`
- `coupang_top`

## FAQ

### How much does it cost to use?

Every account receives free credits every day that refill at midnight KST. You can also use your own API key if you prefer.

### How do I connect my account?

You can connect by asking your agent to 'connect HashScraper', which triggers a login tool that provides a link and an 8-character code for browser authentication.

### Can I save the collected data to a file?

Yes, large results can be saved to a CSV file using an absolute path.
