netip-mcp
You can use this MCP server as a network and IP toolbox for your coding agent.
Calculate IPv4/IPv6 subnets, including /31 and /32 edge cases.
Check whether an IP is inside a CIDR block.
Convert IPv4 between dotted decimal, integer, hex, and binary.
Normalize IPv6 addresses and classify their type.
Look up MAC address vendors from a bundled IEEE registry and decode MAC bits.
Look up what runs on a port and whether exposing it is safe, with optional detailed explanations.
Resolve DNS records over DNS-over-HTTPS.
Perform reverse DNS/PTR lookups.
Check an IPv4 address against common DNS blocklists.
Inspect a public host’s TLS certificate, chain, protocol, cipher, and fingerprint.
Discover your public IP, edge location, ASN, reverse DNS, and datacenter/VPN hints.
Provides public IP detection, edge location, and network information via Cloudflare's trace endpoint, and DNS lookups through Cloudflare's DNS-over-HTTPS resolver.
Provides DNS lookups, reverse DNS, and blocklist checks using Google's DNS-over-HTTPS resolver.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@netip-mcp what runs on port 3389 and should it be exposed?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
netip-mcp
The whatismynetip.com toolbox as tools your coding agent can call. Subnet math, "what runs on this port and should it be open", MAC vendor lookups, DNS and blocklist checks, the certificate a host actually serves, and the IP the internet sees you as.
Free, MIT, no account, no telemetry. The site's own tools run in your browser; this runs the same logic next to your agent.
Install
Pin the version.
Claude Code
claude mcp add netip -- npx -y github:getlarkwright/netip-mcp#v0.1.1Claude Desktop, Cursor, or any client with a JSON config
{
"mcpServers": {
"netip": {
"command": "npx",
"args": ["-y", "github:getlarkwright/netip-mcp#v0.1.1"]
}
}
}Docker
{
"mcpServers": {
"netip": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/getlarkwright/netip-mcp:0.1.1"]
}
}
}Node 18 or newer for the npx route. Also in the official MCP registry as io.github.getlarkwright/netip-mcp.
Related MCP server: Pingo
Tools
Tool | What it answers | Network |
| Network, mask, wildcard, broadcast, host range and counts for a CIDR — IPv4 and IPv6, /31 and /32 done right | none |
| Is this address inside that block? | none |
| IPv4 as dotted, integer, hex, binary — from any of them | none |
| Expanded and RFC 5952 compressed forms, and what kind of address it is | none |
| Vendor from the full IEEE registry (~40,000 assignments, bundled), plus the multicast and locally-administered bits | none |
| What runs on a port, and whether to expose it — 100 ports written up by hand, searchable by service | none |
| A, AAAA, MX, TXT, NS, CNAME, CAA, SOA, PTR, SRV over DNS-over-HTTPS | DoH |
| PTR for an IPv4 or IPv6 address | DoH |
| Five common blocklists, honest about the ones that refuse public resolvers | DoH |
| The certificate a host actually serves: expiry, SANs, chain verification, protocol, cipher | direct TLS |
| The address the internet sees, edge location, ASN, reverse DNS, datacenter/VPN hint | Cloudflare trace + Team Cymru DNS |
lookup_port
The one I reach for most. The port pages on the site are opinionated — every port carries a verdict:
Port 3389/tcp+udp — RDP (Remote Desktop Protocol)
Category remote access
Software Windows Remote Desktop Services, xrdp, FreeRDP server, Windows Admin Center hosts
Exposure NEVER — do not expose to the internet
Internet-facing RDP is the most common initial-access route for ransomware crews, who
credential-stuff it around the clock; put it behind WireGuard, Tailscale or an RD Gateway …Ask by number, or search: lookup_port with query: "redis" finds 6379. detail: true adds the full
write-up and FAQ.
What it does not do
No account, no signup, no key.
No telemetry. Nothing about your usage goes anywhere.
Nothing of yours is read from disk. The only file it opens is its own bundled OUI table.
The local tools never open a socket. The network tools talk only to public services — Cloudflare and Google's DNS-over-HTTPS resolvers, Cloudflare's trace endpoint, Team Cymru's ASN DNS, and whichever host you point
tls_inspectat.tls_inspectrefuses anything that resolves to private or reserved space, so it cannot be turned on your own network."Is my port reachable from outside?" needs a machine outside your NAT to try the connection. That is what whatismynetip.com/port-checker does; a local tool cannot.
The port data and the calculators are the same ones the site uses, so the two stay in step.
Licence
MIT © Larkwright LLC. Written by James Son — network, security, and automation engineer. Corrections and additions to the port write-ups are welcome.
Available Tools
11 toolsdnsbl_checkA
Check an IPv4 address against five common spam/abuse blocklists (Spamhaus ZEN, SpamCop, SORBS, Barracuda, s5h). Honest about lists that refuse public-resolver queries — those come back n/a, never a false 'clean'.
Inputs: ip (required).
dns_lookupA
Resolve a DNS name over DNS-over-HTTPS. Record types: A, AAAA, MX, TXT, NS, CNAME, CAA, SOA, PTR, SRV. Returns every answer with its TTL, and says why when there is none (NXDOMAIN vs no record of that type).
Inputs: name (required), type.
ip_convertA
Convert an IPv4 address between dotted decimal, unsigned 32-bit integer, hex and dotted binary. Accepts any of the four as input.
Inputs: value (required).
ip_in_subnetA
Check whether an IP address falls inside a CIDR block, and show that block's first-to-last range. IPv4 and IPv6.
Inputs: ip (required), cidr (required).
ipv6_normalizeA
Show the fully expanded form and the correct RFC 5952 compressed form of an IPv6 address, plus what kind of address it is (global, ULA, link-local, loopback, documentation…).
Inputs: address (required).
lookup_portA
What runs on a port and whether it is safe to expose. Covers the 100 ports whatismynetip.com documents by hand: service, protocols, category, common software, an exposure verdict (never / caution / normal) with the reasoning, and related ports. Give a port number, or a query like 'redis' or 'wireguard' to search by service. detail:true adds the full explainer and FAQ.
Inputs: port, query, detail.
mac_lookupA
Identify the vendor behind a MAC address from the full IEEE MA-L registry (about 40,000 assignments, bundled — no network), and decode the multicast and locally-administered bits. Explains randomised/privacy MACs.
Inputs: mac (required).
my_public_ipA
The public IP address the internet sees this machine as, with the edge location that saw it, reverse DNS, the network's ASN and organisation, and a datacenter/VPN hint. Needs an outside observer, so this one talks to Cloudflare's trace endpoint and Team Cymru's ASN DNS.
Inputs: no named parameters.
reverse_dnsA
PTR lookup for an IPv4 or IPv6 address — what name the address maps back to, if any.
Inputs: ip (required).
subnet_calcA
Work out a subnet from a CIDR or an address plus dotted mask: network, netmask, wildcard, broadcast, usable host range and counts. IPv4 and IPv6. Handles /31 point-to-point and /32 host routes correctly.
Inputs: cidr (required).
tls_inspectA
Connect to a public host and report the TLS certificate it actually serves: subject, issuer, validity window and days left, SANs, protocol and cipher, whether the chain verifies, and the SHA-256 fingerprint. Any port (default 443). Accepts a URL. Refuses hosts that resolve to private or reserved addresses.
Inputs: host (required), port.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Every tool targets a distinct networking task: reverse DNS, public IP discovery, subnet math, membership testing, format conversion, MAC lookup, port information, DNS resolution, blocklist checks, and TLS inspection. The only mild adjacency is reverse_dns and dns_lookup's PTR support, but their stated inputs and purposes remain clearly separate.
Most names use an object_action snake_case style like ip_convert, mac_lookup, and tls_inspect, but lookup_port reverses that pattern, and my_public_ip, reverse_dns, and ip_in_subnet are noun phrases. The style is readable and consistent in casing, but the verb placement and phrase structure are not uniform.
Eleven tools is a well-scoped size for a network/IP utility server. Each tool contributes a meaningful, non-redundant capability, and the set does not feel padded or overwhelming.
The toolset covers IPv4/IPv6 conversion, subnetting, DNS and reverse DNS, blocklist checks, MAC vendor identification, port lookup, TLS cert inspection, and public IP details. The main minor gap is arbitrary-address ownership/ASN or WHOIS lookup, but the existing workflows are coherent and do not leave core IP tasks stranded.
Maintenance
Related MCP Connectors
Free, no-API-key network lookups for AI agents — IP geolocation, DNS, WHOIS, HTTP and SSL/TLS certificate checks, and full domain health reports.
IP intelligence, network diagnostics, and AI service availability tools for AI agents.
DNS, WHOIS, IP geolocation and SSL checks as agent tools.
Open-source IP address and CIDR tools for network calculations and public IP lookup.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform real network diagnostics on the local machine, including ping, traceroute, DNS lookups, TLS checks, and more.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to debug local networks in plain language by pinging, sweeping subnets, tracing routes, resolving DNS, scanning ports, inspecting ARP tables and active connections, and checking URL reachability.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to run privacy-first network diagnostics (egress IP, proxies, DNS, port checks, security-header audits), handle authentication primitives like TOTP and disposable inboxes, and use developer utilities such as URL-to-markdown reading, webhook inspection, hashing, file/paste sharing, and read-only EVM RPC calls. All tools are free, require no API keys, and operate under a zero-log policy with automatic expiry.163MIT

com.ferntool/ipofficial
AlicenseNot gradedqualityDmaintenanceEnables AI assistants and agents to retrieve public IP details, geolocate and validate IPv4/IPv6 addresses, detect Tor/VPN/datacenter flags, batch lookups, and perform WHOIS, DNS, reverse DNS, and subnet calculations without an API key.MIT