API & MCP

Everything a person can do on Loudness Meter (LUFS, True Peak, LRA), a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://tracklayerloudnessmeter.usefulweb.app/api/v1/calculate – run Loudness Meter (LUFS, True Peak, LRA)
  • GET https://tracklayerloudnessmeter.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.

Loudness Meter (LUFS, True Peak, LRA)

Measures an audio file like a broadcast loudness meter: integrated loudness (LUFS) with gating after ITU-R BS.1770-4, maximum momentary and short-term loudness, loudness range (LRA), 4× oversampled true peak per channel and the sample peak. Pick a delivery target to see how many dB to raise or lower the mix without pushing the true peak over the limit. The same meter runs on the master bus and in the export dialog of the Tracklayer app; the Audio Loudness Normalizer can then apply the change.

Inputs of Loudness Meter (LUFS, True Peak, LRA)
FieldTypeDefaultDescription
file (required)file—Audio file. WAV is read directly; MP3, FLAC, Ogg, M4A and AIFF are decoded with ffmpeg. Mono or stereo, up to 10 minutes. Files are not kept.
targetselect (none, ebu, streaming, apple, podcast)"streaming"Compare with a delivery target

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