WhoisJSON
WHOIS, DNS, SSL, and domain availability lookups for AI assistants
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@whoisjson/mcp-serverclaude mcp add whoisjson -e 'WHOISJSON_API_KEY=<your whoisjson_api_key>' -- npx -y @whoisjson/mcp-server@1.0.3
{
"mcpServers": {
"whoisjson": {
"command": "npx",
"args": [
"-y",
"@whoisjson/mcp-server@1.0.3"
],
"env": {
"WHOISJSON_API_KEY": "<your whoisjson_api_key>"
}
}
}
}
متغيرات البيئة
WHOISJSON_API_KEYإلزامي سري Your WhoisJSON API key from whoisjson.com/dashboard
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
@whoisjson/mcp-server
MCP (Model Context Protocol) server for the WhoisJSON API. Exposes WHOIS, DNS, SSL, and domain availability lookups as tools for AI assistants.
Tools
| Tool | Description |
|---|---|
whois_lookup | WHOIS registration data for a domain (registrar, dates, contacts, nameservers…) |
dns_lookup | All DNS records for a domain (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA, DMARC…) |
ssl_check | SSL/TLS certificate details and validity for a domain |
domain_availability | Check if a domain is available for registration |
Prerequisites
- Sign up at whoisjson.com and copy your API key from the dashboard.
- Node.js ≥ 18.
Installation
npm install -g @whoisjson/mcp-server
# or run directly with npx (no install needed):
npx @whoisjson/mcp-server
Configuration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"whoisjson": {
"command": "npx",
"args": ["-y", "@whoisjson/mcp-server"],
"env": {
"WHOISJSON_API_KEY": "your_api_key_here"
}
}
}
}
Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"whoisjson": {
"command": "npx",
"args": ["-y", "@whoisjson/mcp-server"],
"env": {
"WHOISJSON_API_KEY": "your_api_key_here"
}
}
}
}
Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"whoisjson": {
"command": "npx",
"args": ["-y", "@whoisjson/mcp-server"],
"env": {
"WHOISJSON_API_KEY": "your_api_key_here"
}
}
}
}
Running locally (development)
cd mcp-server
npm install
npm run build
WHOISJSON_API_KEY=your_key npm start
Publishing
npm run build
npm publish --access public
API reference
Full API documentation: whoisjson.com/documentation
الأسئلة الشائعة
ما هو WhoisJSON؟
WHOIS, DNS, SSL, and domain availability lookups for AI assistants
كيف أثبّت WhoisJSON؟
يعمل على جهازك. في Claude Code: claude mcp add whoisjson -e 'WHOISJSON_API_KEY=<your whoisjson_api_key>' -- npx -y @whoisjson/mcp-server@1.0.3. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج WhoisJSON إلى مفتاح API؟
نعم. يتطلب WHOISJSON_API_KEY، وتضبطها في إعداداته.
هل WhoisJSON مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون WhoisJSON؟
ينشره Whoisjson. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.