Sonicmatch
Lets your AI agent analyze a video's mood and pace and suggest license-safe background music with a mix plan.
152 stars on GitHubby js713-labLicense MITUpdated last month
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Download the .mcpb file and open it with Claude Desktop.
Download the .mcpb file βWhat to fill in
| Name | What it is | Required |
|---|---|---|
GEMINI_API_KEY | Optional. Gemini video understanding for analyze_video_music. | No |
JAMENDO_CLIENT_ID | Optional. Jamendo catalog search. | No |
FREESOUND_API_KEY | Optional. Freesound beds and loops. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Analyze ./clip.mp4 for an Instagram Reel and recommend 5 instrumental tracks.
Mix the top pick with ducking and give me the ffmpeg command.
What it is
Sonicmatch watches your video footage, not just the script, and works out mood, pace, speech and scene cuts. It then returns a short list of royalty-free or Creative Commons tracks with the license shown on every row, a 12 to 20 second hook window and an ffmpeg mix plan with ducking under speech.
What it can do
ingest_video: load a local file or HTTPS URLanalyze_video_music: mood, energy, speech, scenes and BPMrecommend_bgm: 3 to 7 ranked tracks with licensesearch_music: search by text, BPM or moodpreview_mix: trim, loop and duck a previewexport_mix_spec: mix spec, ffmpeg command and attributionsuggest_cuts: snap scene cuts to a beat gridanalyze_batch: find one shared mood for up to 20 clips
When to use
- βΊWhen you edit a Reel or Short and need background music that fits
- βΊWhen you need to know the license and attribution for a track
- βΊWhen you want an ffmpeg command that lowers the music under speech
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
audio-designTeaches your agent game audio mixing: buses, decibel volume, ducking under dialogue, adaptive music and sound effect variation.hyperframes-mediaCreates voiceovers, background music, sound effects, transcripts, captions, and cutouts for HyperFrames videos using one audio tool.seedance-audioHelps your agent plan the sound of a Seedance 2.0 video, including dialogue, lip-sync, music, sound effects and background ambience.Frequently asked questions
Is it free and open source?
The code is MIT. Each track has its own license, which is printed on every recommendation.
Does it need API keys?
No. It works with a seed catalog of about 20 tracks. Gemini, Jamendo and Freesound keys are optional.
Can I use any track in ads?
Not automatically. CC-BY needs attribution and non-commercial tracks are never auto recommended. For ads, use your own licensed library JSON.
Does it use official Instagram or TikTok music?
No. The readme says it does not provide official stickers or trending audio.
Can it download videos from social sites?
Only if you turn on SONICMATCH_ALLOW_YTDLP=1. It is off by default because it may break or violate terms of service.
Does it send video bytes to the AI?
No. You get an asset_id instead of raw video.
If it does not work
- βΊInstall ffmpeg and ffprobe and make sure they are on your PATH.
- βΊInstall from git until the first PyPI release, using uvx with the git URL.
- βΊIf you use the HTTP mode, keep it on loopback because it has no authentication.
5 new skills a week. 1 minute to read.