Mcp Ip2whois

io.github.ip2whois由 GitHub 账号 ip2whois 发布v1.2.0更新于 Oct 24, 2026

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

概览

AI 生成的概览

WHOIS 查询服务器,让助手通过 IP2WHOIS API 查询域名注册信息以及某个 IP 地址上托管的域名。

可以做什么
  • 查询域名的 WHOIS 数据,包括状态、域名年龄、创建、更新与到期日期、注册商、注册人和名称服务器。
  • 按 IPv4 或 IPv6 地址查询其上托管的域名列表及总数。
适用场景
适合需要了解域名归属与注册商、到期时间,或查明哪些域名共用同一 IP 地址的场景,例如调研、尽职调查或故障排查。
运行要求
需要 IP2WHOIS API 密钥:本地包通过环境变量 IP2WHOIS_API_KEY 提供,托管端点通过 X-API-Key 请求头提供。本地方式用 uv 运行 mcp-ip2whois 包;托管方式无需本地运行时,若经 npx 转发则需要 Node.js。需要能访问 IP2WHOIS 服务的网络。
安装前请注意
API 密钥是计费凭证:免费额度为每月最多 500 次查询,也可订阅付费方案,查询会消耗配额。查询的域名或 IP 会发送给第三方 IP2WHOIS 服务。该服务器只读取数据,不会修改任何内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Ip2whois,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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.

来源:README.md,提交 db60c07

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分