
Audio Analyzer
io.github.JuzzyDee由 GitHub 帳號 JuzzyDee 發布v1.0.0更新於 Oct 24, 2026
Gives LLMs ears. Spectral, harmonic, rhythm, stereo, and structural audio analysis.
概覽
一個本機 MCP 伺服器,讓助理分析磁碟上的音訊檔案,以精簡文字回傳調性、速度、響度、立體聲、音色與段落資訊。
- 可以做什麼
- 讀取本機音訊檔案(mp3、wav、flac、ogg、aac)的基本資訊,例如長度、取樣率和取樣數。計算頻譜與時域特徵:亮度、豐富度、MFCC 音色、頻段能量、頻譜對比度、動態範圍、LUFS 響度和立體聲場。偵測調性、音級分布和 tonnetz,以及速度、節拍位置和速度穩定度。執行完整分析,將上述內容與打擊樂特性和結構段落邊界合併。並排比較兩首曲目,輸出精簡的差異表。可選擇以低、中、高或自訂解析度回傳時間序列表,呈現特徵隨時間的變化。
- 適用情境
- 適合讓助理描述、診斷或比較本機既有的音樂和其他音訊檔案,例如查看調性與速度、判斷混音響度與立體聲問題,或梳理歌曲段落。適用於音樂製作和音訊審閱,而非播放或編輯。
- 執行需求
- 以本機 stdio 程序在使用者機器上執行,可透過平台專用安裝包用於 Claude Desktop,或以二進位檔用於 Claude Code;從原始碼建置需要 Rust 和 Cargo。需要 Claude Desktop 或 Claude Code,無法在瀏覽器或行動應用程式中使用。未宣告帳號、API 金鑰或環境變數。音訊檔案須以完整本機路徑提供。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Audio Analyzer,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
audio_visualizer_rs
An MCP server that gives Claude the ability to hear music.
Point Claude at any audio file and it can tell you the key, tempo, dynamics, timbre, percussive character, stereo field, structural sections, and how the music evolves over time -- all from raw audio analysis, no images, no guessing, under 1% context window usage.
Compare two tracks side-by-side. Detect where the music changes structurally — intro, verse, chorus, bridge — and zoom into the moments that matter.
What is this?
LLMs can see (vision) and read (text), but they can't hear. This project bridges that gap by running real audio analysis -- the same DSP techniques used in music information retrieval research -- and returning structured numerical data that Claude can reason about.
It's an MCP server that exposes audio analysis as tools Claude can call on demand. Ask Claude to analyze a song and it will decode the audio, run spectral/harmonic/rhythm/percussive analysis, and return the results as compact text. No spectrograms, no images, no wasted tokens.
Full analysis of a 60-second track completes in under 2 seconds (including source separation). Pure Rust. No Python, no FFmpeg, no system dependencies.
Features
- Audio decoding -- mp3, wav, flac, ogg, aac via Symphonia (pure Rust)
- Spectral analysis -- centroid (brightness), bandwidth (richness), rolloff, flatness (tonality)
- Frequency band energy -- RMS energy across 7 standard producer bands (sub-bass through brilliance) for mix diagnosis
- Spectral contrast -- peak vs valley per band in dB, reveals clarity vs muddiness
- Dynamic range -- crest factor, loudness range (95th-5th percentile), peak dBFS
- LUFS loudness -- EBU R128 integrated loudness (ITU-R BS.1770-4 stereo channel summing), true peak (dBTP), loudness range (LRA), streaming platform targets. Validated to 0.0 dB of FabFilter Pro-L 2.
- Stereo field analysis -- phase correlation (mono compatibility), stereo width (mid/side ratio), L/R balance, mono compatibility score. Per-frame time-series to pinpoint where phase issues occur.
- Temporal features -- RMS energy (loudness), zero crossing rate (texture)
- Timbre -- 13 MFCCs (Mel-frequency cepstral coefficients)
- Harmonic analysis -- chromagram, key detection (Krumhansl-Schmuckler algorithm), tonnetz
- Rhythm analysis -- tempo estimation, beat tracking, onset detection, tempo stability
- Percussive character -- harmonic/percussive source separation (HPSS), attack sharpness, onset density
- Section boundary detection -- multi-feature novelty analysis detects structural changes (energy, spectral, harmonic, texture). Enables a summary→zoom workflow: get the map, then dive into interesting moments
- A/B comparison -- analyse two tracks side-by-side, get a compact diff table highlighting differences in loudness, dynamics, spectral balance, stereo field, key, and tempo
- Time-series data -- track how every feature evolves over time at selectable resolution
- Token-efficient -- downsampled output calibrated to fit comfortably in the context window
See it in action
Watch a fresh Claude analyse four tracks in one session — an original piano/brass composition, Bohemian Rhapsody's full structure mapped with section boundaries, an A/B mix comparison with production advice, and a thunderstorm field recording where it triages music metrics as "meaningless" vs "physically real." All four analyses fit in a single context window.
Installation
Claude Desktop — one-click install
Download the .mcpb bundle for your platform from GitHub Releases and open it. Claude Desktop will handle the rest — no config files, no terminal, no setup.
Claude Code — Homebrew (macOS)
Claude Code — manual (all platforms)
Download the mcp-server binary for your platform from GitHub Releases, then:
Build from source
Restart Claude Desktop. The audio analysis tools will be available in your conversations.
Note: This is a local MCP server using stdio transport, so it requires Claude Code or Claude Desktop. It does not work with claude.ai in the browser or mobile apps.
Usage
Important: This tool analyses files on your local machine. Give Claude the full file path (e.g., /Users/you/Music/song.mp3) -- don't try to upload or attach files to the chat. Claude will read the file directly from disk.
CLI (standalone)
MCP tools
Once configured, Claude can call these tools directly:
Example: full_analysis output
Here's what full_analysis returns for a 60-second jazz trio track:
When you add resolution: "medium", the output also includes a time-series table showing how every feature changes over the track's duration -- letting Claude see the intro build, the dynamic solo section, and the quiet outro.
Time-series resolution
All analysis tools accept an optional resolution parameter that controls time-series output:
You can also pass a numeric string (e.g., "20") for custom rates.
Without resolution, tools return summary statistics only (averages across the whole track). With it, you get a compact TSV table showing how features evolve over time -- centroid, RMS, dynamic range, chroma, onset strength, percussive ratio, band energy, spectral contrast, and more, all aligned to the same time axis.
The presets are calibrated for token efficiency. A 3-minute track at "medium" resolution produces roughly 180 rows of data -- enough to track musical structure without blowing up the context window.
Architecture
Two binaries share the same analysis library:
cli(src/main.rs) -- runs all analyses and prints resultsmcp-server(src/mcp_server.rs) -- exposes tools over stdio JSON-RPC via rmcp
Key dependencies: symphonia (audio decoding), rustfft (FFT), rmcp (MCP SDK).
Changelog
See CHANGELOG.md for version history.
License
MIT License. See LICENSE for details.
來源:README.md,提交 0387fe1
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分