Skip to main content
Glama
bharathvaj-ganesan

Whois MCP

후이즈 MCP

whois 조회를 위한 모델 컨텍스트 프로토콜 서버입니다.

커서 IDE 데모

https://github.com/user-attachments/assets/57a82adc-3f30-453f-aabd-7138c2e6a21d

클로드 데스크톱 데모

https://github.com/user-attachments/assets/d30a1f45-fdaf-4280-80f2-d5d4fc9743b1

개요

이 MCP 서버를 사용하면 Claude Desktop, Cursor, Windsurf 등과 같은 AI 에이전트가 WHOIS 조회를 수행하고 도메인 세부 정보를 검색할 수 있습니다.

목적: AI에게 도메인 사용 가능 여부, 소유자, 등록일 및 기타 중요 정보를 직접 확인해 달라고 요청할 수 있습니다. 브라우저에서 검색할 필요가 없습니다.

WHOIS 조회란 무엇인가요? WHOIS 조회는 도메인 이름, IP 주소 또는 자율 시스템에 대한 등록 정보를 검색하기 위해 WHOIS 데이터베이스를 쿼리하는 프로세스입니다. WHOIS 조회를 통해 사용자는 도메인 소유자, 등록 날짜, 만료 날짜 및 기타 중요한 정보를 확인할 수 있습니다.

WHOIS 조회를 통해 어떤 정보를 얻을 수 있나요?

WHOIS 조회를 수행하면 다음과 같은 세부 정보를 검색할 수 있습니다.

  • 도메인 이름 - 쿼리된 특정 도메인

  • 등록자 이름 – 도메인 등록을 관리하는 회사(예: GoDaddy, Namecheap)

  • 등록자 세부 정보 – 도메인 소유자의 이름, 조직 및 연락처 세부 정보(WHOIS 개인 정보 보호로 보호되지 않는 경우)

  • 등록 및 만료일 – 도메인이 등록된 날짜와 만료되는 날짜

  • 네임 서버 - 도메인이 사용하는 DNS 서버

  • 도메인 상태 – 활성, 만료, 잠금 또는 삭제 보류

  • 연락처 정보 – 관리, 기술 및 청구 연락처(숨겨지지 않은 경우)

Related MCP server: Whodis MCP Server

사용 가능한 도구

도구

설명

whois_domain

도메인에 대한 whois 정보를 조회합니다.

whois_tld

최상위 도메인(TLD)에 대한 whois 정보 조회

whois_ip

IP에 대한 whois 정보 조회

whois_as

자율 시스템 번호(ASN)에 대한 whois 정보를 조회합니다.

커서와 함께 사용

설치 - 글로벌

npx를 사용하여 MCP 서버를 실행합니다.

지엑스피1

커서 IDE에서

  1. Cursor Settings > MCP 로 이동하세요

  2. + Add New MCP Server 클릭하세요

  3. 양식을 작성하세요:

    • 이름: Whois Lookup (또는 원하는 이름)

    • 유형: command

    • 명령어: npx -y @bharathvaj/whois-mcp@latest

설치 - 프로젝트별

프로젝트에 .cursor/mcp.json 파일을 추가합니다.

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

용법

구성이 완료되면 Cursor AI Agent에서 whois 도구를 자동으로 사용할 수 있습니다. 다음 작업을 수행할 수 있습니다.

  1. 해당 도구는 MCP 설정의 Available Tools 에 나열됩니다.

  2. 관련성이 있는 경우 에이전트가 자동으로 이를 사용합니다.

  3. 에이전트에게 알림을 보내도록 명시적으로 요청할 수 있습니다.

Roo 코드와 함께 사용

Roo Code 설정에서 "MCP 설정 편집"을 클릭하거나 VS Code 명령 팔레트에서 "Roo Code: MCP 구성 열기" 명령을 사용하여 MCP 설정에 액세스합니다.

{
  "mcpServers": {
    "whois": {
      "command": "npx",
      "args": [
        "-y",
        "@bharathvaj/whois-mcp@latest"
      ]
    }
  }
}
  1. whois 기능은 Roo Code의 AI 에이전트에서 사용할 수 있습니다.

개발

# 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

특허

MIT

Available Tools

4 tools
whois_asC

Looksup whois information about the Autonomous System Number (ASN)

