Network Info analyzes IP networks and CIDR blocks, returning subnet details like range, broadcast address, and host count. Use via MCP in Cursor or Windsurf, or call GET /v1/ip/network with a network parameter. For example, "192.168.1.0/24" returns the full /24 subnet breakdown. Essential for network planning and IP address management in infrastructure tools.
curl "https://tinyfn.io/v1/ip/network" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/ip/network', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/ip/network',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's ip address tools:
{
"mcpServers": {
"tinyfn-ip": {
"url": "https://tinyfn.io/mcp/ip",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Returns network range, broadcast address, subnet mask, host count, and network class for any valid CIDR notation or IP network.
Ask your AI agent to "analyze the network 10.0.0.0/16" and it will use the Network Info tool to return all subnet details including usable IP range.
Accepts CIDR notation (192.168.1.0/24), IP with subnet mask (10.0.0.0 255.255.0.0), or just an IP address which defaults to its natural class boundary.
Yes, supports both IPv4 and IPv6 CIDR blocks, returning appropriate network boundaries and prefix information for both protocols.
Network address is the first IP in the subnet (all host bits 0), broadcast address is the last IP (all host bits 1). Usable IPs fall between these two.
Get your free API key and start using Network Info in seconds.
Get Free API Key