SuperAPIAI Directory

mcp-ip2whois

github.com · AI developer platforms

WHOIS lookups via the IP2WHOIS API: domain registration details including expiry dates, registrar and registrant data.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

Purpose

mcp-ip2whois is a Model Context Protocol (MCP) server that provides comprehensive WHOIS lookup capabilities through the IP2WHOIS API. It enables AI agents to query domain registration details, including expiration dates, registrar information, and registrant data, while also supporting lookups of hosted domains by IP address.

Key Capabilities

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

Usage

This MCP server requires an API key to work. You can register to get a free API key and enjoy up to 500 queries per month. The setup process also uses uv, which can be installed by following the guide.

Steps to use this MCP server in Claude Desktop:

  1. Set up the uv package manager by following the guide.
  2. Make sure Claude Desktop is installed; if it is not yet installed, Windows and MacOS users can download it here, and Linux users can follow this guide.
  3. Open claude_desktop_config.json in your editor of choice; if you do not have one yet, follow this guide to create one.
  4. Add the following to claude_desktop_config.json:
  5. Get an API key by simply logging in to the dashboard and retrieving it from there. Replace <YOUR API key HERE> in the above content with your actual API key.
  6. Save the changes and restart Claude Desktop; you should see it in the search and tools menu.

To query WHOIS information, simply enter a query about a domain in the Claude Desktop chat. Some example queries:

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

For example, below is the result for the domain google.com:

To query hosted domains by IP address, simply enter a query about an IP in the Claude Desktop chat. Some example queries:

  • 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 output based on the results returned by the IP2WHOIS MCP server.

Environment Variables

IP2WHOIS_API_KEY: The IP2WHOIS API key, which allows you to make up to 500 free queries per month and get more detailed information for IP addresses. You can register for a free API key, or subscribe to a plan for more benefits.

Tools

get_whois

Query WHOIS data for a domain. Parameters: domain (string): The domain to query (for example, 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 the list of hosted domains by IP address. Parameters: ip (string): The IP address to query (IPv4 or IPv6). Output: Returns a JSON object containing the domains hosted on that IP address, as well as the total number of hosted domains found.

Use Cases

Suitable for scenarios that require AI agents to automatically query domain registration information, registrar, registrant, expiration date, or reverse-lookup hosted domains by IP, such as cybersecurity analysis, domain asset investigation, and more.

Limitations

An API key is required, and a free key allows up to 500 queries per month. Other limitations are not provided at this time.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools