MCP Domain Availability Server
Enables AI assistants to check domain name availability for single or multiple domains using DNS, RDAP, and WHOIS lookups. It provides detailed registration status including registrar information and expiration dates while supporting bulk checks of up to 50 domains.
README
MCP Domain Availability Server
A Model Context Protocol (MCP) server for checking domain name availability using DNS, RDAP, and WHOIS lookups. This server provides AI assistants with the ability to check if domain names are available for registration.
Features
- Single Domain Checking: Check availability of individual domains
- Bulk Domain Checking: Check up to 50 domains simultaneously
- Multi-Protocol Lookups: Uses DNS-over-HTTPS (DoH), RDAP, and WHOIS for accurate results
- Robust Error Handling: Handles timeouts, rate limits, and network errors gracefully
- Security Limits: Built-in protection against abuse with request limits and timeouts
Installation
For Cursor IDE
Add the following to your ~/.cursor/mcp.json (or %APPDATA%\Cursor\mcp.json on Windows):
{
"mcpServers": {
"domain-availability": {
"command": "npx",
"args": ["-y", "mcp-domain-availability"]
}
}
}
Restart Cursor to activate the server.
For Other MCP Clients
The server can be used with any MCP-compatible client. Install globally:
npm install -g mcp-domain-availability
Then configure your MCP client to run:
mcp-domain-availability
Usage
Tool 1: check_domain_availability
Check if a single domain is available for registration.
Input:
{
"domain": "example.com"
}
Output:
{
"domain": "example.com",
"available": false,
"status": "registered",
"registered": true,
"details": {
"availability": "registered",
"registrar": "Example Registrar",
"registrationDate": "2020-01-01",
"expirationDate": "2025-01-01"
}
}
Possible status values:
unregistered- Domain is available for registrationregistered- Domain is already registeredunknown- Unable to determine status
Tool 2: check_multiple_domains
Check availability for multiple domains at once (up to 50 domains).
Input:
{
"domains": ["example.com", "test.io", "available-domain.xyz"]
}
Output:
{
"results": [
{
"domain": "example.com",
"available": false,
"status": "registered",
"registered": true,
"error": null
},
{
"domain": "test.io",
"available": true,
"status": "unregistered",
"registered": false,
"error": null
},
{
"domain": "available-domain.xyz",
"available": false,
"status": "error",
"registered": false,
"error": "Network error occurred",
"errorType": "network"
}
],
"summary": {
"total": 3,
"available": 1,
"registered": 1,
"errors": 1,
"unknown": 0
}
}
Error Handling
The server handles various error scenarios:
- Timeout Errors: Domain checks timeout after 30 seconds
- Rate Limiting: Detects and reports rate limit errors from WHOIS/DNS providers
- Network Errors: Handles connection failures gracefully
- Invalid Input: Validates domain format and length before checking
Error Response Format
{
"error": "Error message",
"domain": "example.com",
"suggestion": "Helpful suggestion for the user"
}
Requirements
- Node.js >= 18.0.0
- npm or compatible package manager
Limitations
- Rate Limiting: WHOIS and DNS providers may rate limit requests. The server detects and reports these errors.
- Timeout: Each domain check has a 30-second timeout to prevent hanging requests.
- Bulk Limit: Maximum 50 domains per bulk request to prevent abuse.
- TLD Support: Supports all standard TLDs. Some newer or less common TLDs may have limited information available.
Troubleshooting
Server not starting
- Verify Node.js version:
node --version(should be >= 18.0.0) - Check that the package is installed:
npx -y mcp-domain-availability - Review Cursor logs for error messages
Domain checks failing
- Check your internet connection
- Some domains may be rate-limited - wait a few moments and try again
- Verify domain format is correct (e.g.,
example.com, nothttp://example.com)
Rate limit errors
If you encounter rate limit errors:
- Wait a few minutes before making more requests
- Reduce the number of domains checked in bulk operations
- Consider checking domains individually with delays between requests
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
Acknowledgments
- Built with @modelcontextprotocol/sdk
- Domain checking powered by domainstat
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。