# InternetData MCP server

> Allows an AI agent to inspect IP and ASN databases, check license status, view metadata, and verify file checksums.

- Repository: https://github.com/internetdata/mcp
- Page: https://hostedmcp.org/servers/internetdata/mcp
- Transport: stdio, remote
- Stars: 1
- License: MIT
- Latest version: 3.3.0

## Install

### Claude Code

```sh
claude mcp add --env INTERNETDATA_API_KEY=<YOUR_INTERNETDATA_API_KEY> mcp -- npx -y internetdata-mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "internetdata-mcp"
      ],
      "env": {
        "INTERNETDATA_API_KEY": "<YOUR_INTERNETDATA_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "internetdata-mcp"
      ],
      "env": {
        "INTERNETDATA_API_KEY": "<YOUR_INTERNETDATA_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "internetdata-mcp"
      ],
      "env": {
        "INTERNETDATA_API_KEY": "<YOUR_INTERNETDATA_API_KEY>"
      }
    }
  }
}
```

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

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "internetdata-mcp"]

[mcp_servers.mcp.env]
INTERNETDATA_API_KEY = "<YOUR_INTERNETDATA_API_KEY>"
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "internetdata-mcp"
      ],
      "env": {
        "INTERNETDATA_API_KEY": "<YOUR_INTERNETDATA_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `INTERNETDATA_API_KEY` | no | yes | Your InternetData API key; lookups answer without one, with fewer fields |
| `INTERNETDATA_BASE_URL` | no | no | Overrides the API endpoint |

## Tools (4)

- `list_databases`
- `database_metadata`
- `database_checksum`
- `list_downloads`

## FAQ

### How can I check if my organization has a license for a specific database?

You can use the list_databases tool to see every published database along with your organization's license standing, such as licensed, expired, or unlicensed.

### What information is provided by the database_metadata tool?

It provides a database's columns, sample rows, row count, build date, and file sizes.

### How do I verify the integrity of a database file I already have?

You can use the database_checksum tool to retrieve the published digests for a specific database file.
