Skip to main content
Glama

babelscribe — free, offline speech-to-text and subtitles on any GPU (AMD, NVIDIA, Intel, Apple)

PyPI License: MIT MCP server Translations: తెలుగు (Telugu)

babelscribe turns any audio or video file into subtitles (SRT, VTT) and text, in any of Whisper's 99 languages, on your own graphics card — AMD Radeon, NVIDIA, Intel Arc or Apple Silicon — or the CPU. No CUDA needed, no cloud, free (MIT). It runs OpenAI Whisper through whisper.cpp with Vulkan, CUDA or Metal, and works from the command line, from Python, or from AI apps (Claude, Codex, Antigravity, Gemini CLI, Cursor) as an MCP server.

Install

pip install babelscribe          # Python 3.9+

On first use babelscribe downloads a prebuilt whisper-cli for your system (Vulkan, CUDA, Metal or CPU), so there is nothing to compile. Which build your hardware gets: How it works. Docker: docs/usage.md#docker.

Related MCP server: video-transcriber-mcp

Quick start

babelscribe interview.mp4                 # auto-detects language, picks your best GPU -> interview.srt + interview.json
babelscribe talk.mp4 -f srt,vtt,txt,json  # all formats
babelscribe ./recordings -o ./subs --skip-existing   # a whole folder; leave files that are already done
babelscribe talk.mp4 -l th --accurate     # slower, fewest errors (best model per language)
babelscribe clip.mp4 --burn --style shorts   # also clip.subbed.mp4: the video with the captions drawn on

All options, Python, translation, burn-in and re-export: docs/usage.md.

Use it from an AI app (MCP) — no terminal needed

babelscribe MCP server

babelscribe is also an MCP server, so any AI app that supports local MCP servers can transcribe files on your computer with your GPU. Ask in plain words — "make Thai subtitles for the newest video in my Downloads" — and the app finds the file, transcribes it, writes .srt / .txt next to it, and can then proofread names, translate or summarise the text for you.

Tools: transcribe, transcribe_folder, convert_subtitles, burn_subtitles, translate_subtitles, find_media, list_devices, list_languages_and_models. What each one does: docs/usage.md#mcp-tools.

Claude Desktop (one click): download babelscribe.mcpb from the latest release and double-click it (or Settings → Extensions → Install extension).

Everything else runs the same command — uv fetches babelscribe for you: uvx babelscribe mcp

App

How to add it

Claude Code

claude mcp add babelscribe -- uvx babelscribe mcp

OpenAI Codex CLI

codex mcp add babelscribe -- uvx babelscribe mcp, then in ~/.codex/config.toml under [mcp_servers.babelscribe] set tool_timeout_sec = 3600 and startup_timeout_sec = 120 (defaults are 60 s / 10 s — too short for a long video or the first model download)

Google Antigravity

agent panel → ⋯ → MCP Servers → Manage MCP Servers → View raw config, add the JSON below

Gemini CLI

add the JSON below to ~/.gemini/settings.json

Cursor

add the JSON below to ~/.cursor/mcp.json

VS Code (Copilot)

.vscode/mcp.json: same entry under "servers" with "type": "stdio"

{
  "mcpServers": {
    "babelscribe": { "command": "uvx", "args": ["babelscribe", "mcp"], "timeout": 3600000 }
  }
}

(timeout is in milliseconds and only some apps read it.) Already installed with pip? Use "command": "babelscribe", "args": ["mcp"]. Web-only chat apps (e.g. grok.com, chatgpt.com) can only reach servers on the internet, not your computer, so they can't use your GPU or files.

Results

GPU: AMD Radeon RX 9070 XT via Vulkan. default = large-v3-turbo; accurate = --accurate.

Test

default

--accurate

English TED talk, 19.3 min, WER vs human captions

48 s (24x) · 1.5%

107 s (11x) · 1.5%

Thai, Google FLEURS, CER

15.9%

8.9%

Hindi, Google FLEURS, WER

28.4%

12.6%

English, Google FLEURS, WER

6.1%

5.7%

FLEURS: 50 utterances per language. All 16 languages, four TED / TEDx talks, method and the models that were tried and not used: docs/benchmarks.md.

