原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Audio Sonic MCP

作者:ripunjay-kashyap版本 1.2.0i★ –i在你的电脑上运行
注册名称io.github.ripunjay-kashyap/audio-sonic-mcp

安装

概览

作者提供的说明(英文原文)

Local-first audio analysis: BPM, musical key, production profile, and CLAP vibe embeddings.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 设计、图片与音频

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: JOBS_ROOT, KEEP_JOB_FILES

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "audio-sonic": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "JOBS_ROOT",
        "-e",
        "KEEP_JOB_FILES",
        "ghcr.io/ripunjay-kashyap/audio-sonic-mcp:1.2.0"
      ],
      "env": {
        "JOBS_ROOT": "your-value",
        "KEEP_JOB_FILES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add audio-sonic --env JOBS_ROOT=your-value --env KEEP_JOB_FILES=your-value -- docker run -i --rm -e JOBS_ROOT -e KEEP_JOB_FILES ghcr.io/ripunjay-kashyap/audio-sonic-mcp:1.2.0

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "audio-sonic": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "JOBS_ROOT",
        "-e",
        "KEEP_JOB_FILES",
        "ghcr.io/ripunjay-kashyap/audio-sonic-mcp:1.2.0"
      ],
      "env": {
        "JOBS_ROOT": "your-value",
        "KEEP_JOB_FILES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "audio-sonic": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "JOBS_ROOT",
        "-e",
        "KEEP_JOB_FILES",
        "ghcr.io/ripunjay-kashyap/audio-sonic-mcp:1.2.0"
      ],
      "env": {
        "JOBS_ROOT": "your-value",
        "KEEP_JOB_FILES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • JOBS_ROOT env
    Directory for job working files (downloaded audio, WAV, stems). Mount a volume here.
  • KEEP_JOB_FILES env
    Set to 1 to keep audio and stems on disk after a run instead of cleaning up.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 ripunjay-kashyap 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“设计、图片与音频”中的其他服务器比较i

  • 星标数多于此分类中其他 2816 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2816 个服务器的 25% 更新
  • 基础检查结果等于或优于此分类中其他 2816 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Audio Sonic MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.2.0)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

作者:GLips广泛使用↓ 16.1万/周★ 1.6万5个月前更新

在你的电脑上运行

Claude Real Video

Let any LLM watch a video locally — and search everything it has ever watched.

作者:HUANGCHIHHUNGLeo广泛使用↓ 1106/周★ 22842个月前更新

在你的电脑上运行

Figma MCP Server

The Figma MCP server brings Figma design context directly into your AI workflow.

作者:figma广泛使用★ 215213个月前更新

在云端运行✓ mcp.figma.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

🎵 Audio Sonic MCP

Turn any song into a structured "sonic signature" — extracting tempo, musical key, a 512-dimension CLAP vibe embedding, human-readable vibe tags, and a production profile — from a single local call.

Audio Sonic MCP runs entirely on your local machine (requiring no API keys, external servers, or cloud dependencies) and exposes two premium access points to the same underlying high-fidelity audio analysis engine:

Tailored ForCore Interface & Mechanics
🤖 MCP ServerLLMs, AI agents, & IDEs (Claude, Cursor, Windsurf, Cline)Asynchronous, fire-and-forget analysis of YouTube URLs. Avoids blocking client LLMs during heavy audio processing.
🎚️ Local CLIMusicians, sound producers, & audio engineersDeep command-line tool targeting local files for full-song multi-window analysis and high-fidelity output.

🎹 Quick Taste: What You Get

1. Musician-Friendly CLI Summary (--summary mode)
🎵 SONIC SIGNATURE — my_demo.mp3  (3:24)

TEMPO 153.8 BPM (steady) KEY G Major · shifts to G Phrygian @0:30 (confidence 74%) VIBE aggressive · dark · driving · hip-hop · gritty

PRODUCTION Vocals forward Punch 0.62 (moderate) Stereo wide Low end ~55 Hz dominant

Overall confidence: 88% · analyzed in 0:28 (GPU-accelerated)

2. Comprehensive JSON (Returned by MCP and CLI by default)
{

"header": { "job_id": "sig_a3f9b2c1", "status": "success", "confidence_score": 0.88, "source_metadata": { "title": "Acoustic Vibe Demo", "duration_sec": 204, "source_type": "file" } }, "sonic_signature": { "bpm": 153.8, "bpm_engine": "madmom", "bpm_variable": false, "key": "G Major", "key_variable": true, "key_map": [ { "start_sec": 0.0, "end_sec": 30.0, "key": "G Major" }, { "start_sec": 30.0, "end_sec": 90.0, "key": "G Phrygian" } ], "mode_confidence": 0.74, "vibe_vector": [0.012, -0.034, "... 512 float dimensions ..."], "vibe_tags": ["aggressive", "dark", "driving", "hip-hop", "gritty"], "production_profile": { "vocal_presence": "forward", "transient_punch": 0.62, "stereo_width": "wide", "dominant_freq_peaks_hz": { "harmonic": [55.0, 110.2], "percussive": [125.0, 250.1] } } }, "telemetry": { "inference_time_sec": 28.0 } }


⚡ Key Features

  • 🥁 Tempo & Beat Tracking — Full BPM computation with variable-tempo drift detection and transient windowing.
  • 🎹 Key & Harmonic Mapping — Computes structural musical key + mode, generating a detailed key_map tracking section-by-section modulations.
  • 🌈 Vibe & Style Embeddings — Compiles a 512-dimensional CLAP embedding and human-readable style tags (covering energy, texture, mood, and genre) using zero-shot music vocab classification.
  • 🎚️ Production Analytics — Measures vocal spatial presence, transient punch coefficients, stereo width, and dominant frequency peaks.
  • 🤖 MCP-Native System — Fully exposes 4 standardized Model Context Protocol tools for instant integration into AI tools.
  • 🪶 Robust Graceful Degradation — Automatically utilizes a CUDA GPU if present and falls back to CPU; gracefully degrades to HPSS and standard librosa feature arrays if heavy deep learning packages ([clap]) are omitted.
  • 🔒 100% Offline & Private — All conversion, separation, and inference occur locally.

📦 Installation & Setup

System Prerequisites

Ensure you have Python 3.10+ and FFmpeg installed and accessible on your system PATH.

Installing FFmpeg:
  • macOS: brew install ffmpeg
  • Linux (Debian/Ubuntu): sudo apt update && sudo apt install -y ffmpeg
  • Windows: Run winget install Gyan.FFmpeg via PowerShell (Administrator), or download manually from ffmpeg.org and add the bin directory to your system environment variables.

Step-by-Step Installation
  1. Clone the Repository
   git clone https://github.com/ripunjay-kashyap/audio-sonic-mcp.git

cd audio-sonic-mcp

  1. Initialize Virtual Environment
   python -m venv .venv

Activate on macOS/Linux:

source .venv/bin/activate

Activate on Windows (PowerShell):

.venv\Scripts\activate

  1. Install Dependencies Choose between the lightweight core engine or the full high-fidelity ML suite:
  • Option A: Full High-Fidelity ML Suite (Recommended) Includes demixing stems (Demucs) and zero-shot vibe vectors (CLAP). Requires ~4 GB disk space. bash pip install -e ".[clap]"
  • Option B: Core Lightweight Pipeline Uses standard digital signal processing (HPSS/librosa). Rapid install and minimal footprint. bash pip install -e .

[!NOTE]

The optional [clap] stack installs torch, torchaudio, transformers, and demucs. Without these, the server automatically switches to light fallbacks (HPSS instead of Demucs, standard feature matrices instead of CLAP vectors, and leaves out vibe_tags).


🤖 MCP Client Configuration Guide

Audio Sonic MCP registers itself as a standard package script. This enables you to run it using the global executable name (audio-sonic-mcp) directly from your virtual environment's bin folder, or run the script file manually.

1. Claude Desktop Setup

Open your Claude configuration file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add the server to your mcpServers object:

{

"mcpServers": { "audio-sonic-mcp": { "command": "C:\\path\\to\\audio-sonic-mcp\\.venv\\Scripts\\audio-sonic-mcp.exe", "args": [], "env": { "JOBS_ROOT": "C:\\path\\to\\audio-sonic-mcp\\jobs" } } } }

[!IMPORTANT]

Windows Users: Always use double backslashes (\\) in JSON configuration paths. Point the executable directly to the .exe inside your .venv\Scripts\ directory.


2. Cursor IDE Integration

To integrate Audio Sonic MCP into Cursor's AI pane:

  1. Navigate to Settings ➔ Features ➔ MCP.
  2. Click + Add New MCP Server.
  3. Fill in the parameters:
  • Name: audio-sonic-mcp
  • Type: command
  • Command: /path/to/audio-sonic-mcp/.venv/bin/audio-sonic-mcp (use .exe extension on Windows)

3. Windsurf Integration

Open your Windsurf MCP configurations file (typically found at ~/.codeium/windsurf/mcp_config.json) and append the configuration:

{

"mcpServers": { "audio-sonic-mcp": { "command": "/path/to/audio-sonic-mcp/.venv/bin/python", "args": ["/path/to/audio-sonic-mcp/server.py"], "env": { "JOBS_ROOT": "/path/to/audio-sonic-mcp/jobs" } } } }


4. Cline (VS Code Extension) Setup

Open Cline's MCP setting file (usually located at %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json or equivalent platform storage) and add:

{

"mcpServers": { "audio-sonic-mcp": { "command": "/path/to/audio-sonic-mcp/.venv/bin/audio-sonic-mcp", "args": [], "env": { "JOBS_ROOT": "/path/to/audio-sonic-mcp/jobs" } } } }


🤖 Interaction Flow for AI Agents & LLMs

LLMs automatically learn how to use this server by reading its exposed tool definitions. Because audio stem separation and CLAP embeddings are computationally demanding, Audio Sonic MCP uses an Asynchronous Fire-and-Forget Job Pattern.

Automated LLM Workflow
  [User Prompts LLM]

│ ▼

  1. Submit URL ──────────────► [Tool: get_sonic_signature] │ (Returns Job ID instantly) ▼
  2. Notify User ◄───────────── [LLM acknowledges job is queued] │ ├───► 3. Wait 10-15s (Or proceed with other tasks) │ ▼
  3. Check Progress ──────────► [Tool: get_job_status] │ (Checks status: running/success/error) ▼
  4. Present Signature ◄─────── [LLM formats rich output for user]
Natural Prompts to Try
  • *"Check the health of my audio-sonic-mcp server to make sure all ML components are ready."*
  • *"Submit this YouTube track for sonic analysis: https://www.youtube.com/watch?v=XXXXXX."*
  • *"Check the progress of my sonic signature job sig_a1b2c3d4 and summarize the BPM, production width, and vibe once complete."*

🎚️ CLI Usage (Local Files)

For musicians, engineers, and producers working directly in the terminal, you can analyze a full-length local file directly without running any background servers:

# Get a visual, musician-friendly sonic signature digest (recommended)

python analyze_file.py "my_demo.wav" --summary

Print full raw JSON directly to the stdout stream

python analyze_file.py "my_demo.wav"

Dump JSON payload to a file while keeping the stdout clean

python analyze_file.py "my_demo.wav" > signature.json

CLI Command Options Reference
OptionShorthandDescription
path*None*Absolute or relative path to the local audio file (Required).
--summary-sPrint a clean, formatted terminal summary instead of standard JSON.
--no-vector*None*Generate JSON signature but omit the heavy 512-dimension vibe float array.
--out FILE-oOutput the final JSON signature directly to the specified file.
--keep-kDo not delete intermediate WAV files or separated stem files in jobs/.
--job-id ID-jExplicitly define the internal identifier (useful for batch scripts).

Supported File Formats: wav, mp3, flac, ogg, m4a, aac.


🔧 Environment Variables Reference

Configure environment options by declaring these variables in your active terminal session, container environment, or the env block of your MCP configuration file:

VariableDefault ValueDescription / Practical Use
JOBS_ROOT./jobsWorkspace directory where audio files, temporary converted WAVs, and stems are processed.
KEEP_JOB_FILES*Unset*Set to 1 or true to keep separated stem WAVs on disk (adds ~75MB per job, useful for troubleshooting).
FILE_MAX_DURATION_SEC600Safety ceiling for local file processing duration (YouTube downloads are capped at 60 minutes).
FFMPEG_BIN*Unset*Path to folder containing the ffmpeg binary if it is not present in your system PATH.
YTDLP_PROXY*Unset*HTTP/SOCKS proxy string passed directly to yt-dlp to bypass rate limits or network blocks.
TRANSPORT_MODEstdioTransport the server listens on: stdio (default, for local MCP clients), sse (remote MCP over HTTP), or hybrid (MCP SSE and the REST API from app_cloud.py). sse/hybrid need pip install ".[cloud]".
PORT8000Listening port when TRANSPORT_MODE is sse or hybrid. Ignored for stdio.

🐳 Docker / Podman Execution

If you prefer to avoid setting up local Python libraries, running via containers encapsulates FFmpeg, yt-dlp, and the core Python dependencies (CPU-based pipeline):

# Build the container image

doc

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx