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 ASNsexpand_as_set
- Recursively expand AS-SETs into concrete ASN listsvalidate_route_object
- Check IRR route/route6 object existencecontact_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:
Tool Usage Examples
Query Network Information
Expand AS-SETs
Validate Route Objects
Get Contact Information
Configuration
Environment variables (optional):
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.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
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.