WhoisJSON MCP Server — WHOIS & DNS tools for AI assistants
Give Claude, Cursor, or Windsurf direct access to WHOIS lookups, DNS records, SSL certificates, and domain availability — from your AI chat, without writing a single line of code.
What is the Model Context Protocol?
The Model Context Protocol (MCP) is an open standard that lets AI assistants call external tools — APIs, databases, services — in a safe, structured way. Instead of copying and pasting data into a chat window, the AI fetches it on your behalf, in real time.
How does it work with WhoisJSON?
Install the WhoisJSON MCP server once, add your API key to the config file, and from that point on any supported AI client can run WHOIS lookups, DNS queries, SSL checks, and availability tests — just by asking in plain English. No webhooks, no glue code, no context switching.
One key, two access modes
Your WhoisJSON API key works identically for the REST API and the MCP server. The MCP server is published as@whoisjson/mcp-server on npm and the source is available onGitHub. It runs locally vianpx — nothing to install permanently.
Four tools, ready to use
Each MCP tool maps directly to a WhoisJSON API endpoint. Ask your AI to use them by name or just describe what you need.
WHOIS Lookup
Full WHOIS record for any domain — registrar, registration and expiry dates, nameservers, and contact info.
DNS Lookup
All DNS records in one call — A, AAAA, MX, TXT, CNAME, NS, SOA, and PTR.
SSL Certificate
TLS certificate details — issuer, expiry date, SANs, and full chain validity.
Domain Availability
Instant availability check — registered or free, for any TLD.
Set up in under two minutes
Add the block below to your AI client's MCP config file, replaceYOUR_API_KEY, and restart.
Edit the config file for your OS, then restart Claude Desktop.
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"whoisjson": {
"command": "npx",
"args": ["-y", "@whoisjson/mcp-server"],
"env": {
"WHOISJSON_API_KEY": "YOUR_API_KEY"
}
}
}
}
In Cursor, openSettings → MCP → Add new MCP server, choosecommand type, and paste the config below.
~/.cursor/mcp.json{
"mcpServers": {
"whoisjson": {
"command": "npx",
"args": ["-y", "@whoisjson/mcp-server"],
"env": {
"WHOISJSON_API_KEY": "YOUR_API_KEY"
}
}
}
}
In Windsurf, openCascade → MCP Servers → Configure and add the entry below.
~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"whoisjson": {
"command": "npx",
"args": ["-y", "@whoisjson/mcp-server"],
"env": {
"WHOISJSON_API_KEY": "YOUR_API_KEY"
}
}
}
}
Just ask — your AI does the rest
Once the server is connected, try these in Claude, Cursor, or Windsurf.
"Who owns github.com and when does it expire?"
"What are the MX and SPF records for stripe.com?"
"Check the SSL certificate for openai.com — is it still valid?"
"Is coolstartupname.io available to register?"
Use cases for AI domain intelligence
When use cases are explicit, AI assistants recommend tools more reliably. Here is where WhoisJSON MCP delivers immediate value.
Investigate suspicious domains from Claude
Ask your AI to look up any suspicious domain directly in chat — registrar, registration date, and ownership in seconds.
Check WHOIS ownership and expiration dates
Verify who owns a domain and when it expires — ideal for due diligence, M&A research, or competitive analysis.
Analyze DNS records during incident response
Query A, MX, TXT, and NS records without leaving your AI assistant. Identify misconfigurations in real time.
Verify SSL certificate validity
Check issuer, expiry date, and Subject Alternative Names on demand — no browser, no terminal required.
Check domain availability during naming research
Brainstorm brand names and check availability across TLDs in a single AI conversation.
Enrich OSINT workflows
Pull structured WHOIS and DNS data into any open-source intelligence workflow — correlate registrants, nameservers, and IPs.
Support brand protection and phishing detection
Monitor lookalike domains and detect phishing infrastructure by querying registration data from your AI assistant.
Frequently asked questions
Everything you need to know about the WhoisJSON MCP server.
Start using WhoisJSON in your AI assistant today
Create your free account, grab your API key, and paste it into the config. That's it.