MCP server for DNS and WHOIS lookups

MCP server for DNS and WHOIS lookups

mcp-server-dns•byofershap

An MCP server that provides DNS lookups, reverse DNS, WHOIS queries, and domain checks to AI assistants using Node.js built-in DNS and public WHOIS servers, with no API keys or accounts required.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Looks up DNS record types including A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, and PTR.
  • •Performs reverse DNS (PTR) lookups on IP addresses.
  • •Resolves multiple common record types in a single call and retrieves nameserver records.
  • •Queries WHOIS data, following IANA referrals to the registrar.

BEST FOR

  • •Debugging email delivery by checking MX records.
  • •Checking nameservers when setting up a new domain.
  • •Investigating suspicious URLs by finding domain ownership through WHOIS.

ABOUT MCP-SERVER-DNS

MCP server for DNS and WHOIS lookups is cataloged as an MCP server attributed to ofershap. An MCP server that provides DNS lookups, reverse DNS, WHOIS queries, and domain checks to AI assistants using Node.js built-in DNS and public WHOIS servers, with no API keys or accounts required. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for DNS and WHOIS lookups are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this server require API keys or accounts?

No. It uses Node.js built-in DNS resolution and public WHOIS servers, so it works out of the box with zero accounts or credentials.

Which MCP clients can use this server?

It works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client.

Upstream README

View this exact version on GitHub

README.md · f557553b683e · Fetched 2026-11-13 12:01:38 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

mcp-server-dns

npm version npm downloads CI TypeScript License: MIT

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-dns

Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. Uses Node.js native dns module, so there's nothing to sign up for.

MCP server for DNS lookups, WHOIS queries, and domain checks

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.

Tools

ToolWhat it does
dns_lookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, or PTR
reverse_dnsPerform reverse DNS (PTR) lookup on an IP address
resolve_allResolve A, AAAA, MX, TXT, NS, CNAME in one call
check_nameserversGet nameserver (NS) records for a domain
whoisQuery 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 build

See also

More MCP servers and developer tools on my portfolio.

Author

Made by ofershap

LinkedIn GitHub


README built with README Builder

License

MIT © 2026 Ofer Shapira

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for DNS and WHOIS lookups from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-dns)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools