Back to Home
jon-the-dev icon

domain-lookup-mcp-server

Verified Safe

by jon-the-dev

Overview

Provides domain name, IP, and network information through WHOIS and DNS lookups, designed for LLM workflows.

Installation

Run Command
poetry run domain-lookup-mcp-server

Security Notes

The server uses `asyncio.create_subprocess_exec` to run the `whois` command, passing user input as a distinct argument, which significantly mitigates command injection risks. Domain inputs are robustly sanitized (`clean_domain` function) before being used in queries. DNS queries use the `dnspython` library and trusted public nameservers. The file-based cache uses SHA256 hashes for cache keys, preventing path traversal. There are no hardcoded secrets or `eval` usage. Logging is directed to stderr, avoiding interference with JSON-RPC output.

Similar Servers

Stats

Interest Score28
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars1
Forks0
Last Update2026-01-09

Tags

DNSWHOISNetworkDomain ManagementEmail Security