Analyze video mood and pace, then recommend license-safe BGM with a mix spec.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Video-native MCP server for license-safe BGM. Watches the footage — not the script — and returns a shortlist, a 12–20s hook, and an ffmpeg ducking spec.
Package / CLI: sonicmatch-mcp. A Model Context Protocol server for Claude Desktop, Cursor, and other MCP clients. Drop an Instagram Reel, YouTube Short, or TikTok-style clip. Get royalty-free / Creative Commons matches with the license printed on every row.
Video-to-BGM already exists. The wedge is not “I also match music”:
Catalog quality will kill or save this. More tools will not.
Do not treat this as “script in → YouTube Music search out.” That already exists (mcp-bgm-recommender). Sonicmatch watches the video.
| You own | You do not own |
|---|---|
| Local file / public URL ingest | Platform music licenses |
| Mood, energy curve, speech vs silence, scene cuts | Meta/TikTok “trending audio” graph |
| CC / royalty-free catalogs + optional paid adapters | Spotify / IG official libraries |
| Ranked tracks, preview URLs, mix spec, ffmpeg | Auto-publish to Instagram |
North star: ingest_video → analyze_video_music → recommend_bgm → preview_mix → export_mix_spec
examples/user_library.example.json). Do not scrape those sites.I dropped
./clip.mp4. Analyze it for an Instagram Reel and recommend 5 instrumental BGMs. Then mix the top pick with ducking and give me the ffmpeg command.
That prompt is the product. Install below, wire Claude Desktop or Cursor, paste it.
Requires Python 3.10+ and ffmpeg / ffprobe on PATH. yt-dlp is optional and off by default (SONICMATCH_ALLOW_YTDLP=0) because platform extractors break and may violate ToS. Prefer a local file.
With uv, no clone:
From a clone (editable + tests):
v0.2 works offline-ish with a 20-track seed catalog aimed at Reel editors (cafe, product, talking-head, travel, food, fashion, event). Gemini, Jamendo, and Freesound are optional and degrade with a note in the tool response. Seed rows have no hosted audio on purpose — preview_mix synthesizes a demo bed. For real ads, point SONICMATCH_LIBRARY_PATH / EPIDEMIC_LIBRARY_PATH / ARTLIST_LIBRARY_PATH at JSON you already licensed.
Not on PyPI yet. Install from git.
GEMINI_API_KEY is set; otherwise local ffmpeg / audio heuristics (optional Whisper, PySceneDetect, librosa).asset_id.suggest_cuts snaps scene cuts to a BPM grid and returns EDL-ish intro / peak / outro.brand_kit=… into recommend_bgm.analyze_batch (max 20) clusters mood and returns one shared mini-playlist.| Tool | What it does |
|---|---|
status | ffmpeg / keys / seed count / day-1 risk gates |
ingest_video | Local path or HTTPS URL → asset_id (never video bytes). Platform URLs need SONICMATCH_ALLOW_YTDLP=1 |
analyze_video_music | Mood, energy curve, speech, scenes, hook window, BPM, search queries |
recommend_bgm | 3–7 ranked tracks + why + license + hook in/out |
search_music | Free-text / BPM / mood over seed + optional catalogs |
get_track | One track’s metadata, license, attribution, URLs |
preview_mix | Hook trim, loop, optional ducking → preview files + ffmpeg + mix spec |
export_mix_spec | Mix spec + ffmpeg + attribution (no render unless render=true) |
suggest_cuts | Beat grid, snapped scene cuts, EDL, intro / peak / outro |
generate_bed | Demo bed marked source=generated. Requires i_understand_not_commercially_cleared=true |
save_brand_kit | Persist BPM / moods / no-vocals for recommend_bgm(brand_kit=…) |
analyze_batch | Up to 20 clips → mood cluster + shared mini-playlist |
Also ships a prompt template: “Score this video like an IG music sticker.”
speech_coverage > 0.25cuts at 0.8s average, 112 BPM, warm gold hour)claude_desktop_config.json — after a clone + pip install -e .:
After pip install git+https://github.com/js713-lab/sonic-match-mcp.git, command can be sonicmatch-mcp if that binary is on PATH.
.cursor/mcp.json (project) or ~/.cursor/mcp.json. From git, no clone:
From a clone: "command": "uv", "args": ["--directory", "/absolute/path/to/sonic-match-mcp", "run", "sonicmatch-mcp"]. After pip install, "command": "python3", "args": ["-m", "sonicmatch"] works if that interpreter has the package.
Copy-paste configs: examples/claude_desktop.mcp.json, examples/cursor.mcp.json. User-owned Epidemic/Artlist JSON shape: examples/user_library.example.json. Registry metadata: server.json.
HTTP editors can point at http://127.0.0.1:8765/mcp after sonicmatch-mcp --http.
--http has no authentication. Keep it on loopback. The Docker image binds 0.0.0.0 so the container port works — do not publish that port to the internet. See SECURITY.md.
Hard rule: never send raw multi-MB video through the MCP payload. Store locally, pass an asset_id. Loopback, file://, and private IPs are rejected (SSRF).
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sonicmatch)<a href="https://allmcps.com/mcp/sonicmatch"><img src="https://allmcps.com/api/badge/sonicmatch?style=directory" alt="Sonicmatch on AllMCPs" /></a>