Who it is forA content producer making a series of related clips, such as a product or cafe campaign, who wants the same sound across all of them.
The problemChoosing a separate track for each clip makes a series sound inconsistent and takes a lot of manual comparison.
The outcomeA mood cluster for the batch and one shared mini-playlist that fits the whole series.
What you need first
- Python 3.10 or newer
- ffmpeg and ffprobe on PATH
- An MCP client such as Cursor (Claude Desktop is also described in the README)
- A local video file or a public URL to the clip
- Optional: GEMINI_API_KEY, JAMENDO_CLIENT_ID, FREESOUND_API_KEY for extra analysis and catalogs
Steps
- Install the server with
pip install git+https://github.com/js713-lab/sonic-match-mcp.git. - Start it with
sonicmatch-mcp, or run the HTTP mode withsonicmatch-mcp --http --port 8765for a web editor. - Gather up to 20 clip paths or URLs for the series.
- Ask the agent to call analyze_batch on those clips and return the mood cluster and shared mini-playlist.
Prompt for your agent
Using the sonicmatch MCP server from js713-lab/sonic-match-mcp, run analyze_batch on these clips: <list of up to 20 clip paths>. Return the mood cluster and the shared mini-playlist. Verify that the batch contains no more than 20 clips and that each playlist track lists its license.
Caveat. analyze_batch accepts at most 20 clips per call, so larger campaigns need to be split into several batches.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for js713-lab/sonic-match-mcp and "Pick one shared playlist for a batch of clips"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer