This release is a pre-release and may not be stable for production use.
YouTube transcripts, AI translation and downloads for Python, with zero dependencies.
pip install u-transcript-max==0.1.0a5 Copy PIP instructions
Alpha. The API can still change before 0.1.0. The design lives in docs/design.
pip install u-transcript-max # the library, no dependencies pip install "u-transcript-max[mcp]" # plus the MCP server, utmax-mcp AI translation calls the provider's official SDK with your own API key: add the claude, openai, gemini or openrouter extra, or ai for all of them.
import utmax transcript = utmax.fetch("https://youtu.be/dQw4w9WgXcQ") # the spoken language, manual first transcript.save("rick.srt") # also .vtt, .json and .txt turkish = utmax.translate(transcript, "tr", model="claude=claude-opus-5-5") # needs [claude] utmax.bilingual(transcript, turkish).save("rick.en+tr.srt") utmax.download("dQw4w9WgXcQ", "rick.mp4") # the best picture (AV1 up to 8K), English subtitles utmax.download("dQw4w9WgXcQ", "rick-720.mp4", resolution=720) # at most 720p utmax.download("dQw4w9WgXcQ", "rick.mp4", quality="compat") # H.264 up to 1080p, plays anywhere utmax.download("dQw4w9WgXcQ", "rick.m4a") # the audio only print([f.label for f in utmax.list_formats("dQw4w9WgXcQ") if f.kind == "video"]) videos = utmax.list_videos("@RickAstleyYT", kind="videos", limit=20) utmax.fetch_many(videos, out_dir="subs") # one .srt per video Coming from youtube-transcript-api? Change one import:
from utmax.compat import YouTubeTranscriptApi MCP server utmax-mcp gives an AI assistant six tools: list_tracks, get_transcript, list_formats, list_videos, download and save_subtitles. It needs no API key. Ask it to download a video and the assistant asks which file type, which of the video's resolutions and which subtitles (original or translated) you want; ask for a translation and it translates the subtitles itself. Things to ask:
Files go to ~/Downloads/utmax. The commands below start the server with uvx from uv, which installs it from PyPI; @latest makes it move to each new release the next time the client starts the server.
claude mcp add --scope user utmax -- uvx --from "u-transcript-max[mcp]@latest" utmax-mcp claude mcp get utmax should say Connected; inside Claude Code, /mcp lists the server.
codex mcp add utmax -- uvx --from "u-transcript-max[mcp]@latest" utmax-mcp A long download can outlast Codex's default tool timeout, and the first start installs the server, so give it more time in ~/.codex/config.toml (the CLI and the IDE extension share this file):
[mcp_servers.utmax] command = "uvx" args = ["--from", "u-transcript-max[mcp]@latest", "utmax-mcp"] startup_timeout_sec = 60 tool_timeout_sec = 1800 Claude Desktop Open Settings → Developer → Edit Config, add the server to claude_desktop_config.json and restart Claude Desktop:
Any MCP client that starts stdio servers can run the same command, or utmax-mcp after pip install "u-transcript-max[mcp]". Environment variables change the defaults:
Set them with -e NAME=value in Claude Code, --env NAME=value in Codex, or an "env" object in Claude Desktop.
captions srt subtitles transcript translation vtt youtube
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.




