Skip to main content
Glama

OpenCaptions

Animated captions for your videos. Open source, self-hosted, and on your iPhone.

Transcribe with Whisper or Parakeet, style every word, and export a burned-in video or subtitle files. Nothing leaves your machine unless you say so.

Get the iPhone app · Try it in your browser · Self-host it · Documentation

License: AGPL v3 CI Release

OpenCaptions editor: a video with word-by-word animated captions next to the style panel, over the caption timeline

Clip: Sprite Fright by Blender Studio, CC BY 4.0

Features

  • Word-level transcription with Parakeet or Whisper on your machine, the OpenAI API with your own key, or another OpenCaptions server (a GPU box at home, say)

  • Animated styles with presets and a full custom panel: fonts, colours, outline, background, animation, position

  • A real editor: a timeline to retime captions, fix a misheard word right on the video

  • Export a burned-in MP4, WebM or ProRes, SRT, VTT and JSON, or just the captions on a green screen to key out in your video editor

  • The preview is the export: one Rust engine draws both, so what you see is what you get

  • iPhone, iPad and Mac app with on-device Whisper, Parakeet and Apple Speech, no server and no account. One purchase covers all three

  • Many scripts and languages: Latin, Cyrillic, Arabic, Hebrew, Indic, Thai, CJK and more, and an interface in 13 languages

  • From Claude and other agents: an MCP server and a command line (npx opencaptions) that caption a video on your computer, with no server, or on yours: for Claude Code, Claude Desktop, Cursor or a video pipeline

  • Private by design: no telemetry, no tracking, accounts are local to your instance

Related MCP server: mcp-openshorts

Quick start

You need Docker Compose v2.24 or newer and one file:

curl -O https://raw.githubusercontent.com/leogaudin/opencaptions/main/docker-compose.yml
docker compose up -d

Open http://localhost:5173, create an account, drop a video in.

The compose file runs the edge images, which follow the main branch. To stay on a release, pin it: OPENCAPTIONS_VERSION=1.3.3 docker compose up -d.

To build from source instead, clone the repository and run docker compose up -d --build (or make up).

The web UI listens on every interface and signup is open. On a shared network or a public host, read Security first.

From Claude and other agents

No server needed: with Node.js and FFmpeg installed, the speech model and the engine run on your computer. Claude Code installs the tools in one step:

/plugin install opencaptions --marketplace leogaudin/opencaptions

Any other MCP client runs npx -y opencaptions mcp, and a script runs npx opencaptions caption reel.mp4 --look Bold. With an API key from your server, the same tools run there instead, with every language and the web editor. Setup for each is in From Claude and other agents.

More

Status

The iPhone, iPad and Mac app is on the App Store, and the self-hosted stack has tagged releases. What changed in each one is in the changelog.

Why is there a Pro?

The iPhone app is free. Pro is one purchase, with no subscription: it removes the mark on saved videos and adds 4K, 60 fps, HDR and every caption style. All of that code is here, and a build you make yourself has everything unlocked. The App Store version costs money so that someone signs it, ships it and keeps it working.

License

AGPL-3.0-only. If you offer a hosted version of OpenCaptions, the AGPL requires you to publish your modifications. Contributors accept a CLA so the maintainer can also ship the code where the AGPL cannot go, such as the App Store. Third-party components keep their own licences, see NOTICE. The name and the icon are covered by the trademark policy.

Built and maintained by Leo Gaudin.

Support the project

OpenCaptions is free and has no tracking. If it is useful to you, you can support it with crypto:

BTC  bc1qac8u7xc5zan6a6fng8gqp7drapau9208d0l9wp
ETH  0xc5C9fE87f10BdC4FecEF9De48cD3ba942640774e
XMR  86bcvPxVaqpTgXuk7FPuJa9sYXbUZnAAFj1sdSiSpr8bWpmW2VhMAF4dzXP2Lead3XFRDurqHnYcKNC2RLPQWvVJ9hbM2Kg

Available Tools

9 tools
caption_videoA

Adds animated word-by-word captions to a video: transcribes the speech, styles it with a look, and saves the captioned video next to the source. Returns its path and a project id for follow-ups (get_transcript, fix_words, set_style, save_video). If it takes longer than the call allows, it returns a ticket: pass it to check_progress.

Inputs: source (required), look, model, style, +6 more.

check_progressB

Carries on with a caption_video or save_video that returned a ticket.

Inputs: ticket (required).

describe_styleA

Every style setting with its type, range, default and meaning, for caption_video's and set_style's style.

Inputs: no named parameters.

export_subtitlesB

Writes a project's captions as SRT or VTT subtitles, or its transcript as JSON.

Inputs: format (required), project_id (required), output.

fix_wordsA

Sets words by the index get_transcript gave them, keeping their timing; empty text removes a word, and count joins that many words into one spanning them all (two words heard for one). Then save_video writes the video again.

Inputs: fixes (required), project_id (required).

get_transcriptA

A project's captions as they show on the video, and every word with its index, to check names and spelling before fix_words.

Inputs: project_id (required).

list_looksB

The built-in caption looks, each with its animation, font and colours.

Inputs: no named parameters.

save_videoA

Saves a project's captioned video again, after fix_words or set_style, or in another format, size or as captions only.

Inputs: project_id (required), format, output, frame_rate, +2 more.

set_styleA

Changes a project's style: a look, settings over it, or settings alone over the style it has. Then save_video writes the video again.

Inputs: project_id (required), look, style.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 9 tools

    Disambiguation4/5

    Most tools have clearly distinct roles within the caption-editing workflow. The main potential overlap is save_video versus export_subtitles, since save_video can also save with captions only while export_subtitles writes SRT/VTT/JSON, but the descriptions mostly clarify the boundary.

    Naming Consistency5/5

    All tool names use snake_case and follow a predictable verb_noun pattern such as get_transcript, fix_words, set_style, save_video, and export_subtitles. caption_video fits the same convention as a verb acting on a resource.

    Tool Count5/5

    Nine tools is well-scoped for a captioning server, covering creation, progress checking, transcript inspection, word fixes, styling, saving, and export. Each tool appears to earn its place without obvious filler.

    Completeness4/5

    The lifecycle is largely covered: create captions, inspect and correct words, change style, save again, and export subtitles. Minor gaps include no obvious project listing, deletion, or standalone project metadata retrieval, but core workflows are supported.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers