Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kzmshx_youtube_mcp-0.1.1.tar.gz (99.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kzmshx_youtube_mcp-0.1.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

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

Hashes for kzmshx_youtube_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f469766f44ea79881ed4cf7486b1c2a95a52629a17bf21dbcadc2be22dc5b2b7
MD5 1f4ed9121cc319dc1c5c729afdcb1d07
BLAKE2b-256 45e02ef6c8464ac998280e969a10313cc9da80d7fd937f82f56ba0ec394d32ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for kzmshx_youtube_mcp-0.1.1.tar.gz:

Publisher: publish.yml on kzmshx/youtube-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kzmshx_youtube_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kzmshx_youtube_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a0bcf9c670d8343a06053085497333c0cdf876afbc0a59153f3301326fe7fb2
MD5 39f840eb75addf493ec6e13693dad2a8
BLAKE2b-256 123a2d933a839136efa369b41de4323c6044ac7e5fe11491da8b288476e9e0f4

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page