Skip to main content

MCP Server for checking domain name availability using WHOIS and DNS via stdio.

Project description

FastDomainCheck MCP Server (Python)

This is a domain availability check server implemented using Python and the Model Context Protocol (MCP). It provides MCP Tools to check if single or multiple domain names are already registered.

Features

  • Bulk domain registration status checking
  • Dual verification using WHOIS and DNS
  • Support for IDN (Internationalized Domain Names)
  • Concise output format
  • Built-in input validation and error handling

Tool Documentation

check_domains

Check registration status for multiple domain names.

Input Format

{
  "domains": ["example.com", "test.com"]
}

Parameters:

  • domains: Array of strings containing domain names to check
    • Maximum length of 255 characters per domain
    • Maximum 50 domains per request
    • No empty domain names allowed

Output Format

{
  "results": {
    "example.com": {
      "registered": true
    },
    "test.com": {
      "registered": false
    }
  }
}

Response Fields:

  • results: Object with domain names as keys and check results as values
    • registered: Boolean
      • true: Domain is registered
      • false: Domain is available

Error Handling

The tool will return an error in the following cases:

  1. Empty domains list
  2. More than 50 domains in request
  3. Empty domain name
  4. Domain name exceeding 255 characters
  5. Result serialization failure

Error Response Format:

{
  "error": "Error: domains list cannot be empty"
}

Usage Examples

Check multiple domains:

Request

{
  "domains": ["example.com", "test123456.com"]
}

Response

{
  "results": {
    "example.com": {
      "registered": true
    },
    "test123456.com": {
      "registered": false
    }
  }
}

MCP Server Settings

Configuring FastDomainCheck MCP in Claude Deskto

Modify your claude-desktop-config.json file as shown below

{
  "mcpServers": {
    "fastdomaincheck": {
      "command": "uvx",
      "args": [
        "-y",
        "fastdomaincheck-mcp-server"
      ]
    }
  }
}

Go Version Reference

go version

Contributing

Feel free to open issues or submit pull requests.

License

MIT License (You should add a LICENSE file, typically containing the MIT license text)

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

fastdomaincheck_mcp_server-0.1.4.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

fastdomaincheck_mcp_server-0.1.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file fastdomaincheck_mcp_server-0.1.4.tar.gz.

File metadata

File hashes

Hashes for fastdomaincheck_mcp_server-0.1.4.tar.gz
Algorithm Hash digest
SHA256 602af05275e4ba6770b13df2b95900a1d5b9bf87534de77982073ec53fbceed3
MD5 67e8ee11f446168163370cfd502f1a2b
BLAKE2b-256 bcffcc3cc9d4d7532c1ef8f05948f5e87320896ff19a22b34caf602c43c34494

See more details on using hashes here.

File details

Details for the file fastdomaincheck_mcp_server-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for fastdomaincheck_mcp_server-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 391e185973a50a1f0352676eeba0338ff55f0405dc8e7224f00c0afce4762076
MD5 35b23959ab524c2b345f2e481eb4a1a8
BLAKE2b-256 a89ccb169a589c351ceca5675668b3faab6acb085ed3bbb8e2ffbca692154202

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