Domain Check

io.github.saidutt46由 GitHub 账号 saidutt46 发布v1.2.1更新于 Oct 25, 2026

Fast domain availability checker with RDAP/WHOIS — batch checks, TLD presets, and name generation.

发布方自己的服务:check.tattoo: tattoo size and placement guide

概览

AI 生成的概览

通过 RDAP/WHOIS 查询域名是否可注册,支持批量检查、TLD 预设、名称生成和注册商信息,供 AI 助手使用。

可以做什么
  • 检查单个或批量域名的可用状态,可选检测是否在售
  • 按内置 TLD 预设检查名称,或列出可用预设
  • 按模式、前缀和后缀生成候选名称
  • 查询域名的注册商、创建/到期日期和状态码
适用场景
适合为产品或品牌起名时让助手测试多个 TLD 下的候选域名、对商标做全 TLD 排查,或在购买前核对注册商与到期信息。
运行要求
以本地 stdio 进程运行,可从对应平台的 MCP 安装包或通过 Cargo 安装。需要访问 RDAP 与 WHOIS 服务器的网络;无需账号、API 密钥或已声明的环境变量。可选环境变量 DC_DNS_SERVER 用于指定 DNS 服务器。
安装前请注意
结果取决于网络与注册局行为,可能返回 UNKNOWN,包括没有公开 WHOIS 的注册局。在售信息被标记为未经验证。对大量 TLD 的大批量查询会向注册局和 WHOIS 服务器发出大量外部请求。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Domain Check,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

domain-check

Universal domain exploration engine: fast domain availability checks across the internet — as a CLI, Rust library, and MCP server for AI agents.

[Homebrew] [CLI Crate] [Library Crate] [MCP Server] [Downloads] [License: MIT OR Apache-2.0]

[domain-check demo]

Quick Links: Installation | Quick Start | Use Cases | Output Formats | Presets | Configuration | Automation | Library | MCP Server | FAQ | Contributing

Why domain-check

  • 1,200+ TLDs out of the box — IANA bootstrap loads the full registry automatically. No config needed. 34 hardcoded TLDs work offline as fallback.
  • Dual-protocol engine — RDAP-first with automatic WHOIS fallback. IANA server discovery covers ~189 ccTLDs that lack RDAP (.it, .co, .eu, .jp). WHOIS is built in, so no system whois tool is needed on any platform.
  • Fast — up to 100 concurrent checks, streaming results as they complete. 3.4 MB release binary.
  • Domain generation — pattern expansion (\w=letter, \d=digit, ?=either), prefix/suffix permutations, and --dry-run to preview before checking.
  • 11 curated presets — startup, tech, creative, finance, ecommerce, and more. Or define your own in config.
  • For-sale detection — --for-sale reads RFC 10023 _for-sale records, so you can see when a registered domain is actually on the market (asking price and contact, sanitized, never auto-opened).
  • Rich output — grouped pretty display, JSON, CSV. Registrar info, creation/expiration dates, and status codes with --info.
  • CI and automation friendly — --json/--csv to stdout, --yes to skip prompts, --force for large runs, automatic non-TTY detection.
  • Configurable — TOML config files, DC_* environment variables, custom presets, and clear precedence rules.
  • Agent-native — MCP server exposes all tools to AI coding agents (Claude, Codex, Gemini, Cursor, VS Code Copilot, and any MCP client).
  • CLI + library + MCP — same engine powers the CLI, domain-check-lib (Rust library), and domain-check-mcp (MCP server).

Installation

MethodCommandNotes
Homebrew (macOS)brew install domain-checkEasiest install for macOS users
Cargo (CLI)cargo install domain-checkWorks on all Rust-supported platforms
Cargo (MCP)cargo install domain-check-mcpMCP server for AI agents
GitHub ReleasesDownload binariesCLI + MCP binaries for macOS, Linux, Windows

Quick Start

