Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

u-transcript max

PyPI Python CI

YouTube transcripts, AI translation and downloads for Python — with zero dependencies. Its MCP server lets Claude, Codex and other AI assistants use them too.

Alpha. The API can still change before 0.1.0. The design lives in docs/design.

Install

From PyPI, on Python 3.11 or newer:

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.

Quickstart

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 MP4 (AV1 or H.264) with English subtitles
videos = utmax.list_videos("@RickAstleyYT", kind="videos", limit=20)

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. The commands below start it 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 Code

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

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:

{
  "mcpServers": {
    "utmax": {
      "command": "uvx",
      "args": ["--from", "u-transcript-max[mcp]@latest", "utmax-mcp"]
    }
  }
}

If Claude Desktop cannot find uvx, put its full path in command (which uvx, or where uvx on Windows).

Other clients and settings

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:

Variable Default Meaning
UTMAX_DOWNLOAD_DIR ~/Downloads/utmax where download saves files
UTMAX_PROXY none an http://[user:password@]host:port proxy for YouTube
UTMAX_FFMPEG ffmpeg on PATH the ffmpeg that makes .mp3 files

Set them with -e NAME=value in Claude Code, --env NAME=value in Codex, or an "env" object in Claude Desktop.

License

MIT

Metadata

Release files for u-transcript-max 0.1.0a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for u-transcript-max 0.1.0a4
File Size Uploaded
u_transcript_max-0.1.0a4.tar.gz 322.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for u-transcript-max 0.1.0a4
File Interpreter ABI Platform
u_transcript_max-0.1.0a4-py3-none-any.whl Python 3 none any Details

Total release size: 500.4 kB

Release files / u_transcript_max-0.1.0a4.tar.gz

Download URL u_transcript_max-0.1.0a4.tar.gz
Size 322.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e4e1618bf89552e915bd2d31379a3db91b57d0157c9b843161826e5e94bc7e19
BLAKE2b-256 checksum
How to use checksums
c1c42de956a223768690f28e783fe007876656d3ab24cfae10bc7329f2581de2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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 Publish Attestation

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.

Transparency log

Release files / u_transcript_max-0.1.0a4-py3-none-any.whl

Download URL u_transcript_max-0.1.0a4-py3-none-any.whl
Size 178.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da3a6fe009aed027dfa4cfb91862d364bcd56b83027b1a2e674a874ade35b99c
BLAKE2b-256 checksum
How to use checksums
6e96d4b1fb4a8027cf53f23359e8b4e9107ad22966a794f4bb19814eaf876ba8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

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 Publish Attestation

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.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page