ParametersJSON Schema
NameRequiredDescriptionDefault
asnYes

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool performs a lookup but doesn't describe what the lookup entails (e.g., external API call, rate limits, authentication needs, data freshness, or error conditions). For a tool that likely queries external whois databases, this lack of operational context is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's appropriately sized for a simple lookup tool and front-loads the key information. There's no wasted verbiage or redundant phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's likely complexity (external whois query), absence of annotations, and no output schema, the description is insufficient. It doesn't cover what information is returned, how results are structured, potential limitations, or error handling. For a network lookup tool that agents might use in troubleshooting scenarios, more contextual information would be valuable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, but the tool has only one required parameter (asn). The description adds minimal semantics by indicating the parameter should be an 'Autonomous System Number (ASN)', which aligns with the schema's pattern constraint. However, it doesn't explain the ASN format beyond what the regex implies, nor does it provide examples or usage context for the parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Looksup') and resource ('whois information about the Autonomous System Number (ASN)'), making the purpose understandable. It doesn't explicitly differentiate from sibling tools like whois_domain or whois_ip, but the focus on ASN provides implicit distinction. The description avoids tautology by specifying what information is retrieved rather than just restating the tool name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings (whois_domain, whois_ip, whois_tld). It doesn't mention alternatives, prerequisites, or exclusions. The only implied usage is for ASN lookups, but without explicit comparison to other whois tools, the agent must infer the distinction based on parameter types alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whois_domainC

Looksup whois information about the domain

ParametersJSON Schema
NameRequiredDescriptionDefault
domainYes

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('looksup') but doesn't describe what information is returned, potential rate limits, error conditions, or authentication requirements. This leaves significant gaps for a tool that presumably queries external WHOIS data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero wasted words. It's appropriately sized for a simple lookup tool and front-loads the essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations, no output schema, and 0% schema description coverage, the description is insufficient. It doesn't explain what WHOIS information is returned, how results are structured, or any behavioral constraints. The agent would struggle to use this tool effectively without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the single 'domain' parameter is completely undocumented in the schema. The description mentions 'domain' but provides no additional semantics about what constitutes a valid domain (e.g., format examples, TLD requirements, handling of subdomains). This doesn't adequately compensate for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('looksup') and resource ('whois information about the domain'), making the purpose understandable. However, it doesn't explicitly distinguish this tool from its siblings (whois_as, whois_ip, whois_tld) beyond the domain focus, which prevents a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings. It doesn't mention alternatives like whois_ip for IP addresses or whois_as for autonomous systems, leaving the agent to infer usage from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whois_ipC

Looksup whois information about the IP

ParametersJSON Schema
NameRequiredDescriptionDefault
ipYes

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool performs a WHOIS lookup, implying a read-only operation, but doesn't clarify aspects like rate limits, authentication needs, error handling, or what specific information is returned. For a tool with no annotation coverage, this leaves significant gaps in understanding its behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action, making it easy to parse. However, it could be slightly more structured to include key details, but it avoids redundancy and stays focused.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (a network lookup tool with no annotations, no output schema, and low schema coverage), the description is incomplete. It doesn't address what information is returned, potential errors, or how it differs from sibling tools. For a tool that likely returns structured data, more context is needed to guide the agent effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 1 parameter with 0% description coverage, so the schema provides no semantic details. The description adds minimal value by implying the parameter is an IP address, but doesn't explain format expectations (e.g., IPv4 vs. IPv6) or usage context. Since schema coverage is low, the description partially compensates but not fully, aligning with the baseline for moderate coverage gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('looksup') and resource ('whois information about the IP'), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like whois_as, whois_domain, or whois_tld, which appear to handle different types of WHOIS queries. The description is specific enough to convey the tool's function but lacks sibling distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools or suggest scenarios where whois_ip is appropriate compared to whois_domain or whois_as. There's no indication of prerequisites, limitations, or context for usage, leaving the agent with minimal direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whois_tldC

Looksup whois information about the Top Level Domain (TLD)

ParametersJSON Schema
NameRequiredDescriptionDefault
tldYes

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but offers minimal behavioral context. It doesn't disclose whether this is a read-only lookup, requires authentication, has rate limits, returns structured data, or handles errors. 'Looks up' suggests a query operation but lacks operational details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with no wasted words. It's front-loaded with the core purpose, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, 0% schema coverage, no output schema, and a sibling-rich context, the description is inadequate. It doesn't explain what whois information is returned, error conditions, or how it differs from other whois tools, leaving significant gaps for agent understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate but doesn't. It mentions 'TLD' generally but provides no details about the 'tld' parameter format (e.g., valid TLD strings like '.com', case sensitivity, without leading dot). The schema only specifies it's a required string with minLength 1.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('looks up') and target resource ('whois information about the Top Level Domain (TLD)'), making the purpose immediately understandable. It doesn't explicitly differentiate from sibling tools like whois_domain or whois_ip, which would require a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus its siblings (whois_as, whois_domain, whois_ip). The description implies it's for TLDs specifically, but doesn't clarify use cases, prerequisites, or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updates
    • First observedwhois_as
    • First observedwhois_domain
    • First observedwhois_ip
    • First observedwhois_tld

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness5/5

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

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables AI agents to perform WHOIS lookups to retrieve domain registration details, including ownership, registration dates, and availability status without requiring browser searches.
    4
    43 npm
    21
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to check domain name availability using WHOIS lookups.
    12 npm
    4
    ISC
  • A
    license
    A
    quality
    B
    maintenance
    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.
    2
    1
    MIT