@audiolabtools/mcp-server
Summary: It is an MCP server that lets AI clients run hosted AudioLab audio analyses on public URLs or local files, covering loudness, spectra, voice, signal indexing, profiles, target/QC checks, comparisons, batches, and usage.
Measure loudness and dynamics: integrated LUFS (EBU R128 / BS.1770-4), true peak, LRA, crest factor, stereo correlation, mono compatibility, and tonal balance.
Check audio against delivery targets (Spotify, Apple Music, YouTube, podcast, EBU broadcast, etc.) or a custom LUFS/true-peak target, with pass/fail and per-metric deltas.
Return short-term loudness over time plus downsampled waveform peaks for charts and meters.
Return FFT spectrum magnitude data and 7-band energies.
Run voice QA: speech/silence ratio, speaking-rate label, SNR, noise floor, pause energy, sibilance risk, and clipping severity.
List voiced speech segments with start/end timestamps and per-segment RMS for trimming or chapters.
Index any signal: content-type guess with confidence, tags, clipping/silence regions, brightness and dynamics buckets, and dominant band.
Analyze against named profiles: basic, voice, master, provenance, dataset, environment, broadcast, and loop; optionally include series/per-block/per-phrase data.
A/B compare two sources by running loudness analysis on both.
Batch up to 20 sources through one analysis route, returning per-item ok/data/error.
README also documents usage lookup and rule-based QC verdicts against specs or custom limits.
Accept either a public HTTPS URL or a local file path; local files up to 4 MB are sent inline, larger files up to 150 MB upload via signed URL. Measurement happens on the hosted AudioLab API, not offline.
Allows checking audio loudness and delivery specifications for Amazon Music, ensuring compliance with platform requirements.
Allows checking audio loudness and delivery specifications for Apple Music, ensuring compliance with platform requirements.
Allows checking audio loudness and delivery specifications for Spotify, ensuring compliance with platform requirements.
Allows checking audio loudness and delivery specifications for Tidal, ensuring compliance with platform requirements.
Allows checking audio loudness and delivery specifications for YouTube, ensuring compliance with platform requirements.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@audiolabtools/mcp-server
MCP (Model Context Protocol) server that gives any MCP-capable AI (Claude Desktop, Claude Code, Cursor, and others) twelve audio-analysis tools, backed by the hosted AudioLab API. It is a thin HTTP client: no local audio engine, no ffmpeg, nothing to compile. It can measure a public URL or a local file on your machine, but the measuring always happens on the hosted API: the file is read here and uploaded there (see Privacy).
Install
Point your MCP client at the package via npx (nothing to install globally). No account
needed for a first score:
{
"mcpServers": {
"audiolab": {
"command": "npx",
"args": ["-y", "@audiolabtools/mcp-server"]
}
}
}Without a key you are on the keyless trial: 20 calls a month and 3 a minute per IP address, for single analyses of a URL or a local file up to 4 MB. Batches and larger files need a key. A free key gives 1,000 calls and 2 GB a month, no card: sign in at https://audiolab.tools/account, generate one, and add it:
"env": { "AUDIOLAB_API_KEY": "al_live_yourkey" }Related MCP server: Audio Analysis MCP Server
Requirements
Node ≥ 18: uses the built-in global
fetch+AbortSignal.timeout.Optionally an
AUDIOLAB_API_KEY(see Install). No ffmpeg, no native dependencies.
Tools
Every tool takes one audio source: a public url or a local path:
{ url: "https://…" }: a public https URL the API fetches server-side.{ path: "./mix.wav" }: a file on the machine running this server. Files up to 4 MB are sent inline; larger files (up to 150 MB) upload over a signed URL, are analysed, and are swept from storage within the hour. (Localpathworks only in this stdio server, not the remote/mcpendpoint.)
Tool | Returns |
| Integrated LUFS (EBU R128 / BS.1770-4), true-peak (dBTP), LRA, crest factor, stereo correlation, mono compatibility, tonal balance |
| Pass/fail vs a delivery target ( |
| Short-term LUFS over time + downsampled waveform peaks ( |
| FFT magnitude data + 7-band energies |
| Voice QA: speech/silence ratio, speaking rate, SNR, noise floor, pause energy, sibilance & clipping risk |
| Voiced regions with start/end + per-segment RMS (auto-trim, chapters) |
| Content-type guess, tags, clipping/silence regions, brightness & dynamics buckets. Add |
| One named question, |
| A/B on two sources ( |
| One route over up to 20 sources in a single call ( |
| Where your key stands this month: plan, period, calls and data used against the limits, requests per minute ( |
| One verdict (pass, warn or fail) against a |
Options
Each option says what it is and what it is for, how you use and read it, and what it is not.
Every option, with the lenses it changes: https://audiolab.tools/docs/options
Option | What it is, what it is for | How to use and read it | What it is not |
| Adds one key, measureStatus, to the answer: for each field that matches a lens, its status (validated, proxy, beta, withdrawn or planned), its method and the lens it belongs to; for a validated lens also its basis; and its margin when the field matches exactly one lens with a margin. A field that matches several lenses gets the weakest status and the list of those lenses. With it you know, per number, whether you may state it, only compare it, or should not use it. | REST: add "measureStatus": true to the JSON body, or ?measureStatus=true with a raw upload. MCP: on by default; measureStatus: false leaves it out. Read it per field: validated, state the number and stay inside its margin; proxy, use it to compare two recordings, not as a fact; beta, not shown to be right yet; withdrawn, do not read it as what its name says. MCP default: true (since MCP server 0.5.3). | Not a guarantee for your recording: a margin holds under the conditions named on the lens. A field that matches no lens gets no entry. It does not remove a withdrawn field: that stays in the answer so that nothing breaks. |
| Rounds the numbers to what they are worth: dB, dBFS, dBTP, LUFS, LU and dB/s to 2 decimals, seconds to 3, milliseconds to 1, Hz to 1, shares and ratios to 3, other numbers to 7 significant digits, and numbers in an array to 6 significant digits. Whole numbers stay as they are. On analyze/profile the lenses are rounded, not the other keys. The keys and types stay the same. | REST: "round": true. MCP: on by default; round: false gives full precision. Combine it with measureStatus: the margin of a lens says how many of the remaining digits mean something. MCP default: true (since MCP server 0.5.3). | It makes nothing more accurate: the measurement is the same, only the digits are fewer. Only mixlab/analyze, voicelab/qa, signallab and analyze/profile are rounded (and signallab/index in a batch); the other routes keep full precision. |
| Puts the curves and arrays back in the answer: on mixlab/analyze the short-term loudness, the waveform and the spectrum; on voicelab/qa the level envelope, the voiced mask, the segments and the signal-to-noise per segment; on signallab the regions and the energy and centroid envelopes; on analyze/profile every lens that is a curve, a matrix, or a value per block or per segment, among them the octave bands of the room profile. | REST and MCP: series: true; off by default, and then the answer says series: false where the arrays were. In analyze_batch it applies to every item. MCP default: false. | Not needed to answer a question, and it can make the answer many times larger. It is not the audio. |
| Chooses the detector that finds the speech. It decides speechRatio, speechSec, silenceSec, longSilences, the segments, the voiced mask and the measures that read the pauses or the speech, such as the speech level and the signal-to-noise ratio (k2 corrects that ratio below 16 dB). k2 lets a phrase run on into its soft word starts and endings, by at most 100 ms per side. | REST and MCP: "speechDetector": "k2". Leave it out to get the default: v1 until 15 January 2027, then k2. /v1/qc is the one exception: it measures the voice with k2 unless you send "v1", so its verdict matches the QC view in the browser. The keys are the same with both; a pause measure is null when no pause is left. MCP default: the API default. | It finds when someone speaks, not who (no speaker separation) and not what (no transcription). Most of the lenses it decides are proxies; the signal-to-noise ratio is validated. |
| Chooses the model that gives the content type (voice, music, mixed, noise, silence or unknown) and its confidence. v2 is a small learned model over 25 simple features per 10-second window, much better on speech and music in our tests. | REST and MCP: "contentModel": "v2". Leave it out to get the default: v1 until 15 January 2027, then v2. With v2 the evidence list contains model:v2, so you can see which model answered. MCP default: the API default. | A classifier, not a measurement. v2 met its bar for speech and music, not for steady noise (street traffic and the metro mostly read unknown), so the content type stays a proxy. |
| Chooses the spectrum calculation. v2 corrects three errors found in a test against an independent calculation of the same definitions (MARGES-5): the spectral roll-off no longer counts the DC bin (v1 reads it low), and in the analysis grid of analyze/profile the flatness divides by the bins it uses and a level under -120 dB reads -120 (that reaches the level, peak, crest and noise floor of each block, and the headroom). The grid values per block come with series. | REST and MCP: "spectrumCalc": "v2". Leave it out to get the default: v1 until 15 February 2027, then v2. The keys and types are the same with both. MCP default: the API default. | Not a different spectrum: a few values change a little. It changes nothing in loudness or true peak. |
| Adds bandLimit: whether the audio was upsampled, as upsampled yes, no or cannot-say, with its status, its reason in plain words and its basis. | REST: "bandLimit": true on signallab. MCP: bandLimit: true on index_signal, or on analyze_batch with endpoint signallab/index. yes rests on a validated rule (the band stops under 5 kHz in a file of 16 kHz or more); no and the bandwidth ratio are proxies. In the provenance and dataset profiles of analyze/profile the verdict is always there, without this option. MCP default: false. | cannot-say means: look at the file, not that it is fine. telephonyOrigin, a validated rule on the same bandwidth, says a file probably passed through an 8 kHz telephone channel; it does not name a codec. |
| Adds liveEvents: the file read as a stream, 20 ms at a time, by the same live monitor as /live and the npm package @audiolabtools/live, with every dropout, clipping, level drop, dead air and hum event it raised, with its times and its reason. | REST and MCP: "liveEvents": true on analyze/profile, with any profile. Every event has status signals: say "a signal", never "detected". MCP default: false. | Not a diagnosis: none of these detectors has been validated on live streams yet. A dropout or clipping event uses its own rule and can differ from chain.dropoutCount and signal.clipping in the same answer; the event says why. |
| Tells the room profile how the recording was made: one clap, one balloon pop, an impulse response, or the engine's sweep as the room returned it. The room profile measures how long the room rings and whether there is a flutter echo; the values per octave band come with series. | REST and MCP: "profile": "room" with "roomSource" on analyze/profile. The room profile needs a paid plan. MCP default: the API default. | It cannot measure reverberation from speech or music: it needs one of the four sources. An earlier room-echo score was withdrawn because it was not a reverb measure. |
Example asks to your AI:
“Analyze the loudness of https://example.com/track.wav” →
analyze_loudnesswithurl“Is this take usable?” →
analyze_profilewithprofile:"voice"“Has this file been re-encoded, and is it all one source?” →
analyze_profilewithprofile:"provenance"“Which of these recordings were upsampled?” →
analyze_batchwithendpoint:"signallab/index"andbandLimit:true“Run loudness on ./master.wav” →
analyze_loudnesswithpath“Does ./mix.mp3 pass Spotify?” →
check_targetwithpath+target:"spotify"
Configuration (env)
Var | Default | Purpose |
| – (optional) | Your API key. Without it: the keyless trial (20 calls a month per IP, no batches, files up to 4 MB). |
|
| Override the API base (must be |
|
| Per-request timeout in milliseconds (long files and batches stream server-side and can legitimately take minutes). |
Privacy
Analysis happens on the AudioLab API, so the audio does reach audiolab.tools: a url
is fetched server-side, and a local path is read here and uploaded to the API (small
files in the request body; larger files via a private one-shot signed upload into EU
storage). The API returns numbers only and does not keep your audio: a direct request
is decoded and discarded inside the request, and a signed upload is swept from storage
within the hour (see https://audiolab.tools/privacy). This package has no telemetry and
writes nothing to disk. There is no offline mode, and the engine is not published as an
installable package. If audio must never leave the machine, don't use a hosted analyser;
the in-browser labs on the website measure on-device, but they are for people, not for
agents.
Limits
Local files: up to 150 MB (host bigger ones at a public URL).
Duration: loudness routes (
analyze_loudness,check_target,analyze_timeseries,get_spectrum) handle long files (podcast episodes, full sets, up to ~3 h) via server-side streaming; voice/signal routes are limited to ~7 minutes.One file per call (agents loop for many); one-shot (no streaming/realtime).
Rate and monthly limits are enforced by the API, per key (per IP address on the keyless trial).
Smoke test
node hosted-server.mjs --selftest # verifies the 12 tools + guards; no networkLicense
MIT © Nathan Renting
Available Tools
10 toolsanalyze_batchBatch: one analysis route over many filesA
Run one analysis route over up to 20 audio sources in a single call. Returns per-item ok/data/error; each item is metered as one call. Routes: mixlab/analyze (default), mixlab/check-target, mixlab/timeseries, mixlab/spectrum, voicelab/qa, voicelab/segments, signallab/index. Use for folder QA, library indexing, or checking a whole release against a loudness target. Sources: public https urls and/or local file paths.
Inputs: tp, lufs, urls, paths, +2 more.
analyze_loudnessAnalyze loudness (MixLab)B
Loudness and dynamics for a track: integrated LUFS (EBU R128 / BS.1770-4), true-peak (dBTP), loudness range (LRA), crest factor, stereo correlation, mono compatibility, and tonal balance. Audio source: a public https URL, or a local file path (path).
Inputs: url, path.
analyze_profileAnalyse against a profileA
Measure a file against a named working set of lenses and get back only what that question needs. Profiles: voice (is this take usable, and which phrase is the problem), master (will this translate to real platforms and speakers), provenance (what has been done to this file, and is it all one source), dataset (which of these files are good enough, and why not the rest), environment (what is in this space, and what kind of noise is it), broadcast (does this file meet the delivery spec), loop (is this loop clean, on the grid, and safe to drop in a DAW). basic is the free tier; the other seven need a paid plan. Results are keyed by stable lens id. Only the analysis passes the profile needs are run. Set series:true to also get the curves, the per-block lanes and the per-phrase values,a much larger payload, so leave it off unless you are going to read them. Audio source: a public https URL, or a local file path (path).
Inputs: profile (required), url, path, series.
analyze_timeseriesLoudness over time (for graphing / visualization)B
Short-term LUFS samples over time (EBU R128, ~3s window) with their time-base, plus downsampled waveform peaks. Arrays suitable for loudness-over-time charts, level meters, and waveform UIs. Audio source: a public https URL, or a local file path (path).
Inputs: url, path, waveformPoints.
analyze_voiceAnalyze voice quality (VoiceLab)A
Speech-quality QA for a voice recording: speech/silence ratio, speaking-rate label, signal-to-noise, noise floor, pause energy, sibilance risk, clipping severity. Gates a voice take. Audio source: a public https URL, or a local file path (path).
Inputs: url, path.
check_targetCheck audio against a loudness target (Spotify, EBU, etc.)A
Verify whether audio hits a delivery target (Spotify -14 LUFS / EBU broadcast -23 / podcast -16 / etc.). Returns pass/fail with per-metric deltas and a concrete ffmpeg loudnorm command to fix if failing. Presets: spotify, apple-music, youtube, tidal, amazon-music, podcast, ebu-broadcast, atsc-broadcast; or target="custom" with lufs+tp. Audio source: a public https URL, or a local file path (path).
Inputs: target (required), tp, url, lufs, +1 more.
compare_loudnessCompare two tracks (A/B)A
Run loudness analysis on TWO sources and return both results for an A/B comparison: master vs reference, before vs after a fix, two encoders, two cuts. Audio source: a public https URL, or a local file path (path).
Inputs: urlA, urlB, pathA, pathB.
get_spectrumFFT spectrum dataA
Frequency-domain magnitude data (paired frequency/magnitude arrays) plus energies in 7 standard bands (sub/bass/lowMid/mid/highMid/presence/air). There is no dominant-band field in the response. For spectrum-analyzer UIs and tonal-balance analysis. Audio source: a public https URL, or a local file path (path).
Inputs: url, path.
get_speech_segmentsSpeech segments (VoiceLab)A
List voiced speech regions with start/end timestamps and per-segment RMS. For auto-trim, chapter generation, and speaker-turn detection. RMS-based voice-activity detection, not speaker diarization. Audio source: a public https URL, or a local file path (path).
Inputs: url, path.
index_signalIndex a signal (SignalLab)A
A metadata index for any audio file: content-type guess (voice/music/mixed/noise/silence) with confidence, brightness & dynamics buckets, dominant band, clipping/silence regions, and tag suggestions. For triage or auto-tagging a library. Audio source: a public https URL, or a local file path (path).
Inputs: url, path.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
TDQS
Scored across 10 tools
Most tools target a distinct analysis lens (loudness, spectrum, voice, segments, index), but analyze_profile is an umbrella that overlaps with analyze_voice, analyze_loudness, and index_signal, and analyze_timeseries sits close to analyze_loudness. Descriptions largely disambiguate by scoping each to a specific output, so confusion is limited to a couple of pairs.
All ten tools follow a consistent snake_case verb_noun pattern (analyze_loudness, check_target, get_spectrum, compare_loudness, index_signal, analyze_batch). No mixed conventions or stylistic outliers.
Ten tools is well within the sweet spot and each earns its place: distinct analysis lenses, a target checker, a comparator, and a batch runner. Nothing feels redundant or thin.
The surface covers the core audio-QA lifecycle: measurement (loudness, spectrum, timeseries), voice QA, indexing, target verification, comparison, and batch runs. Minor gaps like no dedicated silence/clipping-region extractor or format/provenance-specific operation are largely absorbed by analyze_profile and index_signal.
Related MCP Connectors
AI-manageable audio CDN: upload, transcode, normalize, stream & deliver audio, plus grounded docs.
AI transcription API: turn voice memos, meetings and audio URLs into text and SRT subtitles.
Audio and video tools for your AI assistant: remove noise, enhance voices, transcribe, and more.
AI mixing and mastering: analyze your mixes, run DSP autofix, render stems, and master tracks.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables audio file analysis using Google's Gemini multimodal models with support for additional context and system instructions to guide the model's behavior.1-
- FlicenseAqualityDmaintenanceEnables AI models to analyze audio files through numerical fingerprints, pitch tracking, and visual spectrograms without requiring direct audio playback. It provides tools for comparing audio iterations and detecting patterns using token-efficient analysis operations.14-
- FlicenseNot gradedqualityDmaintenanceAnalyzes audio files to extract exact, reproducible measurements like loudness, tempo, key, spectral balance, and clipping for LLM-based DAW control.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to analyze audio files, extracting tempo, key, beat drops, volume surges, high tones, loudness, brightness, and structure, and returning structured JSON and visualizations.2MIT