Audio MCP
v0.4.0Audio perception for AI agents: measure, see, compare, edit and synthesize sound locally.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
audio_info
Fast metadata without decoding: format, sample rate, channels, duration. Files read through FFmpeg (M4A/AAC, WMA, MP4/MOV/WebM/MKV video) report decoded_via="ffmpeg", the container as format and the codec as subtype; without FFmpeg they fail with install instructions. If `path` is a directory, lists the audio files inside it (recursively).
| Parameter | Type | Description |
|---|---|---|
path * | string |
audio_analyze
Measure an audio file (or the start..end section): peak/true-peak/RMS/LUFS loudness, clipping, DC offset, a loudness sparkline over time, silence and noise floor, stereo correlation/width/balance, spectral balance (band energy, brightness, tonal vs noisy, strongest frequencies as notes), pitch, onsets/tempo, start/end clicks and loop-seam quality. Ends with `issues`: plain-language problems ranked by severity. Set pitch/rhythm to false to run faster.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
end | ||
pitch | boolean | |
rhythm | boolean | |
start |
audio_timeline
How the sound changes over time: per-segment RMS, peak and brightness, plus a loudness sparkline. Streams the file, so it works on recordings of any length; use it to find where to zoom in.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
end | ||
segments | integer | |
start |
audio_view
Render a picture of the sound. kind: 'both' (waveform above spectrogram), 'waveform' or 'spectrogram'. Spectrogram: time left to right, frequency bottom to top, brighter = louder. Horizontal lines are pitched tones/harmonics, vertical stripes are clicks/transients, diffuse haze is noise. Red dashed lines on the waveform mark 0 dBFS (clipping). Zoom with start/end; pitch_overlay draws the detected f0 in cyan. save_to optionally also writes the PNG to disk.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
end | ||
freq_scale | string | |
kind | string | |
max_freq | ||
pitch_overlay | boolean | |
save_to | ||
start |
audio_melody
Transcribe a monophonic line (voice, whistle, solo instrument, synth lead, SFX pitch) into notes with start times, durations, note names and cents deviation, plus a compact text form. Narrow fmin/fmax to the expected range for better accuracy (e.g. bass 40-400, voice 80-1000).
| Parameter | Type | Description |
|---|---|---|
path * | string | |
end | ||
fmax | number | |
fmin | number | |
start |
audio_events
Split the audio into distinct sound events (hits, notes, words/syllables, SFX layers) and describe each: start/end, level, attack, tonal vs noisy, brightness, pitch and pitch glide. `as_text` gives one line per event, e.g. "0.52-0.81s | -14dB | tonal | bright | A5 glide -12st | sharp attack". Also reports spacing regularity and the sequence of pitches. The threshold adapts to the background level; set threshold_db (dBFS) to override. split_on_onsets=false keeps continuous sounds (e.g. a sentence) as one event.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
end | ||
split_on_onsets | boolean | |
start | ||
threshold_db |
audio_transcribe
Speech to text (Whisper, runs locally). Returns the text, timed segments, per-word timings with confidence, detected language, speaking rate, long pauses and `uncertain_words` (likely mis-hearings). model: tiny/base/small/medium/large-v3/turbo (bigger = more accurate, slower; first use downloads it). language: ISO code like "en" to skip detection. initial_prompt: names or jargon to help spelling. Use start/end to transcribe part of a long recording.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
end | ||
initial_prompt | ||
language | ||
model | string | |
start | ||
word_timestamps | boolean |
audio_batch_survey
Analyze a folder (recursive; filter with a glob `pattern` like "*.wav" or "footstep*") or a list of files, and report how consistent they are: loudness outliers, mixed sample rates/channels/formats, inconsistent leading silence, files with problems. Includes `suggested_fixes` with ready-to-use operations for audio_batch_process, and a per-file table.
| Parameter | Type | Description |
|---|---|---|
target * | ||
pattern | string |
audio_batch_process
Apply one operations chain (same format as audio_process) to every file in a folder or list, writing results with the same relative names into output_dir. Refuses to write into the input folder unless overwrite=true. Example: normalize a set of sound effects to the same loudness: [{"op":"trim_silence"}, {"op":"normalize_lufs","lufs":-18,"limit":true}]. subtype: sample format for every output, e.g. PCM_16, PCM_24, FLOAT, or PCM_U8 for 8-bit WAV (retro or low-memory targets: combine with to_mono and resample). Checked before any file is written.
| Parameter | Type | Description |
|---|---|---|
operations * | array | |
output_dir * | string | |
target * | ||
overwrite | boolean | |
pattern | string | |
subtype |
audio_compare
A/B two files: plain-language summary, metric deltas (loudness, peak, brightness, tempo, pitch), per-band level changes, spectral-shape similarity, issues fixed or introduced, and a null test (aligns and subtracts) that tells whether B is identical, gain-changed, lightly or heavily changed. Use after audio_process to verify an edit did what you intended and nothing else.
| Parameter | Type | Description |
|---|---|---|
path_a * | string | |
path_b * | string |
audio_process
Apply operations in order and write a NEW file (default: <name>_processed.<ext> next to the input; the input is never modified unless output==path and overwrite=true; M4A/video inputs default to WAV output). Each operation is an object, e.g. [{"op":"highpass","hz":80}, {"op":"normalize_lufs","lufs":-16}, {"op":"fade_out","seconds":0.5}]. Ops: gain(db) normalize_peak(db=-1, true_peak=false) normalize_rms(db=-20) normalize_lufs(lufs=-16, ceiling_db=-1, limit=false, measure=integrated|momentary_max) trim_silence(threshold_db=-60, pad_ms=10) denoise(reduction_db=12, sensitivity…
| Parameter | Type | Description |
|---|---|---|
operations * | array | |
path * | string | |
output | ||
overwrite | boolean | |
subtype |
audio_synthesize
Generate audio from a declarative spec: tones, sweeps, chords, noise bursts, simple melodies and layered sound effects (band-limited oscillators, ADSR envelopes, vibrato, tremolo, filters, panning). Example laser zap: {"layers":[{"wave":"square","freq":1800,"freq_end":200,"duration":0.25, "envelope":{"attack":0.002,"release":0.1},"lowpass":6000}]}. Example melody: {"layers":[{"wave":"triangle","sequence":[["C4",0.25],["E4",0.25],["G4",0.5]]}]}. Full schema: spec = { "sample_rate": 44100, "duration": <seconds, default: end of last layer>, "normalize_peak_db": -1 (null to skip), "layers": [{…
| Parameter | Type | Description |
|---|---|---|
output * | string | |
spec * | object | |
overwrite | boolean |
audio_check_delivery
Check a file against a delivery spec and get a verdict (pass / pass with warnings / fail), one entry per criterion (required, measured, status, note), and `fix`: an ordered audio_process operations list that was simulated on this file (`fix.verified`), plus `cannot_fix` for problems no processing can solve (clipping, a noise floor too high to remove without damaging speech, wrong length). Specs: apple_podcasts, spotify, youtube, ebu_r128, atsc_a85, acx_audiobook, game_sfx (spec="list" describes them). Each result cites its sources and the date they were checked. After a…
| Parameter | Type | Description |
|---|---|---|
path * | string | |
spec * | string | |
end | ||
start |
audio_check_game_project
Audit the audio of a Godot 4 project (the folder with project.godot): inventory of every .wav/.ogg/.mp3 with a category (ui, sfx, voice, music, ambience, inferred from folder/file names; override with `categories`, e.g. {"audio/stingers": "music", "*/click_*": "ui"}), import settings from the .import files (music/ambience that doesn't loop, SFX/UI that do, clicky loop seams, never-imported files), loudness consistency per category (one-shots by LUFS momentary max, music/ambience by integrated LUFS; outliers, median, spread), per-file problems (clipping, leading silence, cli…
| Parameter | Type | Description |
|---|---|---|
project_dir * | string | |
categories | ||
max_files | integer | |
max_seconds | number |