
StemLab — timing and loops for Shorts
Local music analysis for stems, beats, lyrics and loopable sections for YouTube Shorts
- Pricing
- Open source
- Platforms
- CLI
- Runs
- Locally
- Version
- 1.14.3
- Listing updated
- 3 days ago
About StemLab — timing and loops for Shorts
StemLab — timing and loops for Shorts is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
StemLab works on audio you keep in a local workspace folder, set with STEMLAB_CODEX_WORKSPACE, and does not send files elsewhere. Its README describes analysis of stems, tempo and beats, harmony, lyrics and MIDI, plus finding sections that loop cleanly for Shorts. It is part of the author's DanceFlow tools.
A lot of the documentation concerns lyric timing. Export of canonical LRC files rejects missing anchors and implausibly long phrases, a batch route holds back export when a section fails rather than interpolating lines, and optional passes use local Whisper weights and CTC letter alignment to compare word boundaries. Everything exported stays a draft until the artist confirms by listening, and recognition scores are described as not proof of sung-word accuracy.
Beat finding is marked experimental: tempo estimates keep their original value alongside a refined sub-frame estimate, and are reported as review diagnostics rather than calibrated confidence. The code is MIT licensed; the sample music and artwork are not.
Install
Run in a terminal
claude mcp add stemlab --env STEMLAB_CODEX_WORKSPACE='<STEMLAB_CODEX_WORKSPACE>' -- uvx danceflow-stemlabAdd to claude_desktop_config.json
{
"mcpServers": {
"stemlab": {
"command": "uvx",
"args": [
"danceflow-stemlab"
],
"env": {
"STEMLAB_CODEX_WORKSPACE": "<STEMLAB_CODEX_WORKSPACE>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"stemlab": {
"command": "uvx",
"args": [
"danceflow-stemlab"
],
"env": {
"STEMLAB_CODEX_WORKSPACE": "<STEMLAB_CODEX_WORKSPACE>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"stemlab": {
"type": "stdio",
"command": "uvx",
"args": [
"danceflow-stemlab"
],
"env": {
"STEMLAB_CODEX_WORKSPACE": "<STEMLAB_CODEX_WORKSPACE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"stemlab": {
"command": "uvx",
"args": [
"danceflow-stemlab"
],
"env": {
"STEMLAB_CODEX_WORKSPACE": "<STEMLAB_CODEX_WORKSPACE>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"stemlab": {
"command": "uvx",
"args": [
"danceflow-stemlab"
],
"env": {
"STEMLAB_CODEX_WORKSPACE": "<STEMLAB_CODEX_WORKSPACE>"
}
}
}
}Configuration
STEMLAB_CODEX_WORKSPACEAbsolute, existing local directory containing authorised audio and results. Never use a filesystem root.Required
What it does
- Local-only workspace
- Works inside one directory of audio you authorise and never uses a filesystem root.
- Lyric timing gates
- LRC export rejects missing anchors and compressed line clusters.
- Boundary comparison
- Compares onset and release observations and flags disagreement between decodes.
- Beat and tempo evidence
- Reports predicted beats, observed onsets and tempo families separately.
- Display-timing drafts
- `lyric-display` proposes when lyric lines appear and clear.
- Draft status
- Exports remain drafts until the artist confirms by listening.
Good for
- Align lyrics to a recorded song and review disputed words
- Estimate tempo and beat positions for a track
- Find loopable sections for short-form video
- Separate vocal parts for line timing
- Compare drafted lyric display timing against an authored LRC
Pricing
Open source
MIT licensed code
Prices change. Check kieransimkin.co.uk before you buy.
StemLab — timing and loops for Shorts FAQ
Where does the processing happen?
Locally; the server reads a workspace directory you set in an environment variable.
What license is it under?
MIT for the code. The bundled music and artwork are not licensed under it.
Are lyric exports final?
No, the README calls them drafts until the artist confirms by listening.
How is it installed?
As the `danceflow-stemlab` package from PyPI, over stdio.
Is StemLab — timing and loops for Shorts free?
Yes. StemLab — timing and loops for Shorts is open source, so you can use and self-host it for free.
How do I add StemLab — timing and loops for Shorts to Claude Code?
Run this command in your terminal: claude mcp add stemlab --env STEMLAB_CODEX_WORKSPACE='<STEMLAB_CODEX_WORKSPACE>' -- uvx danceflow-stemlab
What are the best alternatives to StemLab — timing and loops for Shorts?
The closest alternatives to StemLab — timing and loops for Shorts are HyperFrames by HeyGen, ffmpeg-skill, AvatarSay — Fictional Character & Talking Video MCP, ChartAnt and VfxSmith.
Alternatives to StemLab — timing and loops for Shorts

HyperFrames by HeyGen
MCP serverHosted MCP connector for creating and rendering videos from HTML through AI chat
- Remote
- Freemium
- 85.3K GitHub stars
- Design and media

ffmpeg-skill
MCP serverLocal FFmpeg video and audio editing tools for coding agents over MCP
Runs locally- Open source
- 6.9K GitHub stars
- Design and media

Generate fictional character portraits and lip-synced talking videos from text over MCP
- 10 tools
- Remote
- Freemium
- Design and media

ChartAnt
MCP serverRemote MCP server returning charts, maps and dashboards as hosted PNG links
- 51 tools
- Remote
- Freemium
- Design and media

VfxSmith
MCP serverSearch, generate, refine and export pixel art game effects from Claude Code or Codex
Not checked yet- Remote
- Freemium
- Design and media

CalderFlow
MCP serverTurn notes or specs into editable flowcharts, timelines and funnels from an AI assistant
- 10 tools
- Remote
- Free
- Design and media