Skip to main content
Glama

ip-mcp

npm mcp license

MCP server: classify, test, and expand IPv4/IPv6 addresses. No external deps — uses Node's built-in net plus first-principles bit math.

Tools

info

{ "address": "10.0.0.1" }

→

{
  "address": "10.0.0.1",
  "version": 4,
  "is_private": true,
  "is_loopback": false,
  "is_link_local": false,
  "is_multicast": false,
  "is_unspecified": false
}

Works for both v4 (RFC 1918) and v6 (ULA fc00::/7, link-local fe80::/10, multicast ff00::/8).

contains

{ "cidr": "192.168.1.0/24", "address": "192.168.1.99" }

→ { "contains": true }

Works for both v4 and v6 CIDR blocks. Mismatched versions throw.

expand

{ "address": "2001:db8::1" }

→ { "expanded": "2001:0db8:0000:0000:0000:0000:0000:0001" }

Related MCP server: NetworkCalc MCP Server

Configure

{ "mcpServers": { "ip": { "command": "npx", "args": ["-y", "@mukundakatta/ip-mcp"] } } }

License

MIT.

Available Tools

3 tools
containsB

Check whether an IP address is inside a CIDR block (e.g. 10.0.0.0/8).

Inputs: cidr (required), address (required).

expandA

Expand a compact IPv6 address to its full eight-group form.

Inputs: address (required).

infoA

Classify an IPv4 or IPv6 address: version + private/loopback/link-local/multicast/unspecified flags.

Inputs: address (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a completely distinct purpose: contains checks IP in CIDR, expand expands IPv6, info classifies address properties. No overlap.

    Naming Consistency5/5

    All tool names are single, lowercase verbs (contains, expand, info), following a consistent pattern.

    Tool Count5/5

    Three tools is perfectly scoped for a focused IP utility server, covering essential operations without bloat.

    Completeness4/5

    Covers containment, expansion, and classification. Missing validation or subnet calculation, but core functionality is present and gaps are minor.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables comprehensive IP address intelligence and geolocation lookups through IPInfo's API. Provides 25+ tools for IP geolocation, ASN information, privacy detection, WHOIS lookups, and network analysis with strongly-typed responses.
      23
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides network utility tools including DNS lookup, WHOIS lookup, SPF record inspection, SSL/TLS certificate checking, and subnet/CIDR analysis powered by networkcalc.com services.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides accurate IPv4 subnet and address tools for LLMs using Python's ipaddress library. Includes CIDR parsing, overlap detection, IP classification, and more.
      11
      GPL 3.0