home / mcp / domain tools mcp server

Domain Tools MCP Server

A Model Context Protocol (MCP) server for comprehensive domain analysis: WHOIS, DNS records, and DNS health checks.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "deshabhishek007-domain-tools-mcp-server": {
      "command": "python",
      "args": [
        "domain_tools_server.py"
      ],
      "env": {
        "DNS_TIMEOUT": "10",
        "SERVER_NAME": "domain-tools",
        "DNS_LIFETIME": "30",
        "WHOIS_TIMEOUT": "30",
        "SERVER_VERSION": "1.0.0"
      }
    }
  }
}

You run a Domain Tools MCP Server that analyzes domains through WHOIS lookups, DNS record queries, and DNS health checks. It provides a unified way to perform comprehensive domain assessments so you can monitor registrations, DNS configurations, and potential issues in one place.

How to use

You connect an MCP-compatible client to the Domain Tools MCP Server to perform domain analysis tasks. Use the server to run WHOIS lookups, fetch DNS records for multiple record types, and run health checks to spot common DNS misconfigurations. You can perform a complete domain analysis to gather registration details, DNS state, and health indicators in a single workflow.

How to install

Prerequisites you need before installation:

  • Python 3.13 or newer is recommended
  • pip is available for installing dependencies
  • Internet access to perform DNS and WHOIS queries
git clone https://github.com/deshabhishek007/domain-tools-mcp-server.git
cd domain-tools-mcp-server

python3 -m venv domain-tools-env
source domain-tools-env/bin/activate

pip install -r requirements.txt

Additional setup

Verify installation by checking that dependencies load correctly and the server script runs. You should be able to start the server with Python and access its MCP interface through your client.

Run the server locally

python domain_tools_server.py
# Or, make it executable and run
chmod +x domain_tools_server.py
./domain_tools_server.py

Available tools

WHOIS Lookup

Retrieve detailed domain registration information including registrar, dates, status, and name servers.

DNS Records Query

Query DNS records (A, AAAA, MX, NS, TXT, CNAME, SOA) for a domain.

DNS Health Check

Analyze DNS configuration to identify common issues affecting domain accessibility.

Complete Domain Analysis

Perform an integrated assessment combining WHOIS, DNS records, and health checks for a comprehensive domain overview.