API & MCP

Everything a person can do on Signalhouse MTU, Fragmentation & TCP Throughput Calculator, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Signalhouse MTU, Fragmentation & TCP Throughput Calculator

Stack encapsulations on a link — PPPoE, MPLS, GRE, IP-in-IP, 6in4, DS-Lite, VXLAN, Geneve, WireGuard and IPsec ESP (approximate) — and get the inner MTU, the TCP MSS for IPv4 and IPv6 and the wire efficiency. Send a packet through it to see the exact IPv4 fragments (offsets, lengths, MF flag), what happens with “Don’t Fragment” and why IPv6 routers answer “Packet Too Big”. A TCP model adds the bandwidth-delay product, the window scale you need and the Mathis loss limit. It is the MTU panel of the Signalhouse Network lab.

Inputs of Signalhouse MTU, Fragmentation & TCP Throughput Calculator
FieldTypeDefaultDescription
linkMtuinteger1500Link MTU. MTU of the physical link (Ethernet 1500, jumbo frames 9000).
layerstable[]Encapsulations, from the wire inwards
ipVersionselect (4, 6)"4"Inner IP version
packetSizeinteger—Packet to send (total length). Optional: an IP packet of this size is checked against the inner MTU and fragmented if needed.
dfbooleanfalse“Don’t Fragment” set (IPv4)
ipv4HeaderLengthinteger20IPv4 header length
ipv6ExtensionBytesinteger0IPv6 extension headers before the Fragment header
bandwidthMbpsnumber—TCP model: bandwidth. Fill in bandwidth and round-trip time to add the TCP throughput model.
rttMsnumber—TCP model: round-trip time
lossPercentnumber0TCP model: packet loss
windowBytesinteger—TCP model: receive window. Empty: as large as the path needs (with window scaling) or 65,535 bytes (without).
windowScalingbooleantrueTCP model: window scaling (RFC 7323) enabled
transferMBnumber—TCP model: file size to transfer

Example request

Textbook: a 4000-byte IPv4 datagram over a 1500-byte MTU

curl -X POST https://signalhousemtucalculator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"linkMtu":1500,"packetSize":4000,"df":false}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "signalhouse-mtu-calculator": { "type": "http", "url": "https://signalhousemtucalculator.usefulweb.site/mcp" }
  }
}