Skip to content
MCP server

WHOIS

Query WHOIS and RDAP for domains, IPs, CIDR prefixes and ASNs from a self-hosted service

Install
Pricing
Open source
Platforms
self-hosted, API, Linux
Runs
Remotely
Version
1.6.0
Listing updated
today

Similar MCP servers

About WHOIS

WHOIS is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

This Go service answers WHOIS and RDAP lookups for any top-level domain that allows public queries, plus IPv4 and IPv6 addresses, CIDR prefixes and ASNs, and exposes the same lookups to assistants through a streamable HTTP /mcp endpoint. To meet ICANN's temporary specification and GDPR, domain results leave out owner contact details such as address, phone and email.

It is built to be run by you. Caching defaults to memory with an optional Redis backend, upstream concurrency is capped so registries are not hammered, and the RDAP server list refreshes from IANA with a built-in fallback. Operators can require API keys with per-key rate limits, enable a batch endpoint, route RDAP queries through a proxy and turn on DNS-rebinding protection for /mcp. Health, readiness, Prometheus metrics and an OpenAPI 3.1 spec are included.

Deploy with Docker, a release binary or a source build. Public demo instances exist, and the README is mainly written in Chinese.

Install

Run in a terminal

claude mcp add --transport http whois https://whois.ddnsip.cn/mcp

Add to Settings → Connectors → Add custom connector

https://whois.ddnsip.cn/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "whois": {
      "url": "https://whois.ddnsip.cn/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "whois": {
      "type": "http",
      "url": "https://whois.ddnsip.cn/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "whois": {
      "serverUrl": "https://whois.ddnsip.cn/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "whois": {
      "type": "http",
      "url": "https://whois.ddnsip.cn/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

What it does

WHOIS and RDAP
Looks up domains, IP addresses, CIDR prefixes and ASNs.
Privacy-aware output
Omits owner contact fields to follow ICANN and GDPR rules.
Caching options
Memory cache by default, Redis for multi-instance use.
API keys and limits
Optional keys with per-key rate limits.
Batch lookups
Optional endpoint, off by default, for several queries at once.
Operations endpoints
Health, readiness, Prometheus metrics and OpenAPI.

Good for

  • Check who the registrar of a domain is
  • Look up which network owns an IP or ASN
  • Add domain lookups to an agent without a third-party API
  • Run an internal lookup service behind your own proxy

Pricing

Open source

WHOIS FAQ

Does it return owner contact details?

No. For compliance it returns only partial necessary fields.

Can I host it myself?

Yes, with Docker, a release binary or by building from source.

Is Redis required?

No. It uses memory caching by default and can fall back to it if Redis fails.

Can I protect it?

Yes. Configure API keys, and optionally per-key rate limits.

Is WHOIS free?

Yes. WHOIS is open source, so you can use and self-host it for free.

How do I add WHOIS to Claude Code?

Run this command in your terminal: claude mcp add --transport http whois https://whois.ddnsip.cn/mcp

What are the best alternatives to WHOIS?

The closest alternatives to WHOIS are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers