WHOIS MCP Server

WHOIS MCP Server

Enables network information lookup through WHOIS and RIPE Database queries. Supports domain/IP/ASN lookups, AS-SET expansion, route validation, and contact information retrieval across multiple Regional Internet Registries.

Category
Visit Server

README

whois-mcp

A Model Context Protocol (MCP) server that provides LLMs with network information lookup tools through WHOIS and RIPE Database queries.

Features

Available Tools

  • whois_query - Query WHOIS servers for domains, IPs, and ASNs
  • expand_as_set - Recursively expand AS-SETs into concrete ASN lists
  • validate_route_object - Check IRR route/route6 object existence
  • contact_card - Fetch abuse, admin, and technical contacts

Regional Internet Registry (RIR) Support

This MCP server supports multiple Regional Internet Registries (RIRs):

  • RIPE NCC (Europe/Middle East/Central Asia) - Full support
  • ARIN (North America) - Full support
  • 🔄 APNIC (Asia-Pacific) - Planned
  • 🔄 LACNIC (Latin America) - Planned
  • 🔄 AFRINIC (Africa) - Planned

Usage

With Claude Desktop (or any other MCP Client)

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "whois-mcp": {
      "command": "/path/to/bin/uvx",
      "args": ["--from", "git+https://github.com/dadepo/whois-mcp.git", "whois-mcp"]
    }
  }
}

Tool Usage Examples

Query Network Information

"What organization owns 8.8.8.8?"
→ Uses whois_query to retrieve registration details

Expand AS-SETs

"What ASNs are in AS-HURRICANE?"
→ Uses expand_as_set to list member ASNs

Validate Route Objects

"Is there a route object for 192.0.2.0/24 originated by AS64496?"
→ Uses validate_route_object to check IRR databases

Get Contact Information

"Who should I contact about abuse from AS15169?"
→ Uses contact_card to retrieve contact details

Configuration

Environment variables (optional):

# Enable/disable RIR support
SUPPORT_RIPE=true    # RIPE NCC (default: true)
SUPPORT_ARIN=true   # ARIN (default: true)

# General Configuration
HTTP_TIMEOUT_SECONDS=10
WHOIS_CONNECT_TIMEOUT_SECONDS=5
WHOIS_READ_TIMEOUT_SECONDS=5
CACHE_TTL_SECONDS=60
CACHE_MAX_ITEMS=512

# Custom User-Agent string
USER_AGENT="whois-mcp/1.0"

RIR Support Control

  • SUPPORT_RIPE=true (default): Enables RIPE NCC queries using hardcoded endpoints (whois.ripe.net, https://rest.db.ripe.net)
  • SUPPORT_ARIN=true: Enables ARIN queries using hardcoded endpoints (whois.arin.net, https://whois.arin.net/rest)
  • Set to false to disable specific RIRs

All RIR endpoints are hardcoded for reliability. You can enable multiple RIRs simultaneously - tools will be prefixed with the RIR name (e.g., ripe_whois_query, arin_whois_query).

License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured