# databroker MCP server

> Provides pay-per-call access to UK vehicle MOT history and reliability analytics using automated USDC micropayments on Base.

- Repository: https://github.com/mossforge/databroker
- Page: https://hostedmcp.org/servers/mossforge/databroker
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.5.0

## Install

### Claude Code

```sh
claude mcp add --env 'DATABROKER_BASE_URL=<DATABROKER_BASE_URL>' --env 'CDP_API_KEY_ID=<YOUR_CDP_API_KEY_ID>' --env 'CDP_API_KEY_SECRET=<YOUR_CDP_API_KEY_SECRET>' --env 'CDP_WALLET_SECRET=<YOUR_CDP_WALLET_SECRET>' --env 'DATABROKER_WALLET_KEY=<YOUR_DATABROKER_WALLET_KEY>' databroker -- npx -y @mossforge/databroker-mcp
```

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

```json
{
  "mcpServers": {
    "databroker": {
      "command": "npx",
      "args": [
        "-y",
        "@mossforge/databroker-mcp"
      ],
      "env": {
        "DATABROKER_BASE_URL": "<DATABROKER_BASE_URL>",
        "CDP_API_KEY_ID": "<YOUR_CDP_API_KEY_ID>",
        "CDP_API_KEY_SECRET": "<YOUR_CDP_API_KEY_SECRET>",
        "CDP_WALLET_SECRET": "<YOUR_CDP_WALLET_SECRET>",
        "DATABROKER_WALLET_KEY": "<YOUR_DATABROKER_WALLET_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "databroker": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mossforge/databroker-mcp"
      ],
      "env": {
        "DATABROKER_BASE_URL": "<DATABROKER_BASE_URL>",
        "CDP_API_KEY_ID": "<YOUR_CDP_API_KEY_ID>",
        "CDP_API_KEY_SECRET": "<YOUR_CDP_API_KEY_SECRET>",
        "CDP_WALLET_SECRET": "<YOUR_CDP_WALLET_SECRET>",
        "DATABROKER_WALLET_KEY": "<YOUR_DATABROKER_WALLET_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"databroker","type":"stdio","command":"npx","args":["-y","@mossforge/databroker-mcp"],"env":{"DATABROKER_BASE_URL":"<DATABROKER_BASE_URL>","CDP_API_KEY_ID":"<YOUR_CDP_API_KEY_ID>","CDP_API_KEY_SECRET":"<YOUR_CDP_API_KEY_SECRET>","CDP_WALLET_SECRET":"<YOUR_CDP_WALLET_SECRET>","DATABROKER_WALLET_KEY":"<YOUR_DATABROKER_WALLET_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "databroker": {
      "command": "npx",
      "args": [
        "-y",
        "@mossforge/databroker-mcp"
      ],
      "env": {
        "DATABROKER_BASE_URL": "<DATABROKER_BASE_URL>",
        "CDP_API_KEY_ID": "<YOUR_CDP_API_KEY_ID>",
        "CDP_API_KEY_SECRET": "<YOUR_CDP_API_KEY_SECRET>",
        "CDP_WALLET_SECRET": "<YOUR_CDP_WALLET_SECRET>",
        "DATABROKER_WALLET_KEY": "<YOUR_DATABROKER_WALLET_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add databroker --env 'DATABROKER_BASE_URL=<DATABROKER_BASE_URL>' --env 'CDP_API_KEY_ID=<YOUR_CDP_API_KEY_ID>' --env 'CDP_API_KEY_SECRET=<YOUR_CDP_API_KEY_SECRET>' --env 'CDP_WALLET_SECRET=<YOUR_CDP_WALLET_SECRET>' --env 'DATABROKER_WALLET_KEY=<YOUR_DATABROKER_WALLET_KEY>' -- npx -y @mossforge/databroker-mcp
```

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

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

[mcp_servers.databroker.env]
DATABROKER_BASE_URL = "<DATABROKER_BASE_URL>"
CDP_API_KEY_ID = "<YOUR_CDP_API_KEY_ID>"
CDP_API_KEY_SECRET = "<YOUR_CDP_API_KEY_SECRET>"
CDP_WALLET_SECRET = "<YOUR_CDP_WALLET_SECRET>"
DATABROKER_WALLET_KEY = "<YOUR_DATABROKER_WALLET_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'DATABROKER_BASE_URL=<DATABROKER_BASE_URL>' -e 'CDP_API_KEY_ID=<YOUR_CDP_API_KEY_ID>' -e 'CDP_API_KEY_SECRET=<YOUR_CDP_API_KEY_SECRET>' -e 'CDP_WALLET_SECRET=<YOUR_CDP_WALLET_SECRET>' -e 'DATABROKER_WALLET_KEY=<YOUR_DATABROKER_WALLET_KEY>' databroker npx -- -y @mossforge/databroker-mcp
```

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

```json
{
  "mcpServers": {
    "databroker": {
      "command": "npx",
      "args": [
        "-y",
        "@mossforge/databroker-mcp"
      ],
      "env": {
        "DATABROKER_BASE_URL": "<DATABROKER_BASE_URL>",
        "CDP_API_KEY_ID": "<YOUR_CDP_API_KEY_ID>",
        "CDP_API_KEY_SECRET": "<YOUR_CDP_API_KEY_SECRET>",
        "CDP_WALLET_SECRET": "<YOUR_CDP_WALLET_SECRET>",
        "DATABROKER_WALLET_KEY": "<YOUR_DATABROKER_WALLET_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DATABROKER_BASE_URL` | yes | no | Base URL of the DataBroker API, e.g. https://api.databroker.mossforge.dev |
| `CDP_API_KEY_ID` | no | yes | Coinbase CDP API key id. Required when DATABROKER_SIGNER=cdp. |
| `CDP_API_KEY_SECRET` | no | yes | Coinbase CDP API key secret. Required when DATABROKER_SIGNER=cdp. |
| `CDP_WALLET_SECRET` | no | yes | Coinbase CDP wallet secret. Required when DATABROKER_SIGNER=cdp. |
| `DATABROKER_WALLET_KEY` | no | yes | 0x-prefixed private key for the paying wallet. Required when DATABROKER_SIGNER=raw (the default). |
| `DATABROKER_MAX_USDC` | no | no | Per-call spend cap in USDC. Calls priced above this are declined before payment. |
| `DATABROKER_SIGNER` | no | no | Signer provider: "raw" (default, self-custodied private key) or "cdp" (Coinbase CDP-managed wallet) |

## Tools (6)

- `databroker_discover`
- `databroker_fetch`
- `databroker_meta`
- `databroker_health`
- `databroker_batch_create`
- `databroker_batch_status`

## FAQ

### Is there a limit on how much can be spent per call?

Yes, every paid call is capped by the DATABROKER_MAX_USDC environment variable, which defaults to 0.50 USDC.

### Do I need ETH to pay for transactions?

No, you only need to fund your wallet with USDC on Base mainnet because EIP-3009 transfers are gasless for the payer.
