Whois MCP
Whois MCP
用于 whois 查询的模型上下文协议服务器。
光标IDE演示
https://github.com/user-attachments/assets/57a82adc-3f30-453f-aabd-7138c2e6a21d
Claude 桌面演示
https://github.com/user-attachments/assets/d30a1f45-fdaf-4280-80f2-d5d4fc9743b1
概述
该 MCP 服务器允许 Claude Desktop、Cursor、Windsurf 等 AI 代理执行 WHOIS 查找并检索域详细信息。
**用途:**您可以直接让人工智能检查域名是否可用、所有者、注册时间以及其他重要信息。无需打开浏览器进行搜索。
什么是 WHOIS 查询? WHOIS 查询是指查询 WHOIS 数据库以获取域名、IP 地址或自治系统的注册详细信息的过程。它可以帮助用户查找域名所有者、注册时间、到期时间以及其他重要信息。
WHOIS 查询可以提供哪些信息?
当您执行 WHOIS 查询时,您可以检索如下详细信息:
域名 – 查询的具体域名
注册商名称 – 管理域名注册的公司(例如 GoDaddy、Namecheap)
注册人详细信息 – 域名所有者的姓名、组织和联系方式(除非受 WHOIS 隐私保护)
注册和到期日期 – 域名注册时间和到期时间
名称服务器 – 域正在使用的 DNS 服务器
域名状态 – 有效、已过期、已锁定或待删除
联系信息 – 管理、技术和计费联系人(如果未隐藏)
Related MCP server: Whodis MCP Server
可用工具
工具 | 描述 |
| 查找域名的 whois 信息 |
| 查找有关顶级域名 (TLD) 的 whois 信息 |
| 查找有关 IP 的 whois 信息 |
| 查找有关自治系统编号 (ASN) 的 whois 信息 |
与游标一起使用
安装 - 全球
使用 npx 运行 MCP 服务器:
npx -y @bharathvaj/whois-mcp@latest在你的 Cursor IDE 中
前往
Cursor Settings>MCP点击
+ Add New MCP Server填写表格:
名称:
Whois Lookup(或您喜欢的任何名称)类型:
command命令:
npx -y @bharathvaj/whois-mcp@latest
安装 - 特定于项目
将.cursor/mcp.json文件添加到您的项目:
{
"mcpServers": {
"whois": {
"command": "npx",
"args": [
"-y",
"@bharathvaj/whois-mcp@latest"
]
}
}
}用法
配置完成后,whois 工具将自动提供给 Cursor AI 代理。您可以:
该工具将在 MCP 设置中的
Available Tools下列出代理将在相关时自动使用它
您可以明确要求代理发送通知
与 Roo 代码一起使用
通过单击 Roo Code 设置中的“编辑 MCP 设置”或使用 VS Code 命令面板中的“Roo Code:打开 MCP 配置”命令来访问 MCP 设置。
{
"mcpServers": {
"whois": {
"command": "npx",
"args": [
"-y",
"@bharathvaj/whois-mcp@latest"
]
}
}
}Roo Code 的 AI 代理将可以使用 whois 功能
发展
# Install dependencies
pnpm install
# Build
pnpm build
调试服务器
要调试您的服务器,您可以使用MCP Inspector 。
首先搭建服务器
pnpm build在终端中运行以下命令:
# Start MCP Inspector and server with all tools
npx @modelcontextprotocol/inspector node dist/index.js执照
Available Tools
4 toolswhois_asC
Looksup whois information about the Autonomous System Number (ASN)
Inputs: asn (required).
whois_domainC
Looksup whois information about the domain
Inputs: domain (required).
whois_ipC
Looksup whois information about the IP
Inputs: ip (required).
whois_tldC
Looksup whois information about the Top Level Domain (TLD)
Inputs: tld (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose targeting a specific resource type: ASN, domain, IP, and TLD. The naming directly indicates the target, making it impossible to confuse which tool to use for a given query.
All tools follow a perfect verb_noun pattern with 'whois_' prefix followed by the resource type (as, domain, ip, tld). This consistent naming scheme makes the tool set predictable and easy to understand.
Four tools is ideal for this server's purpose of providing WHOIS lookups for different internet resource types. Each tool covers a distinct category, making the set well-scoped without being too sparse or bloated.
The tool set comprehensively covers the WHOIS domain by providing lookups for all major internet resource types: autonomous systems, domains, IP addresses, and top-level domains. There are no apparent gaps in coverage for this purpose.
Maintenance
Related MCP Connectors
Domain intel for AI agents: RDAP registration, DNS, email deliverability, tech stack.
Domain intel for AI agents: RDAP registration, DNS, email deliverability, tech stack.
Free, no-API-key network lookups for AI agents — IP geolocation, DNS, WHOIS, HTTP and SSL/TLS certificate checks, and full domain health reports.
Register, transfer and manage domain names and DNS from your AI agent.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to perform WHOIS lookups to retrieve domain registration details, including ownership, registration dates, and availability status without requiring browser searches.4422 npm22MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to check domain name availability using WHOIS lookups.13 npm4ISC

mcp-ip2whoisofficial
AlicenseAqualityBmaintenanceA 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.21MIT- AlicenseAqualityDmaintenanceA Model Context Protocol server for performing WHOIS domain lookups directly via TCP port 43, supporting over 877 TLDs and parsing for 169 country-code TLDs.316 npmMIT