← Back to directory
W

WHOIS

Community
A self-hosted WHOIS/RDAP service for domains, IPs, CIDRs, and ASNs.
Category
Dev Tools #357 of 751
Stars
★ 66 Popular
Transport
Streamable HTTP
Runtime
Hosted (no local runtime) · Go · Docker · Prebuilt binary
Credentials
Optional API key
License
MIT
Last commit
Tools
2
51FMRS · D

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

Reliability
8/20
Security and permissions
12/20
Maintenance
8/20
Documentation
13/20
Setup experience
10/20
Why each score
Reliability 8/20
The README describes a Streamable HTTP /mcp endpoint, the whois_lookup tool, an optional batch tool, and authentication, rate limiting, caching, and error responses, making the main query path plausible. However, these are documentation claims only: there is no verifiable MCP handshake, tool implementation, committed test, or CI workflow evidence. The documented rateLimit defaults also differ (60 in the config example and 100 in the environment table), so reliability remains uncertain.
Security and permissions 12/20
The documentation says authentication is disabled by default and the service is fully open, and acknowledges that upstream concurrency limits do not limit client requests. It recommends API keys, per-key limits, restricted metrics exposure, and offers localhost DNS-rebinding protection. Queries contact external WHOIS/RDAP services, while more detailed data-flow and credential-protection evidence is absent. No red-line issue is supported by the supplied material, so points are deducted for these gaps.
Maintenance 8/20
The supplied material identifies an MIT license, a semantic-versioning commitment, GitHub Actions and CodeQL badges, dependencies, and known limitations, which are maintenance signals. It provides no commit history, recent release or dependency-update evidence, issue-response record, or clear security-response channel. Stars do not contribute to the score.
Documentation 13/20
The README covers deployment, configuration, authentication, limits, endpoints, example responses, MCP tool parameters, error format, and the limitation that some WHOIS formats are unparsed. Troubleshooting detail and a verifiable mainstream MCP client configuration are missing. Conflicting defaults and descriptions in the documentation also reduce confidence.
Setup experience 10/20
Docker, binary, and source-build paths are documented, along with the service address and MCP endpoint path, and the server can be self-hosted. The material does not include a complete connection configuration for a mainstream MCP client, and deployment may also require decisions about Redis, authentication, reverse proxying, and network exposure, so the connection path is not yet especially simple to reproduce.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkConnects to a database

Best for

  • Users who need public domain and network registration information.
  • Teams that want to self-host a WHOIS/RDAP API or MCP service.

Not for

  • Users who need domain owner contact details, addresses, phone numbers, or email addresses.
  • Workflows that require every ccTLD to return structured data.

Required permissions

  • The service needs network access to query upstream WHOIS/RDAP servers.
  • Self-hosted instances can use API keys; authentication is disabled by default unless keys are configured.

Risks and side effects

  • Results and available fields depend on upstream registries; some ccTLDs may return unparsed text.
  • An open instance can be abused and increase upstream query load; API keys and request limits are recommended.
  • Domain results omit owner contact information and other personal details.

Setup

Before you start

Runtime:Hosted (no local runtime) · Go · Docker · Prebuilt binary

WHOIS_REDIS_PASSWORD optionalsecret Redis password; obtain it from the Redis administrator, or leave empty if none is set.
WHOIS_PROXY_USERNAME optionalsecret Proxy authentication username; obtain it from the proxy provider.
WHOIS_PROXY_PASSWORD optionalsecret Proxy authentication password; obtain it from the proxy provider.
WHOIS_AUTH_KEYS optionalsecret Comma-separated API keys; set keys of your choice to enable authentication.
Other optional settings (21)
WHOIS_PORT optional Service listening port; set the desired port number.
WHOIS_RATE_LIMIT optional Maximum concurrent requests; set according to deployment capacity.
WHOIS_UPSTREAM_LIMIT optional Maximum concurrent upstream lookups; set according to upstream needs.
WHOIS_METRICS_ADDR optional Separate listening address for Prometheus metrics; set an address if needed.
WHOIS_LOG_LEVEL optional Log level; set to debug, info, warn, or error.
WHOIS_CACHE_EXPIRATION optional Cache lifetime in seconds; set according to query frequency.
WHOIS_NEGATIVE_CACHE_EXPIRATION optional Cache lifetime for not-found or refused results in seconds; a negative value disables it.
WHOIS_REQUIRE_REDIS optional Set to true or 1 to require Redis availability; otherwise memory caching can be used.
WHOIS_MEMORY_MAX_SIZE optional Maximum number of in-memory cache entries; set according to available memory.
WHOIS_MEMORY_MAX_BYTES optional Maximum total in-memory cache size in bytes; set according to available memory.
WHOIS_MEMORY_CLEAN_INTERVAL optional Interval in seconds for cleaning expired memory cache entries.
WHOIS_REDIS_ADDR optional Redis address; set the Redis host and port, or leave empty to disable Redis.
WHOIS_REDIS_DB optional Redis database number; set according to the Redis configuration.
WHOIS_REDIS_TLS optional Whether to enable Redis TLS; set to true or 1 if required by the connection.
WHOIS_REDIS_TLS_SKIP_VERIFY optional Whether to skip Redis certificate verification; use only as needed for self-signed certificates.
WHOIS_PROXY_SERVER optional Proxy server address; set if needed, or leave empty to avoid using a proxy.
WHOIS_PROXY_SUFFIXES optional Comma-separated TLDs routed through the proxy; set to all to route all RDAP queries through it.
WHOIS_BOOTSTRAP_INTERVAL optional Interval in seconds for refreshing IANA RDAP server lists; set to 0 to disable.
WHOIS_BATCH_ENABLED optional Set to true or 1 to enable batch queries and the corresponding MCP tool.
WHOIS_BATCH_MAX_ITEMS optional Maximum number of queries per batch; set the desired limit.
WHOIS_MCP_LOCALHOST_PROTECTION optional 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.

Check that it works

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.

Troubleshooting

  1. Check that the service is running using /health and /ready.
  2. Verify the service URL and /mcp path; the default self-hosted port is 8043.
  3. For 401 errors, check the API key. If the batch tool is unavailable, confirm batch.enabled is on.
  4. For lookup failures, check connectivity to upstream WHOIS/RDAP servers; unparsed ccTLD results may reflect parser coverage.

Things to try

Once connected, you can ask your AI assistant things like:

  • Look up WHOIS/RDAP information for example.com.
  • Find the registration information for IP address 8.8.8.8.
  • Look up example.com, 8.8.8.8, and AS15169 in a batch.

Tools 2

whois_lookup read-only
Look up WHOIS/RDAP information for a domain, IPv4/IPv6 address, CIDR prefix, or ASN.
whois_batch_lookup read-only
Look up domains, IPs/CIDRs, or ASNs in a batch; the server must have batch lookup enabled.

Use cases

Look up domain registration, status, registrar, nameservers, and related RDAP fields.
Query registration information for IPv4/IPv6 addresses, CIDR networks, or ASNs.
Integrate WHOIS/RDAP lookups into AI assistant workflows through MCP.

Overview

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.

Similar servers

Source revision c8bb6546140d Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/whois.svg)](https://followmcp.com/en/servers/whois)