FastDomainCheck MCP Server
A Model Context Protocol for checking domain name registration status in bulk.
Features
- Bulk domain registration status checking
- Dual verification using WHOIS and DNS
- Support for IDN (Internationalized Domain Names)
- Concise output format
- Built-in input validation and error handling
check_domains
Check registration status for multiple domain names.
{
"domains": ["example.com", "test.com"]
}
Parameters:
domains
: Array of strings containing domain names to check
- Maximum length of 255 characters per domain
- Maximum 50 domains per request
- No empty domain names allowed
{
"results": {
"example.com": {
"registered": true
},
"test.com": {
"registered": false
}
}
}
Response Fields:
results
: Object with domain names as keys and check results as values
registered
: Boolean
true
: Domain is registered
false
: Domain is available
Error Handling
The tool will return an error in the following cases:
- Empty domains list
- More than 50 domains in request
- Empty domain name
- Domain name exceeding 255 characters
- Result serialization failure
Error Response Format:
{
"error": "Error: domains list cannot be empty"
}
Usage Examples
- Check single domain:
// Request
{
"domains": ["google.com"]
}
// Response
{
"results": {
"google.com": {
"registered": true
}
}
}
- Check multiple domains:
// Request
{
"domains": ["example.com", "test123456.com"]
}
// Response
{
"results": {
"example.com": {
"registered": true
},
"test123456.com": {
"registered": false
}
}
}
- Domain checks are executed sequentially, taking approximately 0.3-1 second per domain
- Maximum 50 domains per request to prevent resource exhaustion
- WHOIS query timeout set to 10 seconds
- DNS query fallback when WHOIS query fails
Error Handling Strategy
- Input Validation: Comprehensive validation before processing
- Dual Verification: WHOIS primary, DNS fallback
- Timeout Management: Reasonable timeouts for all network operations
- Detailed Error Messages: Clear error descriptions for troubleshooting
Development Guide
Requirements
- Go 1.16 or higher
- Network connectivity (for WHOIS and DNS queries)
Build
go build -o FastDomainCheck-MCP-Server
Run
chmod +x FastDomainCheck-MCP-Server
./FastDomainCheck-MCP-Server