Best for
- Users who need public domain and network registration information.
- Teams that want to self-host a WHOIS/RDAP API or MCP service.
The source describes a self-hostable WHOIS/RDAP HTTP API and Streamable HTTP MCP endpoint for domains, IPs, CIDRs, and ASNs. Domain privacy fields are omitted, and some ccTLDs may not be parsed.
Strongest · Documentation 13/20 Weakest · Reliability 8/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Hosted (no local runtime) · Go · Docker · Prebuilt binary
WHOIS_REDIS_PASSWORD
Redis password; obtain it from the Redis administrator, or leave empty if none is set.
WHOIS_PROXY_USERNAME
Proxy authentication username; obtain it from the proxy provider.
WHOIS_PROXY_PASSWORD
Proxy authentication password; obtain it from the proxy provider.
WHOIS_AUTH_KEYS
Comma-separated API keys; set keys of your choice to enable authentication.
WHOIS_PORT
Service listening port; set the desired port number.
WHOIS_RATE_LIMIT
Maximum concurrent requests; set according to deployment capacity.
WHOIS_UPSTREAM_LIMIT
Maximum concurrent upstream lookups; set according to upstream needs.
WHOIS_METRICS_ADDR
Separate listening address for Prometheus metrics; set an address if needed.
WHOIS_LOG_LEVEL
Log level; set to debug, info, warn, or error.
WHOIS_CACHE_EXPIRATION
Cache lifetime in seconds; set according to query frequency.
WHOIS_NEGATIVE_CACHE_EXPIRATION
Cache lifetime for not-found or refused results in seconds; a negative value disables it.
WHOIS_REQUIRE_REDIS
Set to true or 1 to require Redis availability; otherwise memory caching can be used.
WHOIS_MEMORY_MAX_SIZE
Maximum number of in-memory cache entries; set according to available memory.
WHOIS_MEMORY_MAX_BYTES
Maximum total in-memory cache size in bytes; set according to available memory.
WHOIS_MEMORY_CLEAN_INTERVAL
Interval in seconds for cleaning expired memory cache entries.
WHOIS_REDIS_ADDR
Redis address; set the Redis host and port, or leave empty to disable Redis.
WHOIS_REDIS_DB
Redis database number; set according to the Redis configuration.
WHOIS_REDIS_TLS
Whether to enable Redis TLS; set to true or 1 if required by the connection.
WHOIS_REDIS_TLS_SKIP_VERIFY
Whether to skip Redis certificate verification; use only as needed for self-signed certificates.
WHOIS_PROXY_SERVER
Proxy server address; set if needed, or leave empty to avoid using a proxy.
WHOIS_PROXY_SUFFIXES
Comma-separated TLDs routed through the proxy; set to all to route all RDAP queries through it.
WHOIS_BOOTSTRAP_INTERVAL
Interval in seconds for refreshing IANA RDAP server lists; set to 0 to disable.
WHOIS_BATCH_ENABLED
Set to true or 1 to enable batch queries and the corresponding MCP tool.
WHOIS_BATCH_MAX_ITEMS
Maximum number of queries per batch; set the desired limit.
WHOIS_MCP_LOCALHOST_PROTECTION
Set to true or 1 to enable DNS rebinding protection for /mcp.
Connect using the Streamable HTTP URL in the manifest: https://whois.ddnsip.cn/mcp. You can also self-host with Docker, a downloaded binary, or a source build. The service listens on port 8043 by default, with MCP at /mcp. An administrator must enable batch.enabled to use the batch tool.
Confirm whois_lookup appears in the client’s tool list, then ask it to look up example.com and check that it returns domain data. If batch querying is enabled, also confirm whois_batch_lookup appears.
Once connected, you can ask your AI assistant things like:
No matching tools
WHOIS is a Go-based, self-hostable WHOIS/RDAP service with an HTTP API and MCP endpoint. It queries domains, IPv4/IPv6 addresses, CIDR prefixes, and ASNs. Domain lookups return only selected information and omit owner contact details, addresses, phone numbers, and email addresses. Some unsupported ccTLDs may be returned as unparsed text.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision c8bb6546140d Data synced 2026-12-05 Read the FMRS scoring method Markdown