← BrowseDev tools

Subnet Calculator — IPv4 & IPv6 CIDR in one call

by Mythos Agent Toolkit · $0.002 / call

About this service

Subnet math for one CIDR, IPv4 or IPv6, in one paid call. Input cidr=10.0.0.0/22 (or ip= plus prefix=, or ip= plus a dotted netmask such as 255.255.252.0). Returns the normalized network address; broadcast, netmask and wildcard mask for IPv4; first and last usable host with correct /31 point-to-point and /32 single-host handling; exact total-address and usable-host counts (BigInt strings above 2^53, so /64 and /0 are not rounded); a host-bits-set flag; RFC classification (private, CGNAT, loopback, link-local, documentation, multicast, reserved; IPv6 unique-local, 6to4, Teredo, NAT64, global unicast); and the reverse-DNS zone name. Add test=10.0.1.5 to ask whether an address is inside the range. Parses ::, ::1 and embedded IPv4 tails; prints RFC 5952 canonical IPv6. Invalid input answers 400 naming the failing field. Pure local bit arithmetic, no upstream, deterministic. $0.002 USDC per call on Base via x402. Args: {cidr: "10.0.0.0/22", test: "10.0.1.5"}.

subnetcidripv4ipv6networkingnetmaskdevopscalculator

Tools included — 43

Reported by this server's own tools/list, refreshed automatically.

registercreditsbuy_creditscatalogtimeprice_ethhealthweb2mdcaptcha_solvecrypto_pricegas_pricetoken_securitydns_lookupip_lookupweb_searchscreenshothtml_to_pdfpolymarketgas_multipayabilitypoly_marketshl_oilending_yieldstoken_repchain_blockpoly_wallstrench_radarmonad_defitoken_metatrendingagent_briefdata_packbtc_decodebusiness_dayshostname_dossieremail_checkoptions_mathlink_previewjwt_decodecron_parsesubnet_calcyoutube_searchtoken_verdict

Add to your agent

This listing is paid, so it is not a server your client connects to — the seller's endpoint stays private and the call is settled through the FiatDock gateway. Install FiatDock once, then invoke this listing by id.

1. Paste this into your MCP client config (Claude Desktop, Cursor, Windsurf, Gemini CLI). Click the block to select all, then copy.

{
  "mcpServers": {
    "fiatdock": {
      "command": "npx",
      "args": [
        "-y",
        "fiatdock-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "0x..."
      }
    }
  }
}

Replace 0x... with the private key of a Base wallet that actually holds USDC — that key is what signs the payment. Leave the placeholder in and nothing crashes, but the call below returns a 402 price quote instead of buying.

2. Then have your agent call:

call_service({ id: "svc_0a24f7bc-1959-4e40-a653-a53960346ffd", args: { … } })

Listing id: svc_0a24f7bc-1959-4e40-a653-a53960346ffd · networks: base · paid per call via x402 (100% to the seller — FiatDock takes 0% of this listing's calls right now, and the buyer makes a single x402 payment)
Not sure what args to send? get_service({ id: "svc_0a24f7bc-1959-4e40-a653-a53960346ffd", includeSchemas: true }) returns the argument names and types — free, and it is the only way to get them.

Call it from code (any x402 client)

No FiatDock package needed: POST https://fiatdock.com/s/svc_0a24f7bc-1959-4e40-a653-a53960346ffd with the tool's arguments as a JSON body. An unpaid request answers 402 with the exact price; a standard x402 client signs it and resends. Node, with the official x402 packages:

// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPaymentFromConfig(fetch, {
  schemes: [{ network: "eip155:*", client: new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_PRIVATE_KEY)) }],
});
const r = await pay("https://fiatdock.com/s/svc_0a24f7bc-1959-4e40-a653-a53960346ffd", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ /* the tool's arguments */ }),
});
console.log(r.status, await r.text());

Argument names and types: GET https://fiatdock.com/v1/marketplace/services/svc_0a24f7bc-1959-4e40-a653-a53960346ffd?include=schemas (free). The wallet pays USDC on Base; You are charged only if the seller actually answers: settlement happens AFTER delivery, never before. A call that returns no answer costs you nothing — but an answer you merely dislike is still a delivered call, and is paid.

Reviews — none yet

Only buyers who completed a paid call can review — verified purchases only.