MCP tool to transcribe audio/video files with whisper.cpp binary and generate SRT/VTT captions and OTIO timeline.
Project description
clipwright-transcribe
MCP tool to transcribe audio/video files and generate SRT/VTT captions and OTIO timeline.
External Binaries / Files
This tool requires the following external binaries/files to exist in the execution environment. They are not installed via pip, so obtain them separately.
whisper.cpp Binary
Used for transcription.
- Place
whisper-cli(or the binary name appropriate for your environment) on PATH, or specify the full path in theCLIPWRIGHT_WHISPERenvironment variable. - Obtain: Build from https://github.com/ggerganov/whisper.cpp, or use release binaries.
export CLIPWRIGHT_WHISPER=/path/to/whisper-cli
ggml Model File
Speech recognition model (.bin file) used by whisper.cpp.
- Specify the full path to the model file in the
CLIPWRIGHT_WHISPER_MODELenvironment variable. Can be overridden by themodel_pathparameter at tool invocation. - Obtain: Download from https://huggingface.co/ggerganov/whisper.cpp etc.
export CLIPWRIGHT_WHISPER_MODEL=/path/to/ggml-base.bin
ffmpeg
Required to convert audio to 16kHz mono WAV (input format for whisper.cpp).
- Place
ffmpegon PATH, or specify the full path in theCLIPWRIGHT_FFMPEGenvironment variable.
export CLIPWRIGHT_FFMPEG=/path/to/ffmpeg
Environment Variables Summary
| Environment Variable | Purpose | Required |
|---|---|---|
CLIPWRIGHT_WHISPER |
Path to whisper.cpp binary (required if not on PATH) | Conditional |
CLIPWRIGHT_WHISPER_MODEL |
Path to ggml model file (model_path parameter takes precedence) |
Conditional |
CLIPWRIGHT_FFMPEG |
Path to ffmpeg binary (required if not on PATH) | Conditional |
MCP Tool
clipwright_transcribe(media, output, options?) — Transcribe audio/video file and generate output.otio / output.srt / output.vtt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clipwright_transcribe-0.1.1.tar.gz.
File metadata
- Download URL: clipwright_transcribe-0.1.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2531daeb6df852b8d0eabfdc88ed1350d57a0f33b2d24e98d256910b7f7355e4
|
|
| MD5 |
ba8a1712fa9f05564218c16089f2e9e3
|
|
| BLAKE2b-256 |
70041837152acb269f80dad3daf0198bc230ca3a48c4f3a9a6e6d5e7b7a8ffa9
|
File details
Details for the file clipwright_transcribe-0.1.1-py3-none-any.whl.
File metadata
- Download URL: clipwright_transcribe-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dac782e7d8c186a8d281090b53399b1e73e639a9915413c91117c0826a65e122
|
|
| MD5 |
a7506f88374f8b002ac91b5a06cd69e2
|
|
| BLAKE2b-256 |
550241db3b7bb5a15cd55b78f55ff5a7551b9cba6be721b25205782ac0d03bcd
|