Whois MCP
The Whois MCP server allows AI agents to perform WHOIS lookups and retrieve information for:
whois_domain: Domain lookups that provide registrar, registrant details, registration/expiry dates, name servers, domain status, and contact information
whois_tld: Top-Level Domain lookups
whois_ip: IP address lookups (both IPv4 and IPv6)
whois_as: Autonomous System Number (ASN) lookups
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Whois MCP check if example.com is available and who owns it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Whois MCP
Model Context Protocol server for whois lookups.
Cursor IDE Demo
https://github.com/user-attachments/assets/57a82adc-3f30-453f-aabd-7138c2e6a21d
Claude Desktop Demo
https://github.com/user-attachments/assets/d30a1f45-fdaf-4280-80f2-d5d4fc9743b1
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)
Related MCP server: Whodis MCP Server
Available Tools
Tool | Description |
| Looksup whois information about the domain |
| Looksup whois information about the Top Level Domain (TLD) |
| Looksup whois information about the IP |
| Looksup whois information about the Autonomous System Number (ASN) |
Using with Cursor
Installation - Globally
Run the MCP server using npx:
npx -y @bharathvaj/whois-mcp@latestIn your Cursor IDE
Go to
Cursor Settings>MCPClick
+ Add New MCP ServerFill in the form:
Name:
Whois Lookup(or any name you prefer)Type:
commandCommand:
npx -y @bharathvaj/whois-mcp@latest
Installation - Project-specific
Add an .cursor/mcp.json file to your project:
{
"mcpServers": {
"whois": {
"command": "npx",
"args": [
"-y",
"@bharathvaj/whois-mcp@latest"
]
}
}
}Usage
Once configured, the whois tools will be automatically available to the Cursor AI Agent. You can:
The tool will be listed under
Available Toolsin MCP settingsAgent will automatically use it when relevant
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": {
"command": "npx",
"args": [
"-y",
"@bharathvaj/whois-mcp@latest"
]
}
}
}The whois capabilities will be available to Roo Code's AI agents
Development
# Install dependencies
pnpm install
# Build
pnpm build
Debugging the Server
To debug your server, you can use the MCP Inspector.
First build the server
pnpm buildRun the following command in your terminal:
# Start MCP Inspector and server with all tools
npx @modelcontextprotocol/inspector node dist/index.jsLicense
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.482 npm22MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to check domain name availability using WHOIS lookups.16 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.320 npmMIT