A Model Context Protocol (MCP) server that provides Hope Domain API services, including domain WHOIS queries and AI-driven domain recommendations.
🔍 Domain WHOIS Queries
- Single domain WHOIS queries (free)
- Batch domain WHOIS queries (up to 1000 domains, ≤50 free)
🤖 AI Domain Recommendations
- AI-driven domain suggestions based on project descriptions
- Generate 1-50 domain recommendations per request
💰 Credit Management
- View current credit balance and account status
- Track usage and recharge history
🚀 Zero Warnings
- Uses Node.js native fetch API
- Zero dependency warnings, clean installation experience
🎯 Features:
- ⚡ Zero Configuration - Click to use, no manual setup required
- 🔄 Auto Updates - Always uses the latest version
- 🚀 Instant Deployment - No local installation needed
- ✨ Completely Warning-Free - Clean runtime environment
{
"mcpServers": {
"hopedomain-mcp": {
"command": "npx",
"args": ["hopedomain-mcp@latest"],
"env": {
"HOPE_DOMAIN_API_KEY": "sk-your_api_key_here"
}
}
}
}🎯 Features:
- 📦 No Installation Required - Run directly via npx
- 🔄 Auto Updates -
@latestensures the latest version - 🌐 Cross-Platform Compatible - Supports all MCP clients
- ⚡ Lightweight & Fast - Only requires API key configuration
- ✨ Zero Warning Output - Completely clean runtime experience
-
Clone the repository:
git clone https://github.com/HopeDomain/whois-mcp.git cd whois-mcp -
Install dependencies:
npm install
-
Build the project:
npm run build
We provide multiple pre-configured templates in the configs/ directory:
- 📄
configs/claude-desktop.json- Claude Desktop standard configuration - 📄
configs/cursor-mcp.json- Cursor MCP configuration - 📄
configs/local-dev.json- Local development configuration
Simply copy the corresponding configuration to your MCP client configuration file!
- Cursor Users → Click the one-click installation button ⚡
- Other Users → Use NPX standard configuration ⚙️
- Visit Hope Domain Official Website to register/login
- Go to Console → API Keys page
- Click the "Create API Key" button
- Copy the generated API key (format:
sk-xxxxxxxxxx)
Environment Variable Method:
export HOPE_DOMAIN_API_KEY="sk-your_actual_api_key_here"Or set directly in configuration file:
{
"env": {
"HOPE_DOMAIN_API_KEY": "sk-your_actual_api_key_here"
}
}Now you can use these powerful tools:
- 🔍
whois_single- Single domain WHOIS query - 📊
whois_batch- Batch domain queries (up to 1000) - 🤖
ai_domain_recommend- AI domain recommendations - 💰
get_user_credits- Account credit query
Method 1: System Environment Variables
export HOPE_DOMAIN_API_KEY="sk-your_actual_api_key_here"
export HOPE_DOMAIN_BASE_URL="https://hopedomain.com/api" # Optional, defaults to production APIMethod 2: Project .env File
HOPE_DOMAIN_API_KEY=sk-your_actual_api_key_here
HOPE_DOMAIN_BASE_URL=https://hopedomain.com/api📁 Config File: ~/.config/claude/claude_desktop_config.json (Linux/Mac)
📁 Config File: %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"hopedomain-mcp": {
"command": "npx",
"args": ["hopedomain-mcp@latest"],
"env": {
"HOPE_DOMAIN_API_KEY": "sk-your_actual_api_key_here"
}
}
}
}📁 Config Location: Settings → Extensions → MCP
{
"mcpServers": {
"hopedomain-mcp": {
"command": "npx",
"args": ["hopedomain-mcp@latest"],
"env": {
"HOPE_DOMAIN_API_KEY": "${HOPE_DOMAIN_API_KEY}"
}
}
}
}Use Case: Source code development, debugging, custom modifications
{
"mcpServers": {
"hopedomain-mcp": {
"command": "node",
"args": ["./dist/index.js"],
"cwd": "/path/to/whois-mcp",
"env": {
"HOPE_DOMAIN_API_KEY": "sk-your_actual_api_key_here",
"HOPE_DOMAIN_BASE_URL": "https://hopedomain.com/api"
}
}
}
}whois_single(domain: string)Query WHOIS information for a single domain (free).
whois_batch(domains: string[], format?: "json")Query WHOIS information for multiple domains at once (up to 1000 domains, ≤50 free).
ai_domain_recommend(description: string, count?: number)Get AI-powered domain name recommendations based on project description (1-50 recommendations).
get_user_credits()Get current user credit balance and status.
// Query a single domain
const result = await whois_single("example.com");
console.log(result);// Query multiple domains
const domains = ["example.com", "google.com", "github.com"];
const results = await whois_batch(domains);
console.log(results);// Get domain recommendations for a project
const recommendations = await ai_domain_recommend(
"A modern e-commerce platform for sustainable products",
10
);
console.log(recommendations);// Check your account balance
const credits = await get_user_credits();
console.log(credits);We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project helpful, please give it a star on GitHub! Your support motivates us to continue improving and adding new features.