API & MCP

Everything a person can do on Audio Loudness Normalizer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://audioloudnessnormalizer.usefulweb.site/api/v1/calculate – run Audio Loudness Normalizer
  • GET https://audioloudnessnormalizer.usefulweb.site/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Audio Loudness Normalizer

Measures integrated loudness (LUFS), true peak (dBTP) and loudness range (LRA) with ffmpeg's EBU R 128 meter, then normalises the file in two passes to a streaming, podcast or broadcast target with a true-peak limit. Shows the measured values before and after, with a player and a download.

Inputs of Audio Loudness Normalizer
FieldTypeDefaultDescription
file (required)file—Audio file. MP3, WAV, FLAC, Ogg/Opus, M4A, AIFF; max 100 MB and 45 minutes.
presetselect (spotify, youtube, apple, podcast-stereo, podcast-mono, ebu, custom)"spotify"Target
targetLufsnumber-16Custom integrated loudness. Only used with "Custom target".
truePeaknumber-1Custom true-peak limit. Only used with "Custom target".
lranumber11Loudness range target. Higher keeps more dynamics. If the source range is larger, ffmpeg compresses it.
formatselect (same, mp3, m4a, ogg, opus, flac, wav)"same"Output format
bitrateselect (32, 48, 64, 96, 128, 160, 192, 224, 256, 320)"192"Bitrate (lossy formats)

Example request

Normalise a test tone to the Spotify target

curl -X POST https://audioloudnessnormalizer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"file":{"filename":"tone.mp3","contentType":"audio/mpeg","contentBase64":"SUQzAwAAAAAANFRJVDIAAAALAAAAVGVzdCB0b25lAFRQRTEAAAALAAAAdXNlZnVsd2ViAAAAAAAAAAAAAAD/4zjAAAAAAAAAAAAASW5mbwAAAA8AAAAJAAADYABVVVVVVVVVVVVVVWpqampqampqampqgICAgICAgICAgICVlZWVlZWVlZWVlaqqqqqqqqqqqqqqwMDAwMDAwMDAwMDV1dXV1dXV1dXV1erq6urq6urq6urq//////////////8AAAAATGF2ZiBsYW1lAAAAAAAAAAAAAAAAJAJgAAAAAAAAA2DhWsr/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/4xjEAAyokqh5SAAAD22/4d3d3v/RESv5d3f5SSwbgLgLgLg3PlAxw/yhz9/R7+j38HAxkAffWBDmgH+Ud39CgQkKRFiBEz//4xjECA3w6qDBlDgA5MkBJoc7/EBhyQNsGAOBS4BzxgokpgaxKNMIQcg9HhsNv/x0ajU4GhL/hIGhKdBq////////////////4xjECw8QpjgB3gAA+GhGAAYBYAxfoGgIGBqDgYSYPhhOi9GJrekZAAshh+g1GCWCYAgOwqAOYCAAJbFkl+rfoA//b7/L5fX/4xjECQqwjo5YCbRi/n3qiICUpOT5DnL9WR4Ms63+X06P/v9H/+//+nJf+t9GXtsQBtdfrcl5/f+V1eIwQL/nESYRBr0i8sr/4xjEGQtIloJYCnZigON9/lP9n9b/T9v37q/9P2//1fRV///5O3qXQOATAhMCmwMhwSPQYQHRBgcjAEgOoWAuAIB4YAGRACL/4xjEJgpYpjQABvxEbLUb6v///jGAGAADfQMAIBwMCwEgEAvAxGjLAx9m1A6uxbA3pD+AwbAgAwDAJACBeAkAoj4ZgQohCDD/4xjENw04pkABVgAAAR/itBmDQVp/WLIJwRwGKJAwM/DsNjcZwDM5yDpBHgAgGAy0hSC/v8A3wDWMsT8L2PP//zMe5udL5uv/4xjEPRaRlozJlWgAL///+brMwdB8Bn//oB8BmiY1//9BMaaJuNf//3IVBd2AA//aqqp/9VVVOdqOJAwVLAwCARKyIBJV/QX/4xjEHQ1AmqR5xggBBn/0FCv8FBn/FBQp/xQYK/oKFHfiSf/9TEFNRTQuMSAoYWxwaGEgMClVVVVVVVVVVVVVVVVVVVVVVVU="},"preset":"spotify","format":"wav"}'

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