Languages

All 99 languages Whisper was trained on, auto-detected or forced with -l. For Thai and Hindi, --accurate uses a community fine-tune. The full list and how to add a fine-tune: docs/languages.md.

ภาษาไทย

ใช้ผ่าน Claude Desktop ได้โดยไม่ต้องพิมพ์คำสั่ง: โหลด babelscribe.mcpb จากหน้า Releases แล้วดับเบิลคลิก จากนั้นพิมพ์ในแชทว่า "ทำซับไทยให้คลิปล่าสุดในโฟลเดอร์ดาวน์โหลด" ถอดเสียงจากไฟล์เสียงหรือวิดีโอได้ทุกภาษา บนการ์ดจอทุกยี่ห้อ (AMD / NVIDIA / Intel ผ่าน Vulkan, Apple ผ่าน Metal) หรือ CPU ภาษาไทยแนะนำ babelscribe ไฟล์.mp4 -l th --accurate — ข้อความจาก Pathumma Whisper (NECTEC) ที่ผิดน้อยที่สุดใน FLEURS (CER 8.9% เทียบ turbo 15.9%) + เวลาจาก large-v3-turbo หรือเลือก Thonburian Whisper เอง: --text-model thai-thonburian

More docs

Privacy Policy

babelscribe runs entirely on your own computer. It has no telemetry, analytics, accounts or crash reporting, and never uploads your audio, video, transcripts or file names. The network is used only to download whisper-cli, models and Python packages. Optional translation (--translate-to) sends subtitle text only to an LLM on this computer, unless you pass --allow-remote. Full policy: docs/privacy.md.

Credits & licence

MIT. Built on whisper.cpp (MIT) and OpenAI Whisper models (MIT). Fine-tunes belong to their authors: Pathumma Whisper by NECTEC, Thonburian Whisper by biodatlab, whisper-hindi-large-v2 by vasista22 (Speech Lab, IIT Madras).

Available Tools

8 tools
burn_subtitlesBurn subtitles into a videoA
Idempotent

Draw subtitles onto a copy of a video (NAME.subbed.mp4), for posting where a separate subtitle file is not possible (TikTok, Reels, Shorts). The input video is never changed; audio is copied.

video_path: absolute path to the video. subtitle_path: the .json written by transcribe (best: any style works, and text edited in it is used), or an .ass (drawn exactly as written), or an .srt / .vtt (plain only). Empty = the subtitle file next to the video; transcribe the video first if there is none. style: plain (white text at the bottom) | karaoke (each word lights up as it is spoken) | shorts (big, two or three words at a time, placed for vertical video). output_path: the video to write; empty = NAME.subbed.mp4 next to the input. Returns the file written, the style, the subtitle file used, the encoder and the picture size.

Inputs: video_path (required), style, output_path, subtitle_path.

convert_subtitlesRe-export subtitles from a transcript JSONA
Idempotent

Write subtitle files again from a babelscribe .json, without transcribing again (instant, no GPU).

Use it to change the line width or add a format, or after correcting names and words: edit the "text" of the segments in the JSON, then call this, and every format gets the corrected text with its timing. json_path: absolute path to the .json written by transcribe (formats must have included json). formats: comma list from srt, vtt, txt, json, ass. max_line_chars: maximum characters per subtitle line; 0 = the default for the language. output_dir: folder for the output files; empty = next to the JSON. Returns the files written, the number of segments, and how many had edited text.

Inputs: json_path (required), formats, output_dir, max_line_chars.

find_mediaFind audio/video filesA
Read-only

Find audio/video files on this computer, newest first. Searches Downloads, Videos, Desktop, Music and Documents (two levels deep) unless folder is given. Use it when the user names a file without a full path.

Inputs: limit, folder, name_contains. Returns: result

list_devicesList GPUsB
Read-only

GPUs whisper.cpp can use on this computer and which one babelscribe picks automatically.

Inputs: no named parameters.

list_languages_and_modelsList languages and modelsC
Read-only

Models available, and which model --accurate uses per language.

Inputs: no named parameters.

transcribeTranscribe audio/video to subtitlesA
Idempotent

