
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.
概覽
WHOIS 查詢伺服器,讓助理透過 IP2WHOIS API 查詢網域註冊資訊,以及某個 IP 位址上代管的網域。
- 可以做什麼
- 查詢網域的 WHOIS 資料,包括狀態、網域年齡、建立、更新與到期日期、註冊商、註冊人和名稱伺服器。
- 依 IPv4 或 IPv6 位址查詢其上代管的網域清單與總數。
- 適用情境
- 適合需要了解網域歸屬與註冊商、到期時間,或查明哪些網域共用同一 IP 位址的情境,例如調查、盡職調查或疑難排解。
- 執行需求
- 需要 IP2WHOIS API 金鑰:本機套件透過環境變數 IP2WHOIS_API_KEY 提供,代管端點則透過 X-API-Key 標頭提供。本機方式以 uv 執行 mcp-ip2whois 套件;代管方式不需本機執行環境,若經 npx 轉送則需要 Node.js。需要能連線至 IP2WHOIS 服務的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Ip2whois,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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.
If your client is configured from the command line, such as Claude Code, you can add the server with:
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.
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:
- Setup the
uvpackage manager, you can once again refer to the guide to do so. - 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.
- Open the
claude_desktop_config.jsonin your choice of editor, if you do not having one yet, follow this guide to create one. - Add the following to your
claude_desktop_config.json:
- 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. - Restart the Claude Desktop after saving the changes, and you should see it appear in the
Search and toolsmenu.
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版本歷史
1- v1.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分