Audio Analysis MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Audio Analysis MCP Server compare original.wav and edited.wav to find the RMS and spectral differences"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Audio Analysis MCP Server
An MCP server that gives Claude Code the ability to analyze audio files without ears. Provides numerical fingerprints, visual spectrograms, pitch tracking, and more - all through a single, token-efficient tool.
Overview
This server exposes one tool (audio_analyze) with multiple operations, keeping the MCP schema small and token usage minimal. Visual outputs (spectrograms, waveforms, etc.) are saved to disk and paths returned - Claude can then read the images separately if needed.
Related MCP server: beatlyzer-mcp
Installation
cd ~/projects/audio-analysis-mcp
~/.local/bin/uv syncIf you don't have uv:
curl -LsSf https://astral.sh/uv/install.sh | shConfiguration
Add to your project's .mcp.json:
{
"mcpServers": {
"audio-analysis": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/audio-analysis-mcp",
"python",
"-m",
"audio_analysis_mcp.server"
],
"env": {
"AUDIO_ANALYSIS_OUTPUT_DIR": "./audio-analysis-output"
}
}
}
}Or add to ~/.claude.json to make it available globally.
Operations
Single tool: audio_analyze(path, op, [path2])
Numerical Analysis
Op | Description | Output |
| RMS, peak, spectral stats |
|
| Estimated F1-F4 frequencies |
|
| Compare two files numerically |
|
| Sample-level difference |
|
| Detect transients/attacks |
|
| Fingerprint multiple files |
|
Visual Analysis
Op | Description | Output |
| Mel spectrogram image |
|
| Amplitude over time |
|
| 3D spectral surface |
|
| F0 tracking plot + stats |
|
Output Directory
Images are saved to the directory specified by AUDIO_ANALYSIS_OUTPUT_DIR env var. Defaults to ~/.audio-analysis-mcp if not set.
Claude Code Skill & Slash Command
This project includes a Claude Code skill and slash command for structured audio comparison workflows.
Installing the Skill
Copy the skill to your Claude Code skills directory:
cp -r .claude/skills/analyze-audio-iterations ~/.claude/skills/This enables automatic detection when you're comparing audio files, with structured workflows for:
Running all 7 analysis types in parallel
Building metrics comparison tables
Tracking improvements across versions
Pattern detection (oscillation, trade-offs, plateaus)
Installing the Slash Command
Copy the slash command to your Claude Code commands directory:
cp .claude/commands/analyze-audio.md ~/.claude/commands/Then use it with:
/analyze-audio /path/to/reference.wav /path/to/synthesized.wav [version-context]Quick Install (Both)
cp -r .claude/skills/analyze-audio-iterations ~/.claude/skills/ && \
cp .claude/commands/analyze-audio.md ~/.claude/commands/Dependencies
mcp- Official MCP Python SDKlibrosa- Audio analysismatplotlib- Visualizationsnumpy,scipy- Numerical operations
Available Tools
1 toolaudio_analyzeA
Analyze audio. ops: fingerprint|formants|compare|diff|spectrogram|waveform|waterfall|pitch|onsets|batch
Inputs: path (required), op (required), path2.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The single tool's purpose is clearly defined as audio analysis.
With only one tool, naming consistency is trivially maintained. The name 'audio_analyze' appropriately describes its function.
The server has only one tool for a broad domain (audio analysis), which is too few for the apparent scope. A more modular set of tools (e.g., separate tools for each operation) would be appropriate.
The single tool covers many common audio analysis operations via the 'ops' parameter, but bundling them into one tool makes the surface less intuitive and may miss operations like audio input handling or transcription.
Maintenance
Related MCP Connectors
Audio for your agent: transcribe, speak, translate, summarise, plus sound effects and music.
Audio AI tools: transcription with speakers, stems, noise removal, MIDI, speech, voices and music.
Make full songs with vocals, split stems, transcribe and analyze audio from your AI assistant.
Audio and video tools for your AI assistant: remove noise, enhance voices, transcribe, and more.
Related MCP Servers
- 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
- AlicenseAqualityCmaintenanceProvides local audio analysis tools for LLMs, enabling transcription, conversation dynamics, prosody analysis, and visual inspection without API keys.8MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to analyze and repair audio files by viewing spectrograms, measuring noise, and applying fixes like healing hums or isolating speakers, all with undoable operations and without uploading audio.-