Mcp Ip2whois

io.github.ip2whoisPublished by GitHub account ip2whoisv1.2.0Updated Oct 24, 2026

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

Overview

AI-generated overview

WHOIS lookup server that lets an assistant query domain registration details and the domains hosted on an IP address via the IP2WHOIS API.

What you can do
  • Look up WHOIS data for a domain name, including status, domain age, creation, update and expiry dates, registrar, registrant and nameservers.
  • Query the list of domain names hosted on a given IPv4 or IPv6 address, with a total count.
When to use it
Useful when you need to check who owns or registers a domain, when it expires, or which domains share an IP address, for research, due diligence or troubleshooting.
Requirements
An IP2WHOIS API key, supplied as the IP2WHOIS_API_KEY environment variable for the local package or as the X-API-Key header for the hosted endpoint. The local option runs the mcp-ip2whois package with uv; the hosted option needs no local runtime, or Node.js if forwarded through npx. Network access to the IP2WHOIS service.
Before you install
The API key is a billable credential: the free tier allows up to 500 queries per month and paid plans are available, so queries consume quota. Lookups send the domain or IP being queried to the third-party IP2WHOIS service. The server only reads data and does not modify anything.

Installation

In SourceWeft

  1. Open Mcp Ip2whois in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

IP2WHOIS MCP Server

[mcp-ip2whois MCP server] [Ip2whois MCP on mcprush]

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.

Features

  • 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.

Requirement

This MCP server requires an API key to work. You can sign up for a free API key and enjoy up to 500 queries per month.

The local MCP server setup also uses uv, which can be installed by following the guide.

Setup

There are two ways to use this MCP server:

  • Cloud-hosted MCP server: Connect directly to the hosted IP2WHOIS MCP server. Nothing needs to be installed locally.
  • Local MCP server: Download and run the server on your own machine with uv.

Option 1: Cloud-hosted MCP server

Use this if you want to connect directly to the hosted server.

Method A: Direct HTTP connection

Use this if your MCP client supports remote servers over HTTP. No uv, Node.js, or npx is needed.

json
{  "mcpServers": {    "ip2whois": {      "type": "http",      "url": "https://mcp.ip2whois.com/",      "headers": {        "X-API-Key": "<YOUR API key HERE>"      }    }  }}

If your client is configured from the command line, such as Claude Code, you can add the server with:

bash
claude mcp add --transport http ip2whois https://mcp.ip2whois.com/ --header "X-API-Key: <YOUR API key HERE>"
Method B: Connection through npx

Use this if your MCP client only supports local (stdio) servers. The mcp-remote package runs locally and forwards requests to the hosted server. Node.js is required.

json
{  "mcpServers": {    "ip2whois": {      "command": "npx",      "args": [        "-y",        "mcp-remote@latest",        "https://mcp.ip2whois.com/",        "--header",        "X-API-Key:<YOUR API key HERE>"      ]    }  }}

To get your API key, just login to your dashboard and get it from there, then replace <YOUR API key HERE> in the example above with your actual API key.

Restart the Claude Desktop after saving the changes, and you should see it appear in the Search and tools menu.

Option 2: Local MCP server

Follow the steps below to run the MCP server on your own machine:

  1. Setup the uv package manager, you can once again refer to the guide to do so.
  2. Make sure you have installed the Claude Desktop, if you haven't, kindly download from here for Windows and MacOS users, or follow this guide for Linux user.
  3. Open the claude_desktop_config.json in your choice of editor, if you do not having one yet, follow this guide to create one.
  4. Add the following to your claude_desktop_config.json:
json
{  "mcpServers": {    "ip2whois": {      "command": "uvx",      "args": ["mcp-ip2whois"],      "env": {        "IP2WHOIS_API_KEY": "<YOUR API key HERE>"      }    }  }}
  1. To get your API key, just login to your dashboard and get it from there. Replace the <YOUR API key HERE> in the example above with your actual API key.
  2. Restart the Claude Desktop after saving the changes, and you should see it appear in the Search and tools menu.

Usage

To query the WHOIS information, just enter your query about the domain in a chat in Claude Desktop. Some of the example query will be:

  • Who is the registrar of the (domain)?
  • Who is the owner of (domain)?
  • What is the WHOIS for (domain)?

For instance, below is the result of the domain google.com:

[The output of the domain google.com]

To query for the hosted domains by IP address, just enter your query about the IP in a chat in Claude Desktop. Some of the example query will be:

  • What domains did (IP) have?
  • What are the domains in (IP)?
  • What's the domain owned by (IP)?

In Claude Desktop, the model will automatically generate the output based on the result returned by IP2WHOIS MCP server.

Environment Variable

IP2WHOIS_API_KEY

The IP2WHOIS API key, which allows you to query up to 500 per month for free and more details of the IP address. You can sign up for a free API key, or subscribe to a plan to enjoy more benefits.

Tools

get_whois

Look up WHOIS data for a domain name.

  • Arguments:

    • domain (string): The domain name to look up (e.g., google.com).
  • Output: Returns a JSON object containing:

    • domain_id, status, domain_age

    • create_date, update_date, expire_date

    • registrar (name, url, etc.)

    • registrant (name, organization, country)

    • nameservers

get_hosted_domains

Query for the list of hosted domain names by IP address.

  • Arguments:

    • ip (string): The IP address (IPv4 or IPv6) to look up.
  • Output: Returns a JSON object containing the domains hosted on the ip address, and the total number of hosted domains found

License

See the LICENSE file.

Source: README.md at commit db60c07

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.2.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts