Skip to main content
Glama

mcp-audio-analysis

MCP音乐分析

该存储库包含一个模型上下文提供程序 (MCP) ,它使用 MCP 和librosa对本地、youtube 链接或音频链接中的音频进行音频分析。

与 Claude Desktop 一起使用

安装

通过 Smithery 安装

要通过Smithery自动安装 Claude Desktop 的音乐分析:

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 解决方案

作者

雨果·豪钟

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

MCP 分析本地音频文件。

  1. 与 Claude Desktop 一起使用
    1. 安装
      1. 通过 Smithery 安装
      2. 手动安装
      3. 与 Claude Desktop 一起使用
    2. 示例提示
      1. 待办事项清单
        1. 作者

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A 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
            • Apple
          • A
            security
            A
            license
            A
            quality
            A 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 -
            1
            2
            JavaScript
            MIT License
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            A 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 -
            11
            23
            1
            JavaScript
            MIT License
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            An 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 -
            19
            700
            Python
            MIT License
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/hugohow/mcp-music-analysis'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server