audio-analyzer — Claude Code MCP server for audio analysis
Analyze local audio files for tempo, key, dynamics, stereo properties, and song structure. Useful for inspecting a track or comparing two mixes.
Open on GitHubWhat audio-analyzer does
The server returns numerical audio features, including spectral and harmonic data, LUFS loudness, rhythm, and stereo measurements. It can also locate structural changes such as verses or choruses, then compare two tracks in a compact difference table. Start with a broad map of a song and request a closer look at selected sections.
MCP tools include full_analysis, compare, and rhythm_analysis. Written in Rust, the server reads MP3, WAV, FLAC, OGG, and AAC files. Give the agent a full path to a file on your machine; attaching audio to chat does not provide access to that local file. This is a local server over stdio, so it does not run in Claude.ai in a browser or in mobile apps.
What it helps with
- find a recording’s tempo and key
- locate structural sections in a song
- compare loudness and spectral balance between mixes
- check stereo compatibility and phase behavior
- trace audio features across a track
Example prompts for the agent
- Analyze
/Users/me/Music/song.mp3and report its tempo, key, and structure. - Compare
/Users/me/Music/mix_v1.mp3with/Users/me/Music/mix_v2.mp3, focusing on loudness and stereo. - Show how the audio features change during the chorus in
/Users/me/Music/song.mp3.
How to install audio-analyzer
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about audio-analyzer
How do I install audio-analyzer in Claude Code?
On macOS, add the tap with brew tap JuzzyDee/tap, then install the package with brew install audio-analyzer. Connect it using claude mcp add --scope user audio-analyzer -- $(which audio-analyzer-mcp). For a manual setup, download the binary and run claude mcp add --scope user audio-analyzer -- /path/to/mcp-server.
What does audio-analyzer do?
It analyzes audio files and reports features such as tempo, key, dynamics, spectral balance, stereo characteristics, and song structure. It can also compare two tracks.
Do I need to upload a track to chat?
No. Provide the full local path, such as /Users/me/Music/song.mp3. The server reads files from your machine over stdio.