by zhouxiaoka
Automatically transforms long‑form videos, links, or live‑stream replays into short, platform‑ready clips with AI‑driven moment detection, speaker tracking, caption burning, cover generation, and one‑click publishing for TikTok, Shorts, Reels, Douyin, Xiaohongshu, Bilibili and more, all running locally without subscription fees.
AutoClip provides a local‑first AI workflow that ingests podcasts, interviews, courses, gaming streams, or any long video and outputs vertically‑formatted short clips ready for social platforms. It performs smart reframing, automatic captioning, cover art creation, title generation, and integrates directly with MCP so AI agents can trigger clipping from code.
.dmg or Windows .exe installer from the GitHub Releases page. Launch the app, configure a cloud LLM provider or start an offline Ollama/LM Studio model, then paste a video URL, drop a local file, or select a live‑replay source (OBS, Twitch, YouTube, Kick, Discord). Choose target platforms and click Generate.pip install autoclip-mcp) or run it via uvx autoclip-mcp. AI coding agents (Claude Code, Cursor, OpenCode, etc.) can invoke the autoclip skill to produce clips from scripts.env.example to .env, then run docker compose up -d --build. Access the web UI at http://localhost:3000 and the API docs at http://localhost:8000/docs.OPENAI_API_KEY, OLLAMA_HOST, etc.) for the CLI/MCP.The open-source OpusClip alternative — local-first AI clipping for podcasts, interviews, and gaming streams with smart reframing, captions, covers, titles, and built-in MCP for AI agents. Zero subscriptions, no paywall.
Drop in a link, local video, or live stream replay — AutoClip finds the best moments, tracks the speaker, burns in captions, generates covers, and exports ready-to-post clips for TikTok, Shorts, Reels, YouTube, Douyin, Xiaohongshu, and Bilibili.
Local-first by design: cutting and rendering run directly on your computer with no upload queues and no monthly fee. Bring your own API key or run 100% offline with Ollama / LM Studio + Whisper / SenseVoice.

