mcp-server-dns
mcp-server-dns
DNS lookups, reverse DNS, WHOIS, and domain checks from your AI assistant. No API keys, no config. Powered by Node.js built-in DNS.
npx mcp-server-dnsWorks with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. Uses Node.js native
dnsmodule, so there's nothing to sign up for.

Demo built with remotion-readme-kit
Why
DNS and WHOIS lookups come up more often than you'd think during development. Debugging email delivery? You need MX records. Setting up a new domain? Check the nameservers. Investigating a suspicious URL? WHOIS tells you who owns it. The existing MCP options for this require paid API keys (like WhoisXML API). This server uses Node.js built-in DNS resolution and public WHOIS servers, so it works out of the box with zero accounts or credentials.
Related MCP server: dns-mcp
Tools
Tool | What it does |
| Look up A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, or PTR |
| Perform reverse DNS (PTR) lookup on an IP address |
| Resolve A, AAAA, MX, TXT, NS, CNAME in one call |
| Get nameserver (NS) records for a domain |
| Query WHOIS data (follows IANA referrals to registrar) |
Quick Start
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"dns": {
"command": "npx",
"args": ["-y", "mcp-server-dns"]
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"dns": {
"command": "npx",
"args": ["-y", "mcp-server-dns"]
}
}
}VS Code
Add to user settings or .vscode/mcp.json:
{
"mcp": {
"servers": {
"dns": {
"command": "npx",
"args": ["-y", "mcp-server-dns"]
}
}
}
}Examples
"What are the DNS records for example.com?"
"Do a reverse DNS lookup on 8.8.8.8"
"Show me the WHOIS info for github.com"
"What nameservers does cloudflare.com use?"
"Resolve all record types for google.com"
"Check the MX records for my-company.com"
Development
git clone https://github.com/ofershap/mcp-server-dns.git
cd mcp-server-dns
npm install
npm test
npm run buildSee also
More MCP servers and developer tools on my portfolio.
Author
README built with README Builder
License
MIT © 2026 Ofer Shapira
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceMCP server to perform various OSINT tasks by leveraging common network reconnaissance tools.Last updated45
- AlicenseAqualityDmaintenanceMCP server providing DNS resolution, reverse DNS, RDAP-based WHOIS, and IP geolocation lookups. No API keys required , and all upstreams are public.Last updated4MIT
- AlicenseAqualityAmaintenanceMCP server for IntoDNS.ai providing 36 free tools for DNS, DMARC, SPF, DKIM, BIMI, DNSSEC, MTA-STS, FCrDNS, blacklist and email security checks. Citation-grade report snapshots with content hashes. No API key required.Last updated36312MIT
- AlicenseAqualityBmaintenanceMCP server for live IP and domain reputation checks via DNS lookups, providing abuse scores and network type without requiring an API key.Last updated2MIT
Related MCP Connectors
Query WHOIS/RDAP information for domains, IP addresses, CIDR prefixes and ASNs. Self-hostable.
MCP server for ScanMalware.com URL scanning, malware detection, and analysis.
Domains MCP — domain registration lookup + availability search over live
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ofershap/mcp-server-dns'
If you have feedback or need assistance with the MCP directory API, please join our Discord server