API & MCP

Everything a person can do on Slow Web Resource Budget, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Slow Web Resource Budget

Compare a resource list or HAR in sequential and shared-link modes with explicit throughput assumptions, cache effects and a baseline waterfall.

Inputs of Slow Web Resource Budget
FieldTypeDefaultDescription
bandwidthnumber5Bandwidth (Mbit/s)
rttnumber100Round-trip latency (ms)
lossnumber0Packet loss (%)
modeselect (sequential, shared)"sequential"Transfer model
connectionsnumber6Concurrent resources in shared-link mode
resourcestable[{"name":"index.html","host":"example.test","bytes":25000,"cached":false},{"nameResources

Example request

Try an example

curl -X POST https://signalhouseresourcebudget.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{}'

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-resource-budget": { "type": "http", "url": "https://signalhouseresourcebudget.usefulweb.app/mcp" }
  }
}