# subimpact data MCP server

> Enables AI agents to access public web data including Google Search, Maps, news, social media, and e-commerce via Apify actors.

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

## Install

### Claude Code

```sh
claude mcp add --env 'APIFY_TOKEN=<YOUR_APIFY_TOKEN>' data-mcp -- npx -y @subimpact/data-mcp
```

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

```json
{
  "mcpServers": {
    "data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@subimpact/data-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "data-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@subimpact/data-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"data-mcp","type":"stdio","command":"npx","args":["-y","@subimpact/data-mcp"],"env":{"APIFY_TOKEN":"<YOUR_APIFY_TOKEN>"}}'
```

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

```json
{
  "mcpServers": {
    "data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@subimpact/data-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add data-mcp --env 'APIFY_TOKEN=<YOUR_APIFY_TOKEN>' -- npx -y @subimpact/data-mcp
```

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

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

[mcp_servers.data-mcp.env]
APIFY_TOKEN = "<YOUR_APIFY_TOKEN>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'APIFY_TOKEN=<YOUR_APIFY_TOKEN>' data-mcp npx -- -y @subimpact/data-mcp
```

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

```json
{
  "mcpServers": {
    "data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@subimpact/data-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `APIFY_TOKEN` | yes | yes | Your Apify API token. Runs are billed to your Apify account at each actor's Store price. |

## FAQ

### How much does using these tools cost?

Costs are billed directly to your Apify account based on the specific actor's Store price per event.

### Can I limit how much money a single tool call spends?

Yes, you can use the _maxChargeUsd parameter to set a per-run spending cap in USD.

### What if a tool takes a long time to finish?

If a job is long-running, the tool returns a runId which you can use with the get_run_results tool to collect the data later.