| Feature | Details |
|---|---|
✦ AI Style Cloner (v1.6) |
Clone once, Clip forever — drop any viral Short/Reel reference clip into the app to extract its typography, palette, motion, and 3D depth into a reusable .zip template pack in ~60s. Preview on your own footage, tweak brand colors/scale live, save your Brand Kit, and share .zip packs in one click. Explore AI Style Cloner → |
| 36-Template Studio & GSAP Motion | 5 built-in + 31 hot-updatable viral templates (including 14 Brand-Variable flagships, 5 local ONNX 3-layer 3D depth templates where giant typography passes behind the speaker at 119 FPS on CPU, and 2 GSAP motion flagships kinetic_slam_pro & cinema_card_motion). Browse the live Template Gallery. |
| 6 Live Replay Sources | Dedicated Live Replay tab supporting OBS Studio, Twitch, YouTube, Kick, Discord, and local recordings. |
| OBS Auto-Capture | Connect OBS WebSocket (4455), trim losslessly (-c copy), and auto-queue clips right after you end stream. |
| Game Highlights | Generalized highlight detection supporting 8s+ standalone plays with tighter vision/OCR budgets. |
| One-Click Repurpose | Unified playable clip cards — switch target platforms in one click without losing previous exports. |
| 20 Languages | Full desktop UI, tray menus, and docs in 20 languages (+ it, pl, th, nl, uk, hi, ar) with Arabic RTL support. |
Clone once, Clip forever. Turn any viral Short or Reel you love into your own reusable local template — then apply your brand color and typography across every future clip automatically. See live showcase & Golden Cases →
Click any thumbnail or ▶ Play to watch full clips rendered by AutoClip. Language labels indicate burned-in subtitle language.
Browse 16+ clips, covers, and post copy in the Showcase →, or share your own clips. Source copyrights remain with their original creators.
| Use case | Recommended setup | Requirements |
|---|---|---|
| Desktop app (easiest) | Download .dmg / -setup.exe from Releases |
Apple Silicon macOS or Windows 10/11 x64 (Python & FFmpeg bundled) |
| AI agents / CLI / MCP | uvx autoclip-mcp or npx skills add zhouxiaoka/autoclip |
Python 3.10+ (3.11 recommended) & FFmpeg |
| Self-hosted / Linux / Intel Mac | docker compose up -d --build |
Docker & Compose v2 |
aarch64.dmg for Apple Silicon macOS, x64-setup.exe for Windows). Portable Python and FFmpeg are bundled.New to AutoClip? Follow the 2-Minute Desktop Quickstart (with UI GIFs) → — step-by-step setup with zero paid configuration needed.
Installers are built publicly on GitHub Actions (
Desktop Build) withbuild-provenance.jsonSHA-256 verification. First launch on an unsigned build: on macOS runxattr -dr com.apple.quarantine "/Applications/AutoClip Desktop.app"(or System Settings → Privacy & Security → Open Anyway); on Windows click More info → Run anyway on SmartScreen. See Code Signing & Verification Policy (notarization tracked in #119).
Let AI coding agents clip videos directly from your terminal (claude mcp add autoclip -- uvx autoclip-mcp). Full MCP setup guides: English · 简体中文 · 日本語 · 한국어 · Español · Deutsch.
uvx autoclip-mcp
pip install autoclip-mcp
npx skills add zhouxiaoka/autoclip
autoclip --version
autoclip produce talk.mp4 --srt talk.srt --platform tiktok --portrait-style podcast --json
autoclip outputs PROJECT_ID --export-kits
An agent-agnostic plugin marketplace registers the autoclip and template-cloner skills plus an .mcp.json that starts uvx autoclip-mcp and forwards AUTOCLIP_API_KEY from the environment (leave it unset if the desktop app already has a model key or when using the zero-key split workflow). Codex and Claude Code manifests live at the repository root. Codex: codex plugin marketplace add zhouxiaoka/autoclip, then codex plugin add autoclip@autoclip (first uvx startup can exceed the default 10s timeout; the bundled config sets startup_timeout_sec to 120). Claude Code: /plugin marketplace add zhouxiaoka/autoclip, then install the autoclip plugin.
# Install from a downloaded CLI/MCP release ZIP wheel
python3 -m venv .venv && source .venv/bin/activate
python -m pip install -r requirements.txt
python -m pip install --force-reinstall --no-deps autoclip_mcp-*-py3-none-any.whl
# Or install from source
python -m pip install --no-deps .
Keep the original .whl filename when installing offline (do not shorten or rename it, or pip will report Invalid wheel filename).
To build a local MCPB bundle without publishing, run python scripts/pack_mcpb.py (never run smithery mcp publish automatically).
git clone https://github.com/zhouxiaoka/autoclip.git
cd autoclip
cp env.example .env
mkdir -p data logs uploads
docker compose up -d --build
Open the web UI at http://localhost:3000 (API docs at http://localhost:8000/docs). See Docker Guide for bind-mount permissions and custom origins.
Measured on an Apple Silicon Mac (LLM cost estimated with qwen-plus; excludes cloud ASR and AI image generation; check your provider bill for exact usage):
| Input | Source | Time & Output | Est. LLM Cost |
|---|---|---|---|
| With existing subtitles | Jensen Huang · 1h 43m (EN → Xiaohongshu) | 7.5 min / 10 clips | ¥0.09 |
| No subtitles (local Whisper) | TIM × Luo Yonghao · 2h 52m (ZH → Douyin) | 29.5 min / 10 clips | ¥0.20 |
Affiliate link (separate from the sponsor above): sign up on Alibaba Cloud, create an API key in the Bailian console, and enable Bailian cloud ASR under Settings → Default models → Speech to subtitles.
Yes — AutoClip is free and MIT-licensed. Cloud analysis, transcription, and AI covers use your own API keys at provider rates (local cover layout is free by default). Ollama and LM Studio require no cloud key. Direct publishing uses your own Bilibili or Upload-Post account.
Cutting and rendering run locally. Cloud analysis only sends transcript text; vision models only receive sampled frames; cloud ASR uploads audio. Running local LLMs + Whisper / SenseVoice keeps everything offline. Analytics and crash reports can be turned off in Settings. See Privacy.
Podcasts, interviews, talks, courses, and gaming live stream replays (OBS / Twitch / YouTube / Kick / Discord). Sources with existing subtitles are fastest; otherwise use local Whisper / SenseVoice or cloud ASR. For gameplay or low-dialogue streams, enable a vision-capable model.
Check the failed stage: subtitles/transcription, model connection, FFmpeg, disk space, or platform length limits (YouTube long-form requires ≥180s; use Shorts, TikTok, or Bilibili for shorter clips). If it still fails, open an issue with autoclip --version, OS, model, and redacted logs, or check Known Issues (#96).
Troubleshooting · Known Issues
| Topic | Guide |
|---|---|
| Install & first clips | 2-Minute Quickstart (with GIFs) · Installation Guide |
| Self-hosting & agents | Docker · MCP & AI Agents (ZH · JA · KO · ES · DE) · Agent Skill (ZH) · OpenCode |
| Models & troubleshooting | Multi-LLM Setup (ZH) · FAQ |
| Releases & privacy | Changelog · Code Signing · Roadmap (ZH) · Community Board (ZH) · Privacy |
| Research | Pick the Moment, Not the Effect · 中文 |
| Contributing & i18n | Contributing (ZH) · Translating AutoClip · Translation Guide (ZH) |
PRs, bug reports, sample clips, and translations are welcome. If AutoClip saves you time, a ⭐ star helps!
AutoClip is maintained solo — please expect async replies (no live or 1-on-1 setup support).
Built with FastAPI, React, Tauri, FFmpeg, yt-dlp, Whisper, and FunASR. MIT License.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by MiniMax-AI
Enables interaction with powerful text‑to‑speech, image generation and video generation APIs through a Model Context Protocol server.
by burningion
Upload, edit, search, and generate videos by leveraging LLM capabilities together with Video Jungle's media library.
by mamertofabian
Generate speech audio from text via ElevenLabs API and manage voice generation tasks through a Model Context Protocol server with a companion SvelteKit web client.
by Flyworks-AI
Create fast, free lip‑sync videos for digital avatars by providing audio or text, with optional avatar generation from images or videos.
by apinetwork
Enables Claude, Cursor, and other MCP‑compatible applications to generate images, videos, audio, text‑to‑speech, and 3‑D models through PiAPI’s extensive media creation models.
by mberg
Generates spoken audio from text, outputting MP3 files locally and optionally uploading them to Amazon S3.
by allvoicelab
Generate natural speech, translate and dub videos, clone voices, remove hardcoded subtitles, and extract subtitles using powerful AI APIs.
by nabid-pf
Extracts YouTube video captions, subtitles, and metadata to supply structured information for AI assistants to generate concise video summaries.
by AceDataCloud
Enables AI‑powered music creation, lyric generation, cover/remix production, and audio project management through Ace Data Cloud, exposing a rich set of Model Context Protocol tools for Claude, VS Code, and other compatible clients.