mcp-ip2whois

v1.2.0
io.github.ip2whois/mcp-ip2whois Checked 2 days ago Published 6 months ago

WHOIS domain MCP server that query the WHOIS information using IP2WHOIS API.

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

Values you need

VariableWhat it is
IP2WHOIS_API_KEYrequired secret Your IP2WHOIS API key for detailed WHOIS information.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mcp-ip2whois -e 'IP2WHOIS_API_KEY=<IP2WHOIS_API_KEY>' -- uvx --with 'mcp<2' mcp-ip2whois==1.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-ip2whois": {
      "args": [
        "--with",
        "mcp<2",
        "mcp-ip2whois==1.2.0"
      ],
      "command": "uvx",
      "env": {
        "IP2WHOIS_API_KEY": "<IP2WHOIS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-ip2whois": {
      "args": [
        "--with",
        "mcp<2",
        "mcp-ip2whois==1.2.0"
      ],
      "command": "uvx",
      "env": {
        "IP2WHOIS_API_KEY": "<IP2WHOIS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "IP2WHOIS_API_KEY",
      "id": "ip2whois-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-ip2whois": {
      "args": [
        "--with",
        "mcp<2",
        "mcp-ip2whois==1.2.0"
      ],
      "command": "uvx",
      "env": {
        "IP2WHOIS_API_KEY": "${input:ip2whois-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-ip2whois]
command = "uvx"
args = ["--with", "mcp<2", "mcp-ip2whois==1.2.0"]
env = { "IP2WHOIS_API_KEY" = "<IP2WHOIS_API_KEY>" }

For AI agents

  1. Ask the user for: IP2WHOIS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_whois, get_hosted_domains.
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json