Skip to main content

MCP server for Domainr domain search and availability checking

Project description

Domainr MCP Server

PyPI version Python 3.8+

A Model Context Protocol (MCP) server that provides domain search and availability checking functionality using the Domainr API. Perfect for AI assistants and domain research workflows.

Features

  • 🔍 Domain Search - Search for domains with intelligent suggestions
  • Availability Checking - Check if domains are available for registration
  • 🌐 Registration URLs - Get direct links to register domains
  • 🎯 Advanced Filtering - Filter by registrar, keywords, and location
  • Async Performance - Built with modern async Python

Installation

Option 1: uvx (Recommended - No Installation Required)

uvx domainr-mcp-server

Option 2: uv (Modern Package Manager)

uv tool install domainr-mcp-server

Option 3: pip (Traditional)

pip install domainr-mcp-server

Setup

1. Get a Domainr API Key

  1. Sign up at RapidAPI
  2. Subscribe to the Domainr API
  3. Copy your API key

2. Set Environment Variable

# Linux/macOS
export DOMAINR_API_KEY="your_api_key_here"

# Windows
set DOMAINR_API_KEY=your_api_key_here

3. Configure Your MCP Client

For Claude Desktop:

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "domainr": {
      "command": "domainr-mcp-server",
      "env": {
        "DOMAINR_API_KEY": "your_api_key_here"
      }
    }
  }
}

For uvx users:

{
  "mcpServers": {
    "domainr": {
      "command": "uvx",
      "args": ["domainr-mcp-server"],
      "env": {
        "DOMAINR_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available Tools

🔍 search_domains

Search for domain names with intelligent suggestions and filtering.

Parameters:

  • query (required) - Search terms for domain names
  • location (optional) - Country code for localized results (default: "us")
  • registrar (optional) - Filter by registrar (e.g., "dnsimple.com")
  • defaults (optional) - Always include specific TLDs (e.g., "com,org")
  • keywords (optional) - Seed results with keywords (e.g., "tech,startup")

Example:

{
  "query": "awesome startup",
  "keywords": "tech,software",
  "defaults": "com,io"
}

✅ check_domain_status

Check availability status of specific domains.

Parameters:

  • domains (required) - Comma-separated list of domains to check

Example:

{
  "domains": "example.com,example.io,example.org"
}

🌐 register_domain

Get registration URLs for domains.

Parameters:

  • domain (required) - Domain name to register
  • registrar (optional) - Preferred registrar

Example:

{
  "domain": "myawesomesite.com",
  "registrar": "dnsimple.com"
}

Usage Examples

Basic Domain Search

User: "Find domains for a coffee shop"
Assistant: [searches domains with coffee-related keywords]
→ Returns: coffeeshop.com, mycafe.coffee, brew.cafe, etc.

Availability Check

User: "Is example.com available?"
Assistant: [checks domain status]
→ Returns: example.com: active (not available)

Complete Workflow

User: "I need a domain for my tech startup"
Assistant: 
1. [searches with tech keywords]
2. [checks availability of top options]  
3. [provides registration links for available domains]

Development

Local Development

git clone https://github.com/yourusername/domainr-mcp-server
cd domainr-mcp-server

# Create virtual environment
python -m venv venv
source venv/bin/activate  # Linux/macOS
# or
venv\Scripts\activate     # Windows

# Install dependencies
pip install -r requirements.txt

# Run locally
python -m domainr_mcp_server.server

Testing

# Set your API key
export DOMAINR_API_KEY="your_test_key"

# Test the server
echo '{"method":"tools/list","params":{},"jsonrpc":"2.0","id":1}' | python -m domainr_mcp_server.server

API Reference

This server integrates with the Domainr API v2 endpoints:

  • Search: /v2/search - Domain search with suggestions
  • Status: /v2/status - Domain availability checking
  • Register: /v2/register - Registration URL generation

Made with ❤️ for the MCP ecosystem

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

domainr_mcp_server-0.1.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

domainr_mcp_server-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file domainr_mcp_server-0.1.0.tar.gz.

File metadata

  • Download URL: domainr_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for domainr_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b9b903016cbcc7f0ae6cca0833f582ff5329ec32383401795f092e2eccb22fd0
MD5 b21762322f93a39c1d983fa6e0c69efc
BLAKE2b-256 7ec0d2c550ea68bc1fc5a6496fbb6452a600327682a1470630993c74d3539454

See more details on using hashes here.

File details

Details for the file domainr_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for domainr_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a345df037ee254b52542fd1ebb89c8f62cc7f434578fbeba685aad85f8f1cb6
MD5 3e8e0a4a3912a22e9666938073502c45
BLAKE2b-256 02fd7e8caa82bb913da86e268120846f4f7dfdbb3664a21764e44f713de73b94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page