API & MCP

Everything a person can do on Officeloft Mesh Call Bandwidth, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://officeloftmeshbandwidth.usefulweb.app/api/v1/calculate – run Officeloft Mesh Call Bandwidth
  • GET https://officeloftmeshbandwidth.usefulweb.app/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Officeloft Mesh Call Bandwidth

In a peer-to-peer (mesh) call every person sends their audio and video separately to every other person, so the upload grows with each new person. Enter the number of people, the video quality and your line speeds: the planner shows upload, download and connections per person, compares it with a call through a media server, and works out the video bitrate that still fits — the same rule Officeloft uses in its rooms.

Inputs of Officeloft Mesh Call Bandwidth
FieldTypeDefaultDescription
participantsinteger4People in the call
qualityselect (audio, low, standard, high)"standard"Video quality
camerasinteger—Cameras on (empty = everybody). People who send video. The others only send audio.
screenSharebooleanfalseSomeone shares their screen. A screen share adds about 1200 kbit/s per receiver.
uplinkMbpsnumber—Your upload speed (Mbit/s). From a speed test. Empty = just show the need.
downlinkMbpsnumber—Your download speed (Mbit/s)
headroomnumber0.75Share of the line the call may use. Leave room for other traffic: 0.75 = use at most three quarters.

Example request

Four people, standard video, 10/50 Mbit/s line

curl -X POST https://officeloftmeshbandwidth.usefulweb.app/api/v1/calculate -H 'content-type: application/json' -d '{"participants":4,"quality":"standard","uplinkMbps":10,"downlinkMbps":50}'

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://officeloftmeshbandwidth.usefulweb.app/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: officeloft_mesh_bandwidth
  • Local stdio connector: node src/mcp-stdio.ts --tool=officeloft-mesh-bandwidth
{
  "mcpServers": {
    "officeloft-mesh-bandwidth": { "type": "http", "url": "https://officeloftmeshbandwidth.usefulweb.app/mcp" }
  }
}