domain-mcp
# domain-mcp
A CLI and MCP (Model Context Protocol) server for reliably checking domain name availability. Uses both DNS and WHOIS lookups for high-confidence results.
## Features
- **Dual verification**: Combines DNS and WHOIS checks for reliable results
- **Confidence levels**: Reports high/medium/low confidence based on verification methods
- **Alternative TLD search**: Find available domains across multiple TLDs
- **Domain suggestions**: Generate variations with common prefixes/suffixes
- **MCP server**: Use with Claude and other MCP-compatible AI assistants
- **CLI tool**: Command-line interface for quick lookups
## Installation
```bash
# Install globally from GitHub
npm install -g github:cfenzo/domain-mcp
# Or use directly with npx (no install needed)
npx github:cfenzo/domain-mcp --help
```
## CLI Usage
```bash
# Check a single domain
domain-check example.com
# Check across popular TLDs
domain-check myapp --alt
# Check tech-focused TLDs (io, dev, app, ai, etc.)
domain-check startup --alt --tech
# Check specific TLDs
domain-check mybrand --tlds com,io,dev,app
# JSON output
domain-check example.com --json
# Only show available domains
domain-check myapp --alt --available-only
```
Or with npx (no installation):
```bash
npx -p github:cfenzo/domain-mcp domain-check example.com --alt
```
## Claude Code MCP Server
Add to your Claude Code configuration (`~/.claude.json`):
```json
{
"mcpServers": {
"domain-checker": {
"command": "npx",
"args": ["-y", "-p", "github:cfenzo/domain-mcp", "domain-mcp"]
}
}
}
```
### Available MCP Tools
- **check_domain**: Check a single domain's availability
- **check_alternative_tlds**: Check availability across multiple TLDs
- **suggest_domains**: Generate and check domain name variations
- **list_tlds**: List available TLD categories
## How It Works
1. **DNS Check**: Queries DNS for A records. If found, domain is definitely taken.
2. **WHOIS Check**: Queries WHOIS servers for registration data.
3. **Confidence Scoring**:
- **High**: Both methods agree (DNS exists + WHOIS registered, or no DNS + WHOIS available)
- **Medium**: Only one method provided data
- **Low**: Errors or ambiguous results
## TLD Categories
- **General**: com, net, org, io, co, dev, app, ai, xyz, me, info, biz, tech, online, site, cloud
- **Tech**: io, dev, app, ai, tech, cloud, software, systems, digital, code
- **Country**: uk, de, fr, nl, es, it, pl, ru, jp, cn, au, ca, us, in, br
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: check_alternative_tlds focuses on alternative TLDs when a primary is taken, check_domain verifies availability for a single domain, list_tlds provides TLD categories, and suggest_domains generates suggestions based on keywords. An agent can easily differentiate between them.
All tool names follow a consistent verb_noun pattern with snake_case: check_alternative_tlds, check_domain, list_tlds, and suggest_domains. This predictability makes the set easy to navigate and understand.
With 4 tools, this server is well-scoped for domain checking and suggestion tasks. Each tool earns its place by covering distinct aspects of the domain, avoiding bloat while providing essential functionality for the domain management domain.
The toolset covers core domain availability and suggestion workflows effectively, including checking single domains, alternatives, TLD listings, and keyword-based suggestions. A minor gap might be the lack of tools for domain registration or management post-availability check, but the available tools handle the primary discovery phase well.