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
POST https://signalhousemtucalculator.usefulweb.site/api/v1/calculate– run Signalhouse MTU, Fragmentation & TCP Throughput CalculatorGET https://signalhousemtucalculator.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
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.
| Field | Type | Default | Description |
|---|---|---|---|
linkMtu | integer | 1500 | Link MTU. MTU of the physical link (Ethernet 1500, jumbo frames 9000). |
layers | table | [] | Encapsulations, from the wire inwards |
ipVersion | select (4, 6) | "4" | Inner IP version |
packetSize | integer | — | Packet to send (total length). Optional: an IP packet of this size is checked against the inner MTU and fragmented if needed. |
df | boolean | false | “Don’t Fragment” set (IPv4) |
ipv4HeaderLength | integer | 20 | IPv4 header length |
ipv6ExtensionBytes | integer | 0 | IPv6 extension headers before the Fragment header |
bandwidthMbps | number | — | TCP model: bandwidth. Fill in bandwidth and round-trip time to add the TCP throughput model. |
rttMs | number | — | TCP model: round-trip time |
lossPercent | number | 0 | TCP model: packet loss |
windowBytes | integer | — | TCP model: receive window. Empty: as large as the path needs (with window scaling) or 65,535 bytes (without). |
windowScaling | boolean | true | TCP model: window scaling (RFC 7323) enabled |
transferMB | number | — | 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)
- Streamable HTTP endpoint:
https://signalhousemtucalculator.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
signalhouse_mtu_calculator - Local stdio connector:
node src/mcp-stdio.ts --tool=signalhouse-mtu-calculator
{
"mcpServers": {
"signalhouse-mtu-calculator": { "type": "http", "url": "https://signalhousemtucalculator.usefulweb.site/mcp" }
}
}