](https://mseep.ai/app/hugohow-mcp-music-analysis)
MCP音乐分析
](https://smithery.ai/server/@hugohow/mcp-music-analysis)
此存储库包含 模型上下文提供程序(MCP) 使用MCP和 libros 用于对本地、youtube链接或音频链接中的音频进行音频分析。
使用Claude Desktop
安装
通过Smithery安装
通过以下方式自动安装克劳德桌面音乐分析 史密瑟里:
npx -y @smithery/cli install @hugohow/mcp-music-analysis --client claude手动安装
# Clone repository
git clone git@github.com:hugohow/mcp-music-analysis.git
cd mcp-music-analysis
# Create virtual environment and install
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .使用Claude Desktop
查找配置文件
配置文件的位置取决于您的操作系统:
- macOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json- 视窗:
%APPDATA%\Claude\claude_desktop_config.json- Linux:
~/.config/Claude/claude_desktop_config.json将以下内容添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"music-analysis": {
"command": "uvx",
"args": ["-n", "mcp-music-analysis"]
}
}
}示例提示
以下是服务器运行后,您可能会在会话或基于聊天的上下文中使用的一些示例提示。MCP将理解这些请求并执行相关工具:
Can you analyze the beat of /Users/hugohow-choong/Desktop/sample-6s.mp3?
Could you give me the duration of https://download.samplelib.com/mp3/sample-15s.mp3 ?
Please compute the MFCC for this file: /path/to/another_audio.mp3
What are the spectral centroid values for /path/to/music.wav?
I'd like to know the onset times for https://www.youtube.com/watch?v=8HFiFd9vx1c待办事项列表
- \[x\] 将URL添加到音频文件下载
- \[x\] 将YouTube添加到音频文件转换中
- \[\]尝试多个Python环境(测试)
- \[\]改进安装指南
- \[\]将Whisper整合为歌词
- \[\]实施Docker解决方案
作者
雨果How Choong
