Official WhoisXML API MCP server — 32 tools for WHOIS, DNS, IP geolocation, threat intel, email verification, and bulk lookups. Listing home; distributed via npm, Docker Hub, and a hosted OAuth endpoint.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add whoisxmlapi --env WHOISXMLAPI_TOKEN='<WHOISXMLAPI_TOKEN>' -- npx -y @whoisxmlapidotcom/mcp-whoisxmlapi~/.codex/config.toml
[mcp_servers.whoisxmlapi]
command = "npx"
args = ["-y", "@whoisxmlapidotcom/mcp-whoisxmlapi"]
env = { WHOISXMLAPI_TOKEN = "<WHOISXMLAPI_TOKEN>" }
# codex mcp add whoisxmlapi --env WHOISXMLAPI_TOKEN='<WHOISXMLAPI_TOKEN>' -- npx -y @whoisxmlapidotcom/mcp-whoisxmlapi~/.cursor/mcp.json
{
"mcpServers": {
"whoisxmlapi": {
"command": "npx",
"args": [
"-y",
"@whoisxmlapidotcom/mcp-whoisxmlapi"
],
"env": {
"WHOISXMLAPI_TOKEN": "<WHOISXMLAPI_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"whoisxmlapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@whoisxmlapidotcom/mcp-whoisxmlapi"
],
"env": {
"WHOISXMLAPI_TOKEN": "<WHOISXMLAPI_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"whoisxmlapi": {
"command": "npx",
"args": [
"-y",
"@whoisxmlapidotcom/mcp-whoisxmlapi"
],
"env": {
"WHOISXMLAPI_TOKEN": "<WHOISXMLAPI_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"whoisxmlapi": {
"command": "npx",
"args": [
"-y",
"@whoisxmlapidotcom/mcp-whoisxmlapi"
],
"env": {
"WHOISXMLAPI_TOKEN": "<WHOISXMLAPI_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"whoisxmlapi": {
"command": "npx",
"args": [
"-y",
"@whoisxmlapidotcom/mcp-whoisxmlapi"
],
"env": {
"WHOISXMLAPI_TOKEN": "<WHOISXMLAPI_TOKEN>"
}
}
}
}Remote
claude mcp add --transport http whoisxmlapi https://mcp-hosted.whoisxmlapi.com/mcp~/.codex/config.toml
[mcp_servers.whoisxmlapi]
url = "https://mcp-hosted.whoisxmlapi.com/mcp"
# codex mcp add whoisxmlapi --url https://mcp-hosted.whoisxmlapi.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"whoisxmlapi": {
"url": "https://mcp-hosted.whoisxmlapi.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"whoisxmlapi": {
"type": "http",
"url": "https://mcp-hosted.whoisxmlapi.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"whoisxmlapi": {
"httpUrl": "https://mcp-hosted.whoisxmlapi.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"whoisxmlapi": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp-hosted.whoisxmlapi.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"whoisxmlapi": {
"url": "https://mcp-hosted.whoisxmlapi.com/mcp"
}
}
}Environment variables
WHOISXMLAPI_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.