MS

modelcontextprotocol-servers/whois-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 5 forks 质量 57 趋势 0

用于whois查询的模型上下文协议服务器。

概览

用于whois查询的模型上下文协议服务器。 该MCP服务器允许像Claude Desktop、Cursor、Windsurf,..等AI代理进行WHOIS查询并获取域名信息。等工具能够进行WHOIS查询并获取域名信息。 你可以直接让AI检查域名是否可用、谁拥有、注册时间以及其他重要细节。无需进入浏览器搜索。 WHOIS查询是查询WHOIS数据库以获取域名、IP地址或自治系统的注册详情的过程。它帮助用户了解域名所有者、注册时间、到期时间及其他重要信息。 当你进行WHOIS查询时,可以检索如下信息: - 域名——被查询的特定域名- 注册商名称——管理域名注册的公司(例如:

概述(AI 翻译)

用于whois查询的模型上下文协议服务器。

概述

该MCP服务器允许像Claude Desktop、Cursor、Windsurf,…等AI代理进行WHOIS查询并获取域名信息。等工具能够进行WHOIS查询并获取域名信息。

目的 你可以直接让AI检查域名是否可用、谁拥有、注册时间以及其他重要细节。无需进入浏览器搜索。

什么是WHOIS查询? WHOIS查询是查询WHOIS数据库以获取域名、IP地址或自治系统的注册详情的过程。它帮助用户了解域名所有者、注册时间、到期时间及其他重要信息。

WHOIS查询能提供哪些信息?

当你进行WHOIS查询时,可以检索如下信息:

  • 域名——被查询的特定域名
  • 注册商名称——管理域名的公司(例如 GoDaddy、Namecheap)
  • 注册人详情——域名所有者的姓名、组织和联系方式(除非受WHOIS隐私保护)
  • 注册与到期日——域名注册及到期时间
  • 名称服务器——域名所使用的DNS服务器

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Whois MCP

Model Context Protocol server for whois lookups.

Overview

This MCP server allows AI agents like Claude Desktop, Cursor, Windsurf,… etc to perform WHOIS lookups and retrieve domain details.

Purpose You can directly ask the AI to check if a domain is available, who owns it, when it was registered, and other important details. No need to go to browser and search.

What is a WHOIS Lookup? A WHOIS lookup is the process of querying a WHOIS database to retrieve registration details about a domain name, IP address, or autonomous system. It helps users find out who owns a domain, when it was registered, when it expires, and other important details.

What Information Can a WHOIS Lookup Provide?

When you perform a WHOIS lookup, you can retrieve details such as:

  • Domain Name – The specific domain queried
  • Registrar Name – The company managing the domain registration (e.g., GoDaddy, Namecheap)
  • Registrant Details – The name, organization, and contact details of the domain owner (unless protected by WHOIS privacy)
  • Registration & Expiry Date – When the domain was registered and when it will expire
  • Name Servers – The DNS servers the domain is using
  • Domain Status – Active, expired, locked, or pending deletion
  • Contact Information – Administrative, technical, and billing contacts (if not hidden)

Available Tools

Tool Description
whois_domain Looksup whois information about the domain
whois_tld Looksup whois information about the Top Level Domain (TLD)
whois_ip Looksup whois information about the IP
whois_as Looksup whois information about the Autonomous System Number (ASN)

Using with Cursor

Installation - Globally

Run the MCP server using npx:

npx -y @mcp-server/whois-mcp@latest

In your Cursor IDE

  1. Go to Cursor Settings > MCP
  2. Click + Add New MCP Server
  3. Fill in the form:
    • Name: Whois Lookup (or any name you prefer)
    • Type: command
    • Command: npx -y @mcp-server/whois-mcp@latest

Installation - Project-specific

Add an .cursor/mcp.json file to your project:

{
  "mcpServers": {
    "whois": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-server/whois-mcp@latest"
      ]
    }
  }
}

Usage

Once configured, the whois tools will be automatically available to the Cursor AI Agent. You can:

  1. The tool will be listed under Available Tools in MCP settings
  2. Agent will automatically use it when relevant
  3. You can explicitly ask Agent to send notifications

Using with Roo Code

Access the MCP settings by clicking “Edit MCP Settings” in Roo Code settings or using the “Roo Code: Open MCP Config” command in VS Code’s command palette.

{
  "mcpServers": {
    "whois": {
在 GitHub 查看完整 README

安装

npx -y @mcp-server/whois-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "whois": { "command": "npx", "args": [ "-y", "@mcp-server/whois-mcp@latest" ] } } }