ip-mcp
by MukundaKatta
README.md
# ip-mcp
[](https://www.npmjs.com/package/@mukundakatta/ip-mcp)
[](https://modelcontextprotocol.io)
[](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`
```json
{ "address": "10.0.0.1" }
```
→
```json
{
"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`
```json
{ "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`
```json
{ "address": "2001:db8::1" }
```
→ `{ "expanded": "2001:0db8:0000:0000:0000:0000:0000:0001" }`
## Configure
```json
{ "mcpServers": { "ip": { "command": "npx", "args": ["-y", "@mukundakatta/ip-mcp"] } } }
```
## License
MIT.
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.
Maintenance
ActivityInactive
ResponsivenessNo issues