MCP Server for whois lookups.
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
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:
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) |
Installation - Globally
Run the MCP server using npx:
npx -y @bharathvaj/whois-mcp@latest
In your Cursor IDE
Cursor Settings
> MCP
+ Add New MCP Server
Whois Lookup
(or any name you prefer)command
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:
Available Tools
in MCP settingsAccess 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"
]
}
}
}
# Install dependencies
pnpm install
# Build
pnpm build
To debug your server, you can use the MCP Inspector.
First build the server
pnpm build
Run the following command in your terminal:
# Start MCP Inspector and server with all tools
npx @modelcontextprotocol/inspector node dist/index.js