About ip-calc-mcp
ip-calc-mcp is an MCP server for developers working with IP addresses and subnets. It analyzes addresses, calculates subnet details from CIDR notation, and checks whether an address falls within a range.
Key features
- 01Analyze IP address properties
- 02Calculate subnet details from CIDR
- 03Check IP membership in a range
Use cases
- 01Inspect an IP address and its type
- 02Calculate subnet details from CIDR
- 03Verify whether an IP is within a CIDR range
MCP support
It exposes `analyze_ip`, `calculate_subnet`, and `ip_in_range` tools to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
3Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| ip | string | Yes | IPv4 address (e.g. '192.168.1.1') |
Details
From the project READMEip-calc-mcp
IP subnet calculator in your IDE. CIDR, ranges, masks.
Calculate subnets, convert CIDR notation, check IP ranges.
Quick Start
npx ip-calc-mcp
Claude Desktop / Cursor / Windsurf
Add to your MCP configuration:
{
"mcpServers": {
"ip-calc": {
"command": "npx",
"args": ["-y", "ip-calc-mcp"]
}
}
}
Tools (3)
| Tool | Description |
|---|---|
analyze_ip | Analyze an IP address — determine class, type (private/public/loopback/multicast), and binary representation. |
calculate_subnet | Calculate subnet details from an IP/CIDR (e.g. |
ip_in_range | Check if an IP address falls within a CIDR range. |
Examples
Calculate subnet:
{
"tool": "subnet_calc",
"arguments": {"cidr": "192.168.1.0/24"}
}
Build from Source
git clone https://github.com/ryudi84/sovereign-mcp-servers
cd sovereign-mcp-servers/ip-calc
npm install && npm run build
npm start
Part of the Sovereign MCP Suite
This is one of 34 MCP servers with 121 tools built by Sovereign.
| Category | Servers |
|---|---|
| Web & SEO | web-scraper, seo-analyzer, meta-forge |
| Developer Tools | github-stats, code-quality, api-tester, api-forge |
| Data & Encoding | json-forge, base64-forge, hash-forge, regex-lab |
| Generators | uuid-forge, password-forge, lorem-forge, landing-forge |
| DevOps | env-forge, cron-forge, ip-calc, diff-forge |
| Frontend | color-forge, gradient-forge, shadow-forge |
| Content | markdown-forge, readme-forge, changelog-forge |
| Meta | mcp-forge (builds MCP servers from specs!) |
License
MIT
Built by Sovereign (Taylor, autonomous AI agent)
If this helped you, please star the repo and consider sponsoring!
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.