domain-mcp
MCP server for checking domain name availability via RDAP and WHOIS fallback, supporting single and bulk domain lookups.
README
domain-mcp
MCP server to check whether domain names are available or already registered.
Uses RDAP (structured registry JSON) first, with WHOIS fallback when a TLD has no RDAP endpoint. TLD coverage tracks the IANA RDAP bootstrap (~1,200 TLDs) plus community overrides (e.g. .de) and IANA WHOIS for the rest — not a hand-curated shortlist.
Disclaimer: “Available” means no registration record was found. It is not a purchase guarantee. Premium, reserved, or policy-blocked names may still be unregistrable. Confirm at a registrar before buying.
Features
- MCP tools for single and bulk domain checks
- RDAP-first lookups via whoisit
- WHOIS fallback (IANA → registry, one referral hop)
- IDN / punycode support
- In-memory TTL cache
- Remote hosted MCP + local stdio
- Official Docker image on GHCR (versioned from GitHub Releases)
- Docs in-repo (
docs/) synced to the GitHub Wiki
Hosted endpoint
https://domain-mcp.gietmanic.com/mcp
| Check | URL |
|---|---|
| MCP | https://domain-mcp.gietmanic.com/mcp |
| Health | https://domain-mcp.gietmanic.com/health |
| Info | https://domain-mcp.gietmanic.com/ |
No install required for the hosted instance — only wire the URL (or a stdio bridge) into your client.
Install remote MCP (hosted)
Use the same endpoint everywhere:
https://domain-mcp.gietmanic.com/mcp
Tip: After editing config, fully restart the client (quit + reopen). Some hosts only load MCP servers at startup.
Cursor
- Open Cursor Settings → MCP (or edit the MCP config file).
- Add:
macOS / Linux — ~/.cursor/mcp.json
Windows — %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"domain-mcp": {
"url": "https://domain-mcp.gietmanic.com/mcp"
}
}
}
Project-scoped alternative: .cursor/mcp.json in the repo root (same JSON).
Claude Desktop
Claude Desktop is primarily stdio-based. Bridge the remote URL with mcp-remote (requires Node.js 18+):
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"domain-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://domain-mcp.gietmanic.com/mcp"
]
}
}
}
Restart Claude Desktop. On first run, npx downloads mcp-remote automatically.
Claude Code (CLI)
claude mcp add --transport http domain-mcp https://domain-mcp.gietmanic.com/mcp
List / remove:
claude mcp list
claude mcp remove domain-mcp
VS Code (GitHub Copilot Chat / MCP)
- Command Palette → MCP: Open User Configuration (or workspace
.vscode/mcp.json). - Add a server entry:
{
"servers": {
"domain-mcp": {
"type": "http",
"url": "https://domain-mcp.gietmanic.com/mcp"
}
}
}
If your VS Code build uses the older mcpServers shape, this equivalent also works in many setups:
{
"mcp": {
"servers": {
"domain-mcp": {
"type": "http",
"url": "https://domain-mcp.gietmanic.com/mcp"
}
}
}
}
Windsurf (Codeium)
Edit Windsurf → Settings → Cascade → MCP or ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"domain-mcp": {
"serverUrl": "https://domain-mcp.gietmanic.com/mcp"
}
}
}
If serverUrl is ignored in your build, try the Cursor-style url key or the mcp-remote stdio bridge (same as Claude Desktop).
Cline / Roo Code (VS Code extension)
In the extension MCP settings (often cline_mcp_settings.json / Roo MCP config):
{
"mcpServers": {
"domain-mcp": {
"url": "https://domain-mcp.gietmanic.com/mcp",
"disabled": false
}
}
}
If the extension only supports command-based servers, use the mcp-remote bridge:
{
"mcpServers": {
"domain-mcp": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://domain-mcp.gietmanic.com/mcp"],
"disabled": false
}
}
}
Continue.dev
In ~/.continue/config.json (or assistant config), under mcpServers / experimental MCP:
{
"mcpServers": [
{
"name": "domain-mcp",
"type": "streamable-http",
"url": "https://domain-mcp.gietmanic.com/mcp"
}
]
}
Exact schema can vary by Continue version — if HTTP type is unsupported, use:
{
"name": "domain-mcp",
"command": "npx",
"args": ["-y", "mcp-remote", "https://domain-mcp.gietmanic.com/mcp"]
}
Zed
In ~/.config/zed/settings.json (MCP support depends on Zed version):
{
"context_servers": {
"domain-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"mcp-remote",
"https://domain-mcp.gietmanic.com/mcp"
]
}
}
}
}
JetBrains IDEs (AI Assistant / MCP plugins)
Prefer the stdio bridge (widest plugin support):
{
"mcpServers": {
"domain-mcp": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://domain-mcp.gietmanic.com/mcp"]
}
}
}
Paste into the plugin’s MCP server settings UI if it does not read a JSON file.
Generic / any stdio-only client
If the client only runs local processes:
npx -y mcp-remote https://domain-mcp.gietmanic.com/mcp
Map that command + args into the client’s MCP config the same way you would any other stdio server.
Optional API key
If the host sets DOMAIN_MCP_API_KEY, send a bearer token.
HTTP-native clients:
{
"mcpServers": {
"domain-mcp": {
"url": "https://domain-mcp.gietmanic.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
mcp-remote bridge:
{
"mcpServers": {
"domain-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://domain-mcp.gietmanic.com/mcp",
"--header",
"Authorization: Bearer YOUR_API_KEY"
]
}
}
}
(Header flag support depends on mcp-remote version; if unsupported, use a client with native headers.)
Quick matrix
| Client | Recommended setup |
|---|---|
| Cursor | "url": "https://domain-mcp.gietmanic.com/mcp" |
| Claude Desktop | npx mcp-remote bridge |
| Claude Code | claude mcp add --transport http … |
| VS Code / Copilot | "type": "http" + url |
| Windsurf | serverUrl or url |
| Cline / Roo | url or mcp-remote |
| Continue | streamable-http / mcp-remote |
| Zed / JetBrains | mcp-remote bridge |
| Other stdio-only | npx -y mcp-remote <url> |
Local install (stdio)
For offline use, development, or when you prefer a process on your machine.
From source
git clone https://github.com/danielgtmn/domain-mcp.git
cd domain-mcp
uv sync
uv run domain-mcp
Client config (local)
{
"mcpServers": {
"domain-mcp": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/domain-mcp",
"run",
"domain-mcp"
]
}
}
}
Or the venv binary:
{
"mcpServers": {
"domain-mcp": {
"command": "/absolute/path/to/domain-mcp/.venv/bin/domain-mcp"
}
}
}
Docker (self-host)
HTTP (remote-style URL on localhost):
docker pull ghcr.io/danielgtmn/domain-mcp:latest
docker run --rm -p 8000:8000 ghcr.io/danielgtmn/domain-mcp:latest
# → http://localhost:8000/mcp
Then point any client at http://localhost:8000/mcp the same way as the hosted URL.
stdio:
docker run -i --rm -e MCP_TRANSPORT=stdio ghcr.io/danielgtmn/domain-mcp:latest
MCP tools
| Tool | Purpose |
|---|---|
check_domain |
Check one domain (status, registrar, expiry, NS) |
check_domains |
Bulk check (parallel, max 50 per call) |
domain_info |
Registration-oriented lookup |
list_supported_tlds |
TLDs with known RDAP endpoints |
clear_domain_cache |
Clear the in-memory TTL cache |
Status values
| Status | Meaning |
|---|---|
available |
No RDAP/WHOIS record → likely free |
registered |
Registration found |
unknown |
Response could not be classified |
unsupported |
No RDAP and WHOIS fallback failed |
invalid |
Bad domain syntax |
error |
Network / rate-limit / server error |
Supported TLDs
domain-mcp does not hardcode a small TLD list:
| Path | Coverage |
|---|---|
| RDAP | ~1,200 TLDs from IANA + overrides (e.g. .de) |
| WHOIS | Fallback via IANA whois: referral for most other TLDs |
Full wiki table (1,200+ TLDs + RDAP URLs):
docs/Supported-TLDs.md · Wiki · Supported-TLDs
Live list via tool list_supported_tlds. Regenerate docs:
uv run python scripts/generate_supported_tlds.py
How it works
check_domain("foo.com")
→ normalize (IDN → punycode)
→ RDAP (IANA bootstrap + overrides)
├─ not found → available
├─ found → registered (+ metadata)
└─ no endpoint / error → WHOIS fallback
Documentation
| In-repo | docs/ |
Wiki (published from docs/) |
https://github.com/danielgtmn/domain-mcp/wiki |
| Page | Topic |
|---|---|
| Installation | Source, Docker, verify |
| Configuration | MCP client wiring |
| Tools | API reference |
| Supported TLDs | Coverage model |
| Architecture | Internals |
| Docker | Tags & release pipeline |
| FAQ | Caveats |
Wiki sync runs on every push to main that touches docs/ (workflow Publish Wiki). Enable Wikis in repo settings and create an initial wiki page once so the wiki remote exists.
Docker releases
Publishing a GitHub Release with tag vX.Y.Z builds a multi-arch image and pushes:
ghcr.io/danielgtmn/domain-mcp:X.Y.Z
ghcr.io/danielgtmn/domain-mcp:vX.Y.Z
ghcr.io/danielgtmn/domain-mcp:X.Y
ghcr.io/danielgtmn/domain-mcp:latest # stable releases only
Workflow: .github/workflows/release-docker.yml
Development
uv sync --group dev
uv run pytest
uv run ruff check src tests
See CONTRIBUTING.md.
Project layout
src/domain_mcp/
server.py # FastMCP tools (stdio + HTTP)
checker.py # RDAP + WHOIS orchestration
whois_fallback.py # Minimal WHOIS client
normalize.py # Validation / IDN
models.py # Result types
docs/ # → GitHub Wiki
.github/workflows/ # CI, wiki sync, release Docker
Limitations
- WHOIS text formats vary; classification is best-effort outside RDAP.
- Registries rate-limit; keep bulk checks modest.
- Some ccTLDs expose little public data.
- Availability ≠ guaranteed registration at a given registrar.
Security
See SECURITY.md.
License
MIT © Daniel Gietmann
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。