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.1.tar.gz (10.0 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.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: domainr_mcp_server-0.1.1.tar.gz
  • Upload date:
  • Size: 10.0 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.1.tar.gz
Algorithm Hash digest
SHA256 d5148470231680c737162bba6a7c5b762bca3c742908393272be7d3867c1f59f
MD5 3a139bde6a5ed705dc94e5ab2e2b5ebf
BLAKE2b-256 be371720c6058370c7e06c19b92dcd6dc10c1fde3db11ec2697d28b86b636d51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for domainr_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12a0e88a187f6e264106742a0a6b7236df6736e16b1d7edfe95e99c028bb8eec
MD5 1daefac378de2bfd3b381f737fd4bfc6
BLAKE2b-256 d39ee43bc600c8c7422dc4db78713625a774d0bd306fe364e9e137e5f434877c

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