bash
# Check a single domaindomain-check example.com
# Expand a base name across TLDsdomain-check mystartup -t com,org,io,dev
# Use a curated presetdomain-check myapp --preset startup --pretty
# Generate names with a pattern (preview only)domain-check --pattern "app\d" -t com --dry-run
# Add prefixes and suffixesdomain-check myapp --prefix get,try --suffix hub,ly -t com,io
# Get registrar and date infodomain-check target.com --info
# Is a taken domain for sale? (RFC 10023)domain-check example.nl --for-sale
# Check every known TLDdomain-check brand --all --batch

Pretty output:

text
domain-check v1.2.1 — Checking 8 domainsPreset: startup | Concurrency: 20
── Available (3) ──────────────────────────────  rustcloud.org  rustcloud.ai  rustcloud.app
── Taken (5) ──────────────────────────────────  rustcloud.com  rustcloud.io  rustcloud.tech  rustcloud.dev  rustcloud.xyz
8 domains in 0.8s  |  3 available  |  5 taken  |  0 unknown

Use Cases

bash
# Startup naming — scan tech TLDs for your branddomain-check coolname --preset startup --pretty
# Brand protection — audit every TLD for your trademarkdomain-check mybrand --all --json > audit.json
# Pre-purchase validation — check registrar and expiry before buyingdomain-check target.com --info
# Bulk pipeline — feed a list, export resultsdomain-check --file ideas.txt --preset tech --csv > results.csv
# Name generation — explore prefix/suffix combosdomain-check app --prefix get,my,try --suffix hub,ly -t com,io --dry-run

Output Formats

Default — one line per domain, colored status:

text
myapp.com TAKENmyapp.io AVAILABLEmyapp.dev TAKEN

Pretty (--pretty) — grouped by status with summary:

text
── Available (1) ──────────────────────────────  myapp.io
── Taken (2) ──────────────────────────────────  myapp.com  myapp.dev
3 domains in 0.4s  |  1 available  |  2 taken  |  0 unknown

JSON (--json) — structured, pipe to jq:

json
[  {    "domain": "myapp.com",    "available": false,    "method": "RDAP"  },  {    "domain": "myapp.io",    "available": true,    "method": "RDAP"  }]

CSV (--csv) — import into spreadsheets or databases:

text
domain,status,methodmyapp.com,TAKEN,RDAPmyapp.io,AVAILABLE,RDAP

Info (--info) — registrar, dates, and status codes:

text
myapp.com TAKEN  Registrar: Example Registrar, Inc.  Created: 2015-03-12  Expires: 2026-03-12  Status: clientTransferProhibited

Full reference: docs/CLI.md

Smart Presets

11 built-in presets covering common domains strategies:

PresetTLDsUse case
startupcom, org, io, ai, tech, app, dev, xyzTech startups
popularcom, net, org, io, ai, app, dev, tech, me, co, xyzGeneral coverage
classiccom, net, org, info, bizTraditional gTLDs
enterprisecom, org, net, info, biz, usBusiness and government
techio, ai, app, dev, tech, cloud, software, + 5 moreDeveloper tools
creativedesign, art, studio, media, photography, + 5 moreArtists and media
ecommerceshop, store, market, sale, deals, + 3 moreOnline retail
financefinance, capital, fund, money, investments, + 4 moreFintech
webweb, site, website, online, blog, page, + 3 moreWeb services
trendyxyz, online, site, top, icu, fun, space, + 6 moreNew gTLDs
countryus, uk, de, fr, ca, au, br, in, nlInternational
bash
domain-check --list-presets                          # See all presets with full TLD listsdomain-check mybrand --preset creative --pretty      # Use a preset

Define custom presets in your config file:

toml
[custom_presets]my_stack = ["com", "io", "dev", "app"]

Configuration

Create domain-check.toml in your project directory:

