Whodis (Domain Availability Checker) logo

Whodis (Domain Availability Checker)

Community
vinsidious

MCP Server for checking the availability of domain names using WHOIS lookups

Publishervinsidious
Repositorywhodis-mcp-server
LanguageTypeScript
Forks
2
Stars
4
Available tools
1
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Whodis (Domain Availability Checker) exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 1 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    4 stars and 2 forks from the linked repository.

Whodis MCP Server

This project provides a Model Context Protocol (MCP) server specifically designed to check the availability of domain names using WHOIS lookups. It allows AI assistants or other tools to integrate domain availability checks into their workflows.


Overview

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI systems to securely and contextually connect with external tools and data sources. This server implements the MCP standard to provide domain availability information.

Features

  • Domain Availability Checks: Uses the whoiser library to perform WHOIS lookups and determine if domains appear to be available or registered.
  • MCP Tool Integration: Exposes a check-domain-availability tool for MCP clients (like AI assistants).
  • CLI Interface: Includes a command-line interface (whodis-mcp-server check-domain-availability ...) for direct usage and testing.
  • Structured Logging: Provides detailed logging for debugging and monitoring.
  • Configurable: Supports configuration via environment variables or .env files.

Getting Started

Prerequisites

  • Node.js (>=18.x): Download
  • Git: For version control

Step 1: Clone and Install

bash
# Clone the repository
git clone https://github.com/vinsidious/whodis-mcp-server.git
cd whodis-mcp-server

# Install dependencies
npm install

Step 2: Run Development Server

Start the server in development mode to interact with it via the MCP Inspector:

bash
npm run dev:server

This starts the MCP server and enables the MCP Inspector at http://localhost:5173, where you can test the check-domain-availability tool.


Step 3: Test the Tool via CLI

Run the domain availability checker directly from the command line:

bash
# Using CLI in development mode
npm run dev:cli -- check-domain-availability example.com non-existent-domain-12345.org

# Or run the built version
npm run start:cli -- check-domain-availability google.com my-unique-idea.dev

The CLI will output a JSON object containing available and unavailable arrays.


Architecture

This server follows a layered architecture:

src/
├── cli/              # Command-line interface logic
├── controllers/      # Business logic for domain checks
├── services/         # Interaction with the whoiser library
├── tools/            # MCP tool definition and argument validation
├── types/            # Shared type definitions
├── utils/            # Shared utilities (logging, errors, etc.)
└── index.ts          # Main entry point for server and CLI

Development Guide

Development Scripts

bash
# Start MCP server in development mode (with MCP Inspector)
npm run dev:server

# Run CLI commands in development mode
npm run dev:cli -- check-domain-availability <domains...>

# Build the project for production
npm run build

# Start MCP server in production mode (requires MCP client)
npm run start:server

# Run CLI commands using the production build
npm run start:cli -- check-domain-availability <domains...>

Testing

bash
# Run all tests
npm test

# Generate test coverage report
npm run test:coverage

Code Quality

bash
# Lint code
npm run lint

# Format code with Prettier
npm run format

MCP Tool: check-domain-availability

  • PURPOSE: Checks the availability of one or more domain names.
  • INPUT: An array of domain names.
    json
    {
    	"domains": ["example.com", "another-domain.net"]
    }
  • OUTPUT: A JSON object containing two arrays: available (domains that appear to be unregistered) and unavailable (domains that appear to be registered).
    json
    {
    	"available": ["likely-available-domain123.xyz"],
    	"unavailable": ["google.com"]
    }
    Note: Availability checks depend on WHOIS server responses and might not be 100% accurate for all TLDs or due to temporary network issues. Domains where lookup failed are omitted.
  • WHEN TO USE: Use this tool when you need to determine if specific domain names can potentially be registered.

Debugging

MCP Inspector

Access the visual MCP Inspector to test the tool and view request/response details:

  1. Run npm run dev:server
  2. Open http://localhost:5173 in your browser
  3. Use the UI to call the check-domain-availability tool.

Server Logs

Enable debug logs for detailed output:

bash
# Set environment variable
DEBUG=true npm run dev:server

# Or set DEBUG=true in your .env file

Logs are also saved to files in ~/.mcp/data/whodis-mcp-server.*.log.


Publishing

To publish updates to npm:

  1. Ensure changes are committed and follow conventional commit messages (e.g., feat:, fix:, chore:).
  2. Push changes to the main branch.
  3. The ci-semantic-release.yml workflow will automatically build, test, version, and publish the package to npm.

License

ISC License

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "whodis-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "whodis-mcp-server"
      ]
    }
  }
}

Available Tools

  • check-domain-availability

    PURPOSE: Checks the availability of one or more domain names. INPUT: An array of domain names. OUTPUT: A JSON object containing two arrays: 'available' (domains that appear to be unregistered) and 'unavailable' (domains that appear to be registered). Note: Availability checks depend on WHOIS server responses and might not be 100% accurate for all TLDs or due to temporary network issues. Domains where lookup failed are omitted. WHEN TO USE: Use this tool when you need to determine if specific domain names can potentially be registered. EXAMPLE: { "domains": ["google.com", "example-domain-that-is-likely-free-12345.com"] }

Use Whodis (Domain Availability Checker) MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Whodis (Domain Availability Checker) is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Whodis (Domain Availability Checker) as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Whodis (Domain Availability Checker) MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "whodis-domain-availability-checker": {
      "command": "npx",
      "args": [
        "-y",
        "whodis-mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Whodis (Domain Availability Checker) MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Whodis (Domain Availability Checker) MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Whodis (Domain Availability Checker) to help me with this task?
Whodis (Domain Availability Checker)
Sure. I read it.
Here is what I found using Whodis (Domain Availability Checker).

Frequently asked questions

What is the Whodis (Domain Availability Checker) MCP server used for?

Whodis (Domain Availability Checker) is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Whodis (Domain Availability Checker) MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Whodis (Domain Availability Checker) with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Whodis (Domain Availability Checker) MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Whodis (Domain Availability Checker) connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Whodis (Domain Availability Checker) MCP to TypingMind?

Whodis (Domain Availability Checker) runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Whodis (Domain Availability Checker) MCP provide in TypingMind?

Whodis (Domain Availability Checker) exposes 1 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Whodis (Domain Availability Checker) MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Whodis (Domain Availability Checker) requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