Transcribe a local audio or video file into subtitles / text.

file_path: absolute path to the media file (mp4, mkv, mov, mp3, wav, m4a, ...). language: ISO code such as en, th, ja, es, hi — or "auto" to detect. accurate: slower, fewest errors (large-v3 with beam search, or the best fine-tune for Thai / Hindi). formats: comma list from srt, vtt, txt, json, ass (ass = karaoke word highlight). Keep json: it is what convert_subtitles reads to re-wrap or re-export later without transcribing again. output_dir: folder for the output files; empty = next to the media file. vocabulary: names and terms to spell correctly, e.g. "Pitakpong, babelscribe" (whisper initial prompt); empty = none. translate: true = write the transcript translated to English (uses large-v3; slower than turbo). translate_to: a language code (th, ja, es, ...) = also write NAME..srt, translated by the LLM running on the user's computer (Ollama, LM Studio, llama-server). Empty = no translation. Without a local LLM the transcription is still returned, with a note; you can then translate the text yourself. Returns the files written, detected language, device used, and the transcript text.

Inputs: file_path (required), formats, accurate, language, +4 more.

transcribe_folderTranscribe every audio/video in a folderA
Idempotent

Transcribe every audio and video file in a folder, one at a time.

folder: absolute path to the folder holding the media files. language: ISO code such as en, th, ja, es, hi — or "auto" to detect each file separately. accurate: slower, fewest errors (large-v3 with beam search, or the best fine-tune for Thai / Hindi). formats: comma list from srt, vtt, txt, json, ass (ass = karaoke word highlight). output_dir: folder for the output files (sub-folders are kept); empty = next to each media file. vocabulary: names and terms to spell correctly, e.g. "Pitakpong, babelscribe"; empty = none. translate: true = write every transcript translated to English (uses large-v3; much slower). recursive: true = also transcribe media in sub-folders. Returns the counts plus one entry per file (path, files written, language, seconds) — a failure is reported in its own entry and the batch continues with the next file. Two files that would write the same subtitle name (talk.mp4 and talk.mp3) keep their full name: talk.mp4.srt, talk.mp3.srt.

Inputs: folder (required), formats, accurate, language, +4 more.

translate_subtitlesTranslate subtitles with a local LLMA

Translate finished subtitles into another language with the LLM running on the user's own computer (Ollama, LM Studio, llama-server, ...). Timing is kept; the original file is not changed.

path: absolute path to the .json written by transcribe (best), or an .srt / .vtt. target: language code or name: th, ja, es, de, "Thai", ... formats: comma list from srt, vtt, txt, json, ass for the translated files (NAME..srt, ...). llm_url: OpenAI-compatible endpoint, e.g. http://127.0.0.1:11434/v1; empty = the usual local ports. model: model name to ask for; empty = the first one the endpoint lists. Returns the files written, the number of subtitles, the language code, and the model used. If no local LLM is running, the error says how to start one; you can also translate the text yourself instead.

Inputs: path (required), target (required), model, formats, +1 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 8 tools

    Disambiguation4/5

    The tools mostly have clearly distinct purposes: single-file transcription, folder transcription, subtitle conversion, translation, burning, media discovery, and environment listing. The only mild overlap is that translation can happen inside transcribe/transcribe_folder via parameters or via translate_subtitles, but the descriptions distinguish transcription-time translation from post-hoc subtitle translation.

    Naming Consistency4/5

    Most names follow a readable snake_case verb_noun pattern: transcribe_folder, list_devices, convert_subtitles, translate_subtitles, burn_subtitles, find_media, list_languages_and_models. The bare 'transcribe' is a minor deviation, but it is naturally paired with transcribe_folder and remains clear.

    Tool Count5/5

    Eight tools is well-scoped for a transcription/subtitle workflow. The set covers core transcription, batch processing, post-processing, media discovery, and environment inspection without obvious redundancy.

    Completeness4/5

    The surface covers the main lifecycle: find media, transcribe, batch transcribe, convert/re-export subtitles, translate, burn subtitles, and inspect devices/models. Minor gaps exist around job status/cancellation for long transcriptions and direct media metadata inspection, but these are not central dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers