MCP Server

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

Remote serverstreamable-httpPython

What is the MCP MCP server?

WHOIS domain MCP server that query the WHOIS information using IP2WHOIS API. The mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 2 defined tools rather than through you.

What it actually does

A Model Context Protocol (MCP) server that provides comprehensive WHOIS lookup capabilities using the IP2WHOIS API. This server allows AI agents to query domain registration details, including expiry dates, registrar information, and registrant data. This server also supports query on hosted domains by IP address.

  • Domain Lookup — Retrieve detailed WHOIS data for any domain name
  • Hosted Domains Lookup — Retrieve hosted domains data for any IP address
  • Comprehensive Data — Includes domain age, nameservers, registrar info, and administrative/billing contact details
  • FastMCP Framework — Built using the high-performance FastMCP Python framework

Its toolset

Everything the assistant can do here goes through one of these:

  • get_whois — The get_whois tool exposed by this server
  • get_hosted_domains — The get_hosted_domains tool exposed by this server

Configuration

You will need one environment variable: IP2WHOIS_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Adding it to your client

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

When to reach for it

Plenty of payments and commerce servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP's toolset — get_whois, get_hosted_domains — is a fair guide to whether it matches your workflow. It is maintained by ip2whois; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
get_whoisThe get_whois tool exposed by this server.
get_hosted_domainsThe get_hosted_domains tool exposed by this server.

How to install the MCP MCP server

{
  "mcpServers": {
    "ip2whois": {
      "command": "uvx",
      "args": ["mcp-ip2whois"],
      "env": {
        "IP2WHOIS_API_KEY": "<YOUR API key HERE>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
IP2WHOIS_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP to get whois.
  • Use MCP to get hosted domains.

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (get_whois, get_hosted_domains) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP directly.