Skip to main content
Glama
README.md
# OnlineChecker MCP

An MCP server for the free [onlinechecker.io](https://onlinechecker.io/docs/) API. It provides 24 tools covering BIN, card and IBAN checks, IP and VPN/Tor lookups, DNS, WHOIS, SSL, email and phone validation, MAC vendors, User-Agent parsing and notes. No API key is needed.

## Docker

```bash
docker build -t onlinechecker-mcp .
docker run --rm -p 127.0.0.1:8000:8000 onlinechecker-mcp
```

The MCP endpoint is `http://127.0.0.1:8000/mcp`. To add it to Claude Code:

```bash
claude mcp add --transport http onlinechecker http://127.0.0.1:8000/mcp
```

For Claude Desktop, use stdio. Claude Desktop starts the container itself:

```json
{
  "mcpServers": {
    "onlinechecker": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT=stdio", "onlinechecker-mcp"]
    }
  }
}
```

The HTTP mode has no authentication, so publish the port on `127.0.0.1` only.


## Layout

```
server.py               main server, mounts the categories
onlinechecker/
  api.py                HTTP client for onlinechecker.io
  payments.py           Payments & fraud
  network.py            Network & IP
  domains.py            Domain, DNS & SSL
  identity.py           Identity & device
  utilities.py          Utilities
```

To add a tool, write a function decorated with `@mcp.tool` in its category's file.

## Settings

| Variable | Default |
|---|---|
| `MCP_TRANSPORT` | `stdio` (or `http`) |
| `MCP_HOST` | `127.0.0.1` |
| `MCP_PORT` | `8000` |
| `ONLINECHECKER_BASE_URL` | `https://onlinechecker.io` |
| `ONLINECHECKER_TIMEOUT` | `60` (seconds) |