MCP server for extracting YouTube video transcripts and metadata
Project description
kzmshx-youtube-mcp
An MCP server for extracting YouTube video transcripts and metadata.
Configuration
{
"mcpServers": {
"youtube": {
"command": "uvx",
"args": ["kzmshx-youtube-mcp"]
}
}
}
Installation (Optional)
If you prefer to install globally:
pip install kzmshx-youtube-mcp
# or
uv tool install kzmshx-youtube-mcp
Tools
get_transcript
Get transcript text from a YouTube video.
| Parameter | Type | Description |
|---|---|---|
url |
string | YouTube URL or video ID |
language |
string | Language code (default: auto) |
with_timestamps |
bool | Include timestamps (default: false) |
Example:
// Input
{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }
// Output
{
"video_id": "dQw4w9WgXcQ",
"language": "en",
"transcript": "We're no strangers to love\nYou know the rules and so do I..."
}
get_video_info
Get metadata from a YouTube video.
| Parameter | Type | Description |
|---|---|---|
url |
string | YouTube URL or video ID |
Example:
// Input
{ "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }
// Output
{
"id": "dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up",
"description": "...",
"duration": 213,
"channel": "Rick Astley",
"upload_date": "2009-10-25",
"view_count": 1500000000,
"available_languages": ["en", "ja", "es", "fr"]
}
License
MIT
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 kzmshx_youtube_mcp-0.1.1.tar.gz.
File metadata
- Download URL: kzmshx_youtube_mcp-0.1.1.tar.gz
- Upload date:
- Size: 99.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f469766f44ea79881ed4cf7486b1c2a95a52629a17bf21dbcadc2be22dc5b2b7
|
|
| MD5 |
1f4ed9121cc319dc1c5c729afdcb1d07
|
|
| BLAKE2b-256 |
45e02ef6c8464ac998280e969a10313cc9da80d7fd937f82f56ba0ec394d32ba
|
Provenance
The following attestation bundles were made for kzmshx_youtube_mcp-0.1.1.tar.gz:
Publisher:
publish.yml on kzmshx/youtube-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kzmshx_youtube_mcp-0.1.1.tar.gz -
Subject digest:
f469766f44ea79881ed4cf7486b1c2a95a52629a17bf21dbcadc2be22dc5b2b7 - Sigstore transparency entry: 831546475
- Sigstore integration time:
-
Permalink:
kzmshx/youtube-mcp@0ac762b078155236cc46b43ce4416260a5736580 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/kzmshx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0ac762b078155236cc46b43ce4416260a5736580 -
Trigger Event:
release
-
Statement type:
File details
Details for the file kzmshx_youtube_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kzmshx_youtube_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a0bcf9c670d8343a06053085497333c0cdf876afbc0a59153f3301326fe7fb2
|
|
| MD5 |
39f840eb75addf493ec6e13693dad2a8
|
|
| BLAKE2b-256 |
123a2d933a839136efa369b41de4323c6044ac7e5fe11491da8b288476e9e0f4
|
Provenance
The following attestation bundles were made for kzmshx_youtube_mcp-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on kzmshx/youtube-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kzmshx_youtube_mcp-0.1.1-py3-none-any.whl -
Subject digest:
7a0bcf9c670d8343a06053085497333c0cdf876afbc0a59153f3301326fe7fb2 - Sigstore transparency entry: 831546489
- Sigstore integration time:
-
Permalink:
kzmshx/youtube-mcp@0ac762b078155236cc46b43ce4416260a5736580 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/kzmshx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0ac762b078155236cc46b43ce4416260a5736580 -
Trigger Event:
release
-
Statement type: