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 -
@latest
ensures 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 API
Method 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.
- π Official Website
- π API Documentation
- π API Keys
- π¬ Support
If you find this project helpful, please give it a star on GitHub! Your support motivates us to continue improving and adding new features.