域详细信息MCP服务器
一种模型上下文协议(MCP)服务器,提供全面的域研究工具,包括RDAP、WHOIS和DNS查找功能。
特性
- RDAP优先:使用现代RDAP协议处理结构化域数据
- WHOIS撤退:当RDAP失败时,自动回退到WHOIS
- 注册表检测:自动检测任何TLD的正确RDAP/WHOIS服务器
- 全面覆盖:支持50多个顶级域名,包括通用顶级域名和国别顶级域名
- 易于集成:适用于任何兼容MCP的客户端(Claude Desktop、IDE等)
安装
npm install domaindetails-mcp或者直接与npx一起使用:
npx domaindetails-mcp用法
克劳德桌面版
添加到您的Claude Desktop配置文件中:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
视窗: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"domaindetails": {
"command": "npx",
"args": ["-y", "domaindetails-mcp"]
}
}
}克劳德代码
添加到您的Claude Code MCP设置中:
claude mcp add domaindetails -- npx -y domaindetails-mcp或手动添加到 ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"domaindetails": {
"command": "npx",
"args": ["-y", "domaindetails-mcp"]
}
}
}光标
添加到您的光标MCP配置 ~/.cursor/mcp.json:
{
"mcpServers": {
"domaindetails": {
"command": "npx",
"args": ["-y", "domaindetails-mcp"]
}
}
}帆板运动
添加到您的Windsurf MCP配置 ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"domaindetails": {
"command": "npx",
"args": ["-y", "domaindetails-mcp"]
}
}
}其他MCP客户端
对于任何兼容MCP的客户端,请使用:
- 命令:
npx - 参数:
["-y", "domaindetails-mcp"]
或者,如果全局安装:
- 命令:
domaindetails-mcp
可用工具
domain_lookup
使用RDAP协议和WHOIS回退查找全面的域信息。
参数:
domain(string,必填):要查找的域名(例如example.com)prefer_whois(boolean,可选):如果为true,则使用WHOIS而不是RDAP作为主要方法include_raw(boolean,可选):如果为true,则包含原始协议响应数据
示例响应:
{
"domain": "example.com",
"found": true,
"method": "rdap",
"timestamp": "2025-01-21T10:30:00Z",
"status": ["client transfer prohibited"],
"nameservers": ["ns1.example.com", "ns2.example.com"],
"rdap": {
"registration_date": "1995-08-14T04:00:00Z",
"expiration_date": "2025-08-13T04:00:00Z",
"contacts": [...],
"dnssec": {...}
}
}支持的顶级域名
该服务器内置了50多个顶级域名的注册表检测功能:
通用顶级域名:com、net、org、info、biz、name、pro、xyz、top、site、online、tech、store、app、dev、io、ai、co、me、tv、cc
国家/地区代码TLD:英国、加拿大、澳大利亚、德国、法国、荷兰、比利时、加拿大、法国、意大利、希腊、瑞典、挪威、丹麦、芬兰、爱尔兰、波兰、捷克、斯洛伐克、匈牙利、罗马尼亚、保加利亚、人力资源、安全、劳工、劳工
对于不受支持的TLD,服务器将尝试从IANA的引导服务中获取注册表信息。
相关套餐
- 域详细信息 -用于域查找的CLI工具和库(包括此MCP服务器)
发展
# Clone repository
git clone https://github.com/simplebytes-com/domaindetails-mcp.git
cd domaindetails-mcp
# Install dependencies
npm install
# Build
npm run build
# Test locally
node build/index.js许可证
麻省理工学院
支持
对于问题和疑问:
- GitHub问题:https://github.com/simplebytes-com/domaindetails-mcp/issues
- 网站:https://domaindetails.com
