by bharathvaj-ganesan
Performs WHOIS lookups for domains, IP addresses, top‑level domains, and autonomous system numbers, delivering registration details directly to AI agents.
Whois MCP provides a Model Context Protocol (MCP) server that enables AI agents such as Claude Desktop, Cursor, and Roo Code to query WHOIS databases. It returns domain ownership, registrar information, registration and expiry dates, name servers, status, and contact details without leaving the IDE.
npx -y @bharathvaj/whois-mcp@latest
command
, and command = npx -y @bharathvaj/whois-mcp@latest
..cursor/mcp.json
(or VS Code Roo Code config) containing:
{
"mcpServers": {
"whois": {
"command": "npx",
"args": ["-y", "@bharathvaj/whois-mcp@latest"]
}
}
}
whois_domain
, whois_tld
, whois_ip
, and whois_as
become available for the AI to invoke automatically or on request.whois_domain
, whois_tld
, whois_ip
, whois_as
.npx
– no permanent installation required.Q: Do I need an API key? A: No API key is required; the server uses public WHOIS lookups.
Q: Can I run the server locally?
A: Yes, simply execute the npx
command on any machine with Node.js installed.
Q: Which platforms are supported? A: Any environment that can run a Node.js process and supports MCP, including Cursor, Claude Desktop, and VS Code extensions.
Q: How do I debug issues?
A: Build the project (pnpm build
) and run it with the MCP Inspector: npx @modelcontextprotocol/inspector node dist/index.js
.
Q: Is the project open source? A: Yes, it is released under the MIT license.
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
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "whois": { "command": "npx", "args": [ "-y", "@bharathvaj/whois-mcp@latest" ], "env": {} } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.