Skip to main content
Glama

dns-whois-mcp

FastMCP server for DNS lookups and WHOIS domain research. Part of the Palimpsest intelligence toolkit.

Tools

  • dns_lookup — DNS record lookup (A, AAAA, MX, NS, TXT, SOA, CNAME, PTR, SRV, CAA, DS, DNSKEY). Returns JSON with resolved records.

  • whois_lookup — WHOIS domain or IP query. Returns structured data (registrar, creation/expiry dates, name servers, registrant, DNSSEC) plus raw WHOIS text. Includes computed age_days.

  • reverse_lookup — Reverse DNS (PTR) lookup for an IPv4 or IPv6 address.

  • dns_research — Comprehensive domain investigation. Runs all DNS record types and WHOIS in parallel, then reverse-lookups every resolved IP. Consolidated JSON report.

Related MCP server: Lookup-Domain

Usage

Via stdio (MCP)

python -m dns_whois_mcp

Example

dns_research("magnalending.co.uk")

As a library

from dns_whois_mcp.server import _dns_lookup_sync, _whois_lookup_sync

print(_dns_lookup_sync("iana.org", "A"))
print(_whois_lookup_sync("iana.org"))

Storage

Every lookup is archived as a JSONL entry in ~/.local/share/dns-whois/YYYY-MM-DD-dns-whois.jsonl. Duplicates (same domain + same tool within the same hour) are skipped.

Each entry includes a human-readable content field for full-text search via fst-indexer and unified-history-mcp.

Dependencies

  • Python ≥ 3.11

  • mcp ≥ 1.0

  • dnspython ≥ 2.7

  • asyncwhois ≥ 1.0

Install

pip install -e .
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Look up DNS information for any domain to troubleshoot issues and gather insights. Get fast, relia…

  • Domain intelligence for DNS, WHOIS/RDAP, TLS, reputation, valuation, and brand protection.

  • Domains MCP — domain registration lookup + availability search over live

View all MCP Connectors

Latest Blog Posts

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/palimpsest-labs/dns-whois-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server