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"]
}
search_videos
Search YouTube videos by keyword. No API key is needed.
| Parameter | Type | Description |
|---|---|---|
query |
string | Search keywords |
max_results |
int | Number of videos, 1-50 (default: 10) |
language |
string | Interface language code (default: en) |
YouTube machine-translates titles into language. Pass the language of the videos you are looking for to get their original titles.
Example:
// Input
{ "query": "rick astley", "max_results": 1 }
// Output
{
"query": "rick astley",
"videos": [
{
"id": "dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up",
"channel": "Rick Astley",
"duration": 213,
"view_count": 1500000000,
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
]
}
License
MIT
Metadata
Release files for kzmshx-youtube-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kzmshx_youtube_mcp-0.2.0.tar.gz | 137.1 kB | With provenance | Details for kzmshx_youtube_mcp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kzmshx_youtube_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for kzmshx_youtube_mcp-0.2.0-py3-none-any.whl |
Total release size: 145.2 kB
Release files / kzmshx_youtube_mcp-0.2.0.tar.gz
| Download URL | kzmshx_youtube_mcp-0.2.0.tar.gz |
|---|---|
| Size | 137.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bb6b512d4606d9d4fe8cb353777866a9fe2c3ae1e59469da3dcc616015bd9e7
|
|
BLAKE2b-256 checksum How to use checksums |
0e0d240eb5aebdb84ad313643e8a1981df90bd76856e2cbe66bac8ff7271cb08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 23, 2026.
Transparency logRelease files / kzmshx_youtube_mcp-0.2.0-py3-none-any.whl
| Download URL | kzmshx_youtube_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d05b0be8c67898a6681dd5e1dc75d80ff9098585eba4f09b2f6cbf5be73f3052
|
|
BLAKE2b-256 checksum How to use checksums |
febe7674eb99ee04af7c79130e285211f5319774a5c9ef9689e35e5ab1f21d96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 23, 2026.
Transparency logSecurity for kzmshx-youtube-mcp 0.2.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kzmshx_youtube_mcp-0.2.0.tar.gz
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 Nov 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.