WHOIS Domain Lookup

Registrar, created and expiry dates, domain age, and nameservers per domain, from RDAP and WHOIS.

Documentation

WHOIS Domain Lookup MCP Server

npm version license

An MCP server for the Mamba Labs Bulk WHOIS and RDAP Domain Age Lookup actor on Apify. Give it domains, website URLs, or email addresses. For each domain it returns one row: whether it is registered, the registrar, the creation, update, and expiry dates, the domain age and days until expiry, the status codes, the nameservers, DNSSEC, and the registrant organization and country where the registry publishes them.

What's Inside

What it does

The actor asks each registry directly: its RDAP server from the official IANA list, a registry RDAP server the list does not carry yet for .io, .ac, .co, .us, .ch, and .li, and the registry's port 43 WHOIS server for the rest. No key and no third party lookup service. A domain the registry does not hold returns registered false. All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-whois-domain-lookup": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-whois-domain-lookup"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The lookup_domain_whois tool appears.

Prerequisites

Example prompts

  • "How old are these 200 prospect domains, and which ones expire in the next 90 days?"
  • "Who is the registrar for acme.io, and when was it registered?"
  • "Which of these domains are not registered?"

Tool

lookup_domain_whois. One tool. Example arguments:

{
  "domains": ["stripe.com", "notion.io", "lemonde.fr"]
}

Inputs

Every buyer facing input of the actor, unchanged. Omitted inputs take the actor's own defaults. Numbers and yes or no options are sent as strings.

InputTypeDescription
domainsarrayDomains, URLs, or email addresses, up to 5,000
domainstringOne domain
follow_registrar_rdapstringtrue (default) or false
include_rawstringtrue or false (default)
max_charge_usdstringOptional cost cap for the run

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
domain-lookup, per domain the registry answered for$0.0025$0.002375$0.00225$0.002125
apify-actor-start, per run start$0.0006$0.0006$0.0006$0.0006

Rows with no dates published, error rows, input that is not a domain, and repeats of a domain in the same run are free.

Your keys

The actor needs no key and holds none. It reads the registries' public RDAP and WHOIS services. Mamba Labs pays the platform costs of the run.

Full actor documentation

apify.com/mambalabs/whois-domain-lookup

License

MIT. See LICENSE.