MCP server that fetches YouTube transcripts for LLM chat apps.
Project description
youtube-transcript-mcp
Transcribe YouTube videos for LLM chat apps via MCP.
Example prompt: Summarize https://www.youtube.com/watch?v=uB9yZenVLzg
Install
Requires uv. Add this to your MCP client's config — works for any MCP-compatible app (Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Zed, …):
{
"mcpServers": {
"youtube-transcript": {
"command": "uvx",
"args": ["youtube-transcript-mcp-server"]
}
}
}
Equivalent one-liner if your client wants a single command:
uvx youtube-transcript-mcp-server
That's it — uvx fetches the package from PyPI on first run and caches it. Restart the client after editing its config.
Tool
transcribe(youtube_video_url: str) -> str— fetches the transcript (en/de/es/fr/ru) and prepends an ad-removal instruction for the LLM.
Develop locally
git clone https://github.com/SeanPedersen/youtube-transcript-mcp
cd youtube-transcript-mcp
uv venv && uv pip install -r pyproject.toml && source .venv/bin/activate
python mcp_server.py
Point your MCP client at the local checkout instead of PyPI:
{
"command": "uv",
"args": [
"run", "--with", "fastmcp", "--with", "youtube-transcript-api",
"fastmcp", "run", "/absolute/path/to/youtube-transcript-mcp/mcp_server.py"
]
}
Release
- Bump
versioninpyproject.toml. - Copy
.env.exampleto.envand add your PyPI token. ./scripts/release.sh— builds and publishes to PyPI.
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 youtube_transcript_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: youtube_transcript_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83ab1295919cb849f57273a93e64bc9ee16b176827b4af98ce5189620afb894b
|
|
| MD5 |
46d368c545f92687ab0d36f999019150
|
|
| BLAKE2b-256 |
f78267c7c4dfcb4bd72873b6bfda5e4560fe1102ba2e5d74fd98552d61057313
|
File details
Details for the file youtube_transcript_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: youtube_transcript_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b7723a8ac4bfd52aee653800ca86db085de50425a88c3524426fff83309f9e1
|
|
| MD5 |
49b9d26455933580b44c99558d2c90a2
|
|
| BLAKE2b-256 |
6d486d4786b7e834b3c5c00cf54da51e84d2c88f5f14e241d6874172c95cd8c2
|