ns-lookup-mcp

ns-lookup-mcp

1

The NS Lookup MCP Server is a microservice designed to provide DNS resolution capabilities via a REST API. It allows for forward and reverse DNS lookups using configurable server settings, suitable for integration into applications.

NS Lookup MCP Server

A simple MCP Server providing a REST API interface for DNS lookups, integrating DNS resolution into applications.

Features

  • REST API for nslookup
  • Microservice architecture
  • Modern Python tooling
  • Forward and reverse DNS
  • Configurable DNS server selection
  • Clean output

Requirements

  • Python 3.9 or higher
  • uv package

Installation

  1. Clone the repository
  2. Install dependencies with uv

Usage

Start the server with uv or debug with npx inspector.

MCP Interface

Tools: DNS lookup via nslookup command.

Prompts: Configure prompts for DNS lookup.

MCP Client Configuration

Add server configuration to MCP client.

Example Output

Returns formatted DNS results.

Common DNS Servers

Google, Cloudflare, OpenDNS.