toml
[defaults]concurrency = 25preset = "startup"pretty = truetimeout = "8s"bootstrap = truefor_sale = false        # set true to always check registered domains for RFC 10023 for-sale records
[custom_presets]my_startup = ["com", "io", "ai", "dev", "app"]
[generation]prefixes = ["get", "my"]suffixes = ["hub", "ly"]

Config lookup order: ./domain-check.toml > ~/.domain-check.toml > ~/.config/domain-check/config.toml

Common environment variables:

bash
DC_CONCURRENCY=50    DC_PRESET=startup    DC_TLD=com,io,devDC_PRETTY=true       DC_TIMEOUT=10s       DC_BOOTSTRAP=trueDC_PREFIX=get,my     DC_SUFFIX=hub,ly     DC_FILE=domains.txtDC_FOR_SALE=true     DC_DNS_SERVER=1.1.1.1

Automation & CI

bash
# Non-interactive structured outputdomain-check --file required-domains.txt --json
# Pipe to jqdomain-check --pattern "app\d" -t com --yes --json | jq '.[] | select(.available==true)'
# Stream live results for long runsdomain-check --file large-list.txt --concurrency 75 --streaming
# Large batch with no promptsdomain-check --file huge-list.txt --all --force --yes --csv > results.csv

CI-friendly behavior:

  • --yes / --force skip all confirmation prompts
  • Non-TTY environments (piped, CI) never prompt — scripts are never blocked
  • Spinner writes to stderr; stdout stays clean for piping
  • --no-bootstrap for deterministic, offline-safe checks against 34 hardcoded TLDs

Automation guide: docs/AUTOMATION.md

Library

Use domain-check-lib directly in Rust projects:

toml
[dependencies]domain-check-lib = "1.2.1"
rust
use domain_check_lib::DomainChecker;
#[tokio::main]async fn main() -> Result<(), Box<dyn std::error::Error>> {    let checker = DomainChecker::new();    let result = checker.check_domain("example.com").await?;    println!("{} -> {:?}", result.domain, result.available);    Ok(())}

Library docs: domain-check-lib/README.md | docs.rs

MCP Server

domain-check-mcp exposes domain checking as tools for AI coding agents via the Model Context Protocol. Works with any MCP-compatible client.

bash
# Installcargo install domain-check-mcp
# Add to your agent (Claude Code example — works similarly for Codex, Gemini CLI, etc.)claude mcp add domain-check -- domain-check-mcp

6 tools available: check_domain, check_domains, check_with_preset, generate_names, list_presets, domain_info.

Then ask your agent naturally: "Is coolstartup.com available?" or "Check mybrand across the startup preset".

The check tools take an optional check_for_sale parameter, and domain_info always includes RFC 10023 for-sale info when the holder publishes it. Responses mark that data as unverified and report failed lookups in for_sale_errors. Set DC_DNS_SERVER in the MCP client's env to choose the DNS server.

Supports: Claude Code, Claude Desktop, VS Code Copilot, Cursor, Windsurf, JetBrains, OpenAI Codex CLI, Gemini CLI, and any MCP stdio client.

Full setup: domain-check-mcp/README.md

Reliability Notes

  • Domain status is network- and registry-dependent. Temporary errors can produce UNKNOWN states.
  • WHOIS output is less standardized than RDAP. domain-check reads the reply formats of 40+ registries and answers UNKNOWN rather than guess. Some registries (.es, .gr, .vn, …) offer no public WHOIS, so their domains show UNKNOWN when RDAP can't answer.
  • For repeatable CI workflows, pin behavior with explicit flags (--batch, --json, --no-bootstrap, --concurrency).

Troubleshooting and expected edge cases: docs/FAQ.md

Project Docs

License

Licensed under either of

at your option.

来源:README.md,提交 7d4e413

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

5
  1. v1.2.1最新Oct 25, 2026
  2. v1.2.0Oct 12, 2026
  3. v1.1.0Oct 8, 2026
  4. v1.0.3Sep 28, 2026
  5. v1.0.2Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Check 集成