WHOIS MCP server
online · 89% uptimeio.github.KincaidYang/whois·v1.5.0·66 starsQuery WHOIS/RDAP information for domains, IP addresses, CIDR prefixes and ASNs. Self-hostable.
66 stars
Reviews
Write oneNobody has reviewed WHOIS yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
WHOIS tools (2)
write = sends, deletes, buys or postswhois_batch_lookupFreeQuery WHOIS/RDAP information for multiple domain names, IP addresses/CIDR prefixes, or ASNs in one call. Results are returned per query with individual statuses. Disabled unless the operator enables batch queries.
whois_lookupFreeQuery WHOIS/RDAP information for a domain name, IP address or CIDR prefix (v4 or v6), or ASN
Public scan report
scanner v0.1.10 · 2026-11-01 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 15877ms12/20
- Tool poisoning2 tool descriptions checked15/15
- Auth qualityopen endpoint, read-only tools10/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How WHOIS compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 60% of 48,255 servers
- Tools
- 2
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Uptime
- 89%
- of our recent checks; the typical remote server answers 100%
- Response time
- 1,841 ms
- faster than 5% of 30,031 servers
- GitHub stars
- 66
- more than 95% of 28,688 servers
What its tools let an agent do: 2 read
Release history: 4 versions in the registry since 2026-08-22, latest 2026-10-24, typically one every 26 days.
Install WHOIS in Claude Code, Cursor or VS Code
claude mcp add --transport http whois https://whois.ddnsip.cn/mcp
What the publisher says
From the WHOIS repository's README, as published. We do not edit it. Read it on GitHub
English
介绍
基于 Golang 实现的域名 Whois 查询工具,支持所有允许公开查询的 TLD 后缀的域名、IPv4/v6、ASN 的 Whois 信息查询。 根据 ICANN 《通用顶级域名注册数据临时政策细则(Temporary Specification for gTLD Registration Data)》和欧盟《通用数据保护条例》合规要求,在查询域名信息时,程序只返回了部分必要的信息(详见下方返回结果示例),不会返回所有者的联系方式、地址、电话、邮箱等字段。
演示站点:
- https://whois.ddnsip.cn
- https://whois.mmoke.com By immoke
使用方法
Docker部署
# 安装 Redis
docker run -d --name redis -p 6379:6379 redis:latest
# 运行 whois
docker run -d --name whois -p 8043:8043 --link redis:redis jinzeyang/whois
# 运行 whois(大陆推荐)
docker run -d --name whois -p 8043:8043 --link redis:redis docker.cnb.cool/kincaidyang/whois下载
使用二进制文件
您可从 Release 页面下载对应平台的二进制文件。
从源码编译
git clone https://github.com/KincaidYang/whois.git
cd whois
go build安装依赖
本程序默认使用内存缓存,可直接运行;生产环境或多实例部署建议搭配 Redis 使用,您可参照 https://redis.io/docs/install/install-redis/install-redis-on-linux/ 进行安装。
编辑配置文件
vim config.yaml⚠️ 配置项按功能分组,键名为 camelCase(与 API 响应字段风格一致)。未知键或旧版(v0.9 之前)的扁平键会在启动时报错并给出迁移提示,不会再静默回退到默认值。
server:
port: 8043 # 服务监听端口
rateLimit: 60 # 并发限制,即程序向上游whois服务器发起的最大并发请求数
log:
level: "info" # 日志级别:debug、info、warn、error(默认:info)
cache:
expiration: 3600 # 缓存过期时间,单位:秒(默认:3600)
negativeExpiration: 60 # “未找到/被拒”结果的缓存时间,单位:秒(默认: 60;设为负数则禁用)
requireRedis: false # false=允许Redis失败时降级到内存缓存,true=Redis必须可用否则程序退出
memoryMaxSize: 10000 # 内存缓存最大条目数,超过此数量按 LRU 淘汰最久未使用条目(默认: 10000)
memoryMaxBytes: 268435456 # 内存缓存最大总字节数(键+值),超过此数量按 LRU 淘汰,即使未超过条目数上限(默认: 268435456,即 256 MiB)
memoryCleanInterval: 300 # 内存缓存过期数据清理间隔,单位:秒(默认: 300)
redis:
addr: "redis:6379" # Redis服务器地址
password: "" # Redis密码,如无密码则留空
db: 0 # Redis数据库编号
tls: false # 通过不可信网络连接 Redis 时建议开启 TLS
tlsSkipVerify: false # 跳过证书校验(不推荐,仅自签名证书场景使用)
proxy:
server: "" # 代理服务器地址,留空表示不使用代理
username: "" # 代理服务器用户名(如需认证)
password: "" # 代理服务器密码(如需认证)
suffixes: [] # 需要使用代理的TLD后缀列表;填 ["all"] 表示全部走代理
bootstrap:
interval: 86400 # RDAP 服务器列表从 IANA 刷新间隔,单位:秒;0 则禁用(推荐:86400)
a环境变量
所有配置项均可通过环境变量覆盖(优先级高于配置文件),适合 Docker/Kubernetes 等不便挂载配置文件的部署方式:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
WHOIS: common questions
- Is WHOIS MCP server safe?
- Mostly: it is graded B (80/100). Read the WHOIS safety report
- How do I install WHOIS?
- It runs remotely at whois.ddnsip.cn. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does WHOIS need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is WHOIS maintained?
- The last commit was 3 days ago (2026-11-01). The latest release is v1.5.0.
- Is WHOIS up?
- 89% of our last 28 checks got an answer. We check remote servers about four times a day.
- How does WHOIS compare with other MCP servers?
- safety score 80/100 (higher than 60% of 48,255 servers); tools 2 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.