lumiaclip
Supports downloading Kick stream or VOD links via yt-dlp as input for transcription, moment analysis, and clip generation.
Supports downloading Twitch stream or VOD links via yt-dlp as input for transcription, moment analysis, and clip generation.
Supports downloading YouTube video links via yt-dlp as input for transcription, moment analysis, and clip generation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
LumiaClip π¬
Turn long videos into short vertical clips β free, open source, yours.
LumiaClip is a free, open-source alternative to OpusClip. Give it a long video (a file, or a link to YouTube / Twitch / Kick / other streaming sites) and it transcribes it locally with Whisper, finds the best moments, cuts vertical 9:16 clips with burned-in captions, and writes a title, description, SEO tags, and a thumbnail for each clip. No paid APIs, no accounts, nothing uploaded anywhere β everything runs on your own machine.
An AI agent can drive the whole job through the built-in MCP server, or you
can use the interactive lumia CLI yourself β including Lumia Agent, an
in-CLI chat that fixes clips on plain-language instructions.
Original code, original name. LumiaClip reimplements the idea of clipping (transcribe β find moments β cut β caption). It does not use OpusClip code, branding, or assets.
Features (v0.1.0)
Input: local video file by path (drag & drop into the terminal) or social media links (YouTube, Twitch, Kick, other streaming sites) via yt-dlp. Every failure has a fallback and a clear error message.
Platform filter first: TikTok / YouTube Shorts / Instagram Reels / Custom presets; clip lengths follow the platform cap; mixed 30s + 60s output.
Clip length: 30s, 60s, or AUTO (the AI decides how many clips one video yields). Remainder auto-split: a 1:40 video at 30s gives 4Γ30s + 1Γ20s.
AI analysis: local Whisper transcription (faster-whisper,
tinymodel), transcript segment scoring (hook, complete thought, pace, energy), best moments ranked.Output per clip: vertical 9:16 video (720Γ1280), word-timed burned-in captions inside one universal safe zone (middle band: 8% left / 82% right / 14% top / 70% bottom β clear of the right-side buttons and bottom bar on every platform), generated title, description, SEO tags, and two thumbnails (
clip-NN-thumb.jpgmiddle frame,clip-NN-thumb-alt.jpgearly frame). A separate.srtsubtitle file is written per clip. Clips ranked by score.Resume + project folders: an interrupted job resumes from the failed clip instead of starting over (job state is saved to
job-state.jsonin the run folder after every stage and clip). Finished jobs become named project folders (from the clip titles) you can reopen with View last results to change settings and re-export without re-processing.Preview before export: review each staged clip as a LARGE terminal frame preview, as many times as you want, or open it in your system video player with one key β then confirm or reject it before anything is exported. (Honest note: a terminal cannot play smooth video like a GUI. The CLI preview is large still frames plus open-in-player; the v0.2.0 web UI plays the video directly.)
Queue / batch: clip several videos in one run. The queue is always visible, with pending / running / done status per video.
Parallel jobs: set how many clips are built at once to speed up the queue (Settings menu). Warning: more parallel jobs needs a stronger machine (CPU/RAM) and fast internet for link downloads; on a weak machine it is slower, not faster.
Progress with percentage: every job shows a progress bar with a percentage, so you always know how far it is.
Lumia Agent chat in the CLI: ask in plain language β "make the captions bigger", "use the second-best moment for clip 2", "make clip 2 60 seconds", "change the title of clip 1 to ..." β and Lumia Agent applies it.
Saved settings: interface (CLI now, web UI in v0.2.0), default platform, clip mode, language, output folder, max clips (AUTO mode, default 5), and parallel jobs persist between runs (Settings menu).
MCP server (stdio): the core. Tools for download, transcribe, analyse, cut, clip assets, list results, and the full
clip_videopipeline, so any MCP-capable AI agent can run the whole job.Languages: program default English; content in English + Indonesian.
Related MCP server: ShortsFlow
Install
Requirements: Node.js 20+, Python 3.10+, ffmpeg.
git clone https://github.com/21xthSerenade/lumiaclip.git
cd lumiaclip
npm install
npm run build
# Python helpers (transcription + link downloads) in a venv:
python3 -m venv .venv
.venv/bin/pip install yt-dlp faster-whisper
# Make the commands available everywhere:
npm linkWhisper compatibility note: faster-whisper 1.2.x calls
av.open(..., metadata_errors="ignore"), but newer PyAV removed that keyword.python/transcribe.pyships a small compatibility shim that strips the unsupported keyword, so transcription works on any PyAV version.
Quickstart
lumia # interactive menu
lumia clip video.mp4 --platform tiktok --mode auto
lumia clip video.mp4 video2.mp4 --platform shorts --mode 30 --lang id
lumia clip https://www.youtube.com/watch?v=... --platform reels --mode mixedInteractive menu:
1. Clip a video
2. View last results
3. Chat with Lumia Agent (fix clips)
4. Change Language
5. Settings
6. Help
7. Connect AI Agent (MCP)
8. ExitThe clip flow asks for the source (file path or link β several separated by
commas for a queue), the target platform, the clip mode, and the content
language, shows a summary, runs with a progress bar, then lets you preview
and confirm each clip before export. Results land in ./lumiaclip-output/
(or your configured output folder) with a result.json manifest.
What lands in a project folder
<output>/<project-slug-from-clip-titles>/
βββ clip-01.mp4 # staged clip (also in export/ once confirmed)
βββ clip-01.ass # burned-in caption source
βββ clip-01.srt # separate subtitle file, same timings
βββ clip-01-thumb.jpg # thumbnail option 1 (middle frame)
βββ clip-01-thumb-alt.jpg # thumbnail option 2 (early frame)
βββ transcript.json # Whisper word-timed transcript
βββ moments.json # picked moments + scores
βββ job-state.json # resume state (stage + per-clip status)
βββ project.json # project metadata for reopening
βββ result.json # manifest: titles, tags, scores, hook scores
βββ export/ # only the clips you confirmed
βββ clip-01.mp4
βββ clip-01-thumb.jpg
βββ clip-01.srtLumia Agent chat
After a run, pick Chat with Lumia Agent and talk in plain language:
Say | What happens |
| Caption font +8/β8 px (28β64), clips re-rendered |
| Caption style switched, all clips re-rendered |
| Switches to the other thumbnail (no re-render) |
| Clip rebuilt from the next-best moment |
| Clip rebuilt at the new length (10β300s) |
| Title + thumbnail regenerated |
| Thumbnail rebuilt |
| Large frame preview of that clip |
| List clips with score + hook score |
| Confirm (export) all remaining clips |
| List everything the chat understands |
| Leave the chat |
The chat is a local offline intent parser (no LLM, no API keys). For full free-form conversation, connect a real AI agent through the MCP server β that agent is also called Lumia Agent when it runs this stack.
MCP server (for AI agents)
Start it:
lumiaclip-mcpAdd this to your MCP client config (Claude, Cursor, VS Code, ...):
{
"mcpServers": {
"lumiaclip": {
"command": "node",
"args": ["/path/to/lumiaclip/dist/mcp.js"]
}
}
}Or pick Connect AI Agent in the lumia menu β it prints the exact config
for your machine.
Tools: download_video, transcribe_video, analyse_moments,
cut_clips, clip_assets, list_results, clip_video.
Agent with its own VM (e.g. Hoshilily): send the agent the repo URL. The
agent clones it, runs npm install && npm run build, starts the MCP server
with the config above, and it auto-connects. The agent β Lumia Agent β can
then: analyse which parts of a video are good to clip, cut the clips, write
captions, titles, descriptions, SEO tags, and thumbnails.
Platform presets
Platform | Max clip | Lengths | Default (AUTO) |
TikTok | 600s | 30, 60 | 30s |
YouTube Shorts | 180s | 30, 60 | 60s |
Instagram Reels | 540s | 30, 60, 90 | 60s |
Custom | 600s | 30, 60, 90 | 30s |
Troubleshooting / fallbacks
Problem | What LumiaClip does |
Link cannot be downloaded (site blocks yt-dlp) | Clear error + asks for the video file instead |
yt-dlp fails with | Your network intercepts TLS (corporate / VPN / egress proxy). On a normal network the same link works. Workaround: download the file yourself and give LumiaClip the path |
Whisper not installed / transcription fails | Falls back to equal time split, says so in the output |
No strong moments in the transcript | Falls back to equal time split |
File not found / not a video | Clear error + how to fix it (drag & drop the file) |
Clip over the platform cap | Lengths are clamped to the platform preset |
A video fails in a direct-mode queue ( | The queue stops at the first failed input and exits 1. In the interactive menu the queue continues with the next video instead |
Roadmap
v0.2.0 β localhost web UI. Design direction in
docs/DESIGN.md: dark minimal console (reference: "Collaborating Inside the Console" by Jeremy Blaze), AI chat panel left, clip list middle, clip preview/editor right, terminal/log strip bottom; very dark blue-black background (#06070B-ish), white/grey text, teal accent#64BACE. Chat integrated in the console, not a popup.Later: virality scoring, face-tracking reframe, auto-posting.
License
MIT β see LICENSE. Made by 21xthSerenade.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Build, run, schedule, and publish AI video pipelines to YouTube and TikTok from any MCP client.
Clip videos into captioned shorts, add captions, and schedule posts from AI agents.
AI agent for social media: finds videos, cuts captioned clips, posts to TikTok, Instagram, YouTube.
Publish and schedule videos to TikTok, YouTube Shorts, Instagram, Facebook, LinkedIn, Pinterest, Bluesky, Threads and X from Claude, Cursor or any MCP client. Upload once, post everywhere, track views in unified analytics, and retry failed posts. Official platform APIs only, free plan available. Docs: https://docs.multi-upload-tool.com/mcp
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables any MCP-capable IDE agent to research topics, write scripts, synthesize narration, generate scene imagery, and render 1080p landscape masters plus vertical Shorts through FFmpeg with broadcast-grade audio and hard quality gates. Exposes 13 tools over a Cloudflare Remote MCP endpoint that cuts prompt token usage by roughly 80% compared with local stdio.1,919 npmMIT
- AlicenseAqualityBmaintenanceLocal-first MCP server that turns long videos into captioned vertical Shorts (face-tracked 9:16 clips, active-speaker cuts, animated captions) or generates Shorts from a topic. Tools: generate_short, extract_clips, generate_social_package, get_render_status, list_supported_modes.9717 PyPI23MIT
- AlicenseNot gradedqualityBmaintenanceExposes one tool per pipeline command so an AI agent can drive the work of turning audio into a reviewable vertical video draft: importing sources, transcribing with word timings, planning beats, generating one AI image per beat, and rendering a 1080Γ1920 MP4 with word-synced captions. Paid steps stay gated behind script approval given from the CLI, so agents can run the loop for Reels, TikTok and YouTube Shorts without overspending.3Apache 2.0

clipsdk-mcpofficial
AlicenseNot gradedqualityCmaintenanceEnables coding agents to turn long videos into captioned short clips, upload local or linked media, monitor jobs, and save finished MP4s with titles, scores, and ready-to-post captions to disk.MIT