The MCP Music Analysis server provides audio analysis capabilities using librosa to process audio files from local paths, URLs, or YouTube links.
Main features:
- Load Audio: Load audio files or specific segments with optional offset and duration
- Download: Download audio from direct URLs or YouTube links
- Analysis Functions:
- Get total duration of audio files
- Estimate tempo (BPM)
- Compute Chroma Constant-Q Transform (CQT) for chromatic content
- Compute Mel-Frequency Cepstral Coefficients (MFCC) for spectral content
- Compute beat track for rhythmic content analysis
MCP Music Analysis
This repository contains a Model Context Provider (MCP) that uses MCP and librosa for audio analysis on audio in local, youtube link, or audio link.
Usage with Claude Desktop
Installation
Installing via Smithery
To install Music Analysis for Claude Desktop automatically via Smithery:
Manual Installation
Usage with Claude Desktop
Locate Configuration File
The configuration file location depends on your operating system:
- macOS:
- Windows:
- Linux:
Add the following to your claude_desktop_config.json
:
Example Prompts
Here are some sample prompts you might use in a conversational or chat-based context once the server is running. The MCP will understand these requests and execute the relevant tools:
To-Do List
- Add URL to audio file download
- Add YouTube to audio file transformation
- Experiment with multiple Python environments (testing)
- Improve installation guide
- Integrate Whisper for lyrics
- Implement a Docker solution
Author
Hugo How-Choong
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
MCP to analyse local audio file.
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol (MCP) server that provides access to the Beatport Developer API, allowing Claude to interact with music data from Beatport's electronic music catalog.Last updated -Python
- AsecurityAlicenseAqualityA MCP server that enables transcription of audio files using OpenAI's Speech-to-Text API, with support for multiple languages and file saving options.Last updated -12JavaScriptMIT License
- AsecurityAlicenseAqualityA powerful MCP tool for parsing and manipulating MIDI files that allows users to read, analyze, and modify MIDI files through natural language commands, supporting operations like reading file information, modifying tracks, adding notes, and setting tempo.Last updated -11231JavaScriptMIT License
ElevenLabs MCP Serverofficial
AsecurityAlicenseAqualityAn official Model Context Protocol (MCP) server that enables AI clients to interact with ElevenLabs' Text to Speech and audio processing APIs, allowing for speech generation, voice cloning, audio transcription, and other audio-related tasks.Last updated -19700PythonMIT License