Opens domain purchase links in Firefox browser through integration with mcp-opener for automatic browser launching
MCP Domain Checker Price
Model Context Protocol server for domain pricing and affiliate purchase links from Joker.com
This MCP server provides domain registration pricing via the official Joker.com DMAPI and generates affiliate purchase links with automatic browser integration.
Features
ā” Two-Tier Pricing System - Static JSON (default, zero-config) + optional real-time API
š Zero Configuration - Works immediately with bundled pricing data
š° Comprehensive Pricing - Registration, renewal, and transfer prices
š¾ Smart Caching - 6-hour TTL cache reduces API load
š Affiliate Links - Optional affiliate tracking for purchase links
š Browser Integration - Works with mcp-opener for automatic Firefox opening
š Optional Real-Time Pricing - Use Joker.com DMAPI for current prices (requires credentials)
š¦ Lightweight - No browser automation, pure API integration
Quick Start
1. Installation
2. Configuration (Optional)
The server works immediately with built-in pricing data. Configuration is only needed for:
Real-time pricing updates (requires Joker.com credentials)
Affiliate commission tracking
Optional - For Real-Time Pricing: Set Joker.com authentication:
Option A (Recommended): API Key from Joker.com ā My Profile ā API Access Keys
Option B: Username + Password
Optional - For Affiliate Tracking: Set affiliate ID for commission tracking
3. Add to Claude Code
Add to .claude/settings.json or global MCP configuration:
Available Tools
1. get_version
Get server version and capabilities
Parameters: None
Example:
2. get_domain_pricing
Fetch domain pricing from Joker.com (static data by default, real-time DMAPI optional)
Parameters:
domain(string, required) - Domain name to check (e.g., "example.com")force_refresh(boolean, optional) - Bypass cache, default: falseuse_api(boolean, optional) - Use real-time DMAPI instead of static data (requires credentials), default: false
Response:
Example:
3. open_purchase_link
Generate purchase links with optional affiliate tracking
Parameters:
domain(string) - Single domain to purchase (mutually exclusive with domains)domains(array) - Multiple domains to purchase (mutually exclusive with domain)open_all(boolean, optional) - Open all URLs (true) or just first (false), default: false
Response (Single Domain):
Response (Multiple Domains):
Examples:
Integration with Opener MCP
Recommended Workflow:
Pricing System
Two-Tier Architecture
Static Pricing (Default):
ā Zero configuration required
ā Instant response (no API calls)
ā No authentication needed
ā ļø Data may be slightly outdated (refresh with
./update-pricing.sh)š Covers 10+ common TLDs by default (com, net, org, io, app, dev, etc.)
Real-Time DMAPI (Optional):
ā Current prices directly from Joker.com
ā Automatically updated
ā ļø Requires Joker.com credentials
ā ļø Slower (API call per request)
Updating Static Pricing
This fetches current pricing from Joker.com DMAPI and updates data/pricing.json. The MCP server will automatically use the updated data on next restart.
Note: Requires Joker.com credentials configured in .env
Configuration Reference
Environment Variables
API Key vs Username/Password
Method | Security | Features | Recommended |
API Key | ā Higher (revocable) | Can be read-only | ā Yes |
Username/Password | ā ļø Lower | Full account access | ā ļø Only if needed |
API Key Advantages:
Don't expose main credentials
Can be restricted to read-only mode
Can be revoked without changing password
Can create multiple keys for different uses
Architecture
How It Works
Pricing Fetch Flow (Default - Static)
Check cache for domain pricing
If cache miss ā Load from
data/pricing.json(or use bundled defaults)Extract pricing for domain's TLD
Cache result for 6 hours
Return pricing data
Pricing Fetch Flow (Real-Time - use_api=true)
Check if DMAPI credentials configured
If not configured ā Fall back to static pricing
Authenticate with Joker.com DMAPI (session valid 1 hour)
Call
query-price-listAPIParse TSV response (tab-separated values)
Extract pricing for domain's TLD
Cache result for 6 hours
Return pricing data
Affiliate Link Flow
Load affiliate ID from environment
Generate Joker.com registration URL
Append
&aff=YOUR_IDif affiliate configuredReturn URL with price estimate (if available)
Troubleshooting
ā "No pricing data found for TLD .xyz"
Solution:
Using static pricing: TLD not in bundled data. Run
./update-pricing.shto fetch all Joker.com TLDsUsing real-time pricing: TLD might not be available through Joker.com or not in your reseller account's price list
ā ļø "DMAPI requested but not configured, using static pricing"
Info: You requested use_api=true but credentials not set. Server automatically falls back to static pricing. To use real-time pricing, set MCP_JOKER_API_KEY or MCP_JOKER_USERNAME + MCP_JOKER_PASSWORD in .env
ā "DMAPI login failed (HTTP 401)"
Solution: Check credentials - API key may be expired or invalid
ā ļø Cache always returns from_cache: false
Solution: Check MCP_DOMAIN_PRICING_CACHE_TTL_HOURS is > 0 in .env
ā ļø Affiliate links show is_affiliate: false
Solution: Set MCP_AFFILIATE_JOKER_ID in .env and restart server
Development
API Reference
Joker.com DMAPI Endpoints Used
/request/login- Authentication/request/query-price-list- Complete TLD pricing list
Documentation: https://dmapi.joker.com/docs/
License
MIT Ā© Victoria Lackey
Sources
Contributing
This package is part of the @3viky/mcp monorepo ecosystem.
For issues and contributions, please visit the GitHub repository.
Built with Model Context Protocol | Powered by Joker.com DMAPI