Skip to main content

YouTube Transcript MCP Server

Python Application GitHub License pre-commit Ruff smithery badge

This MCP server retrieves transcripts for given YouTube video URLs.

YouTube Transcript Server MCP server

Tools

This MCP server provides the following tools:

get_transcript

Fetches the transcript of a specified YouTube video.

Parameters

  • url (string): The full URL of the YouTube video. This field is required.
  • lang (string, optional): The desired language for the transcript. Defaults to en if not specified.

Installation

For Goose CLI

To enable the YouTube Transcript extension in Goose CLI, edit the configuration file ~/.config/goose/config.yaml to include the following entry:

extensions:
  youtube-transcript:
    name: Youtube Transcript
    cmd: uvx
    args: [--from, git+https://github.com/jkawamoto/mcp-youtube-transcript, mcp-youtube-transcript]
    enabled: true
    type: stdio

For Goose Desktop

Add a new extension with the following settings:

  • Type: Standard IO
  • ID: youtube-transcript
  • Name: Youtube Transcript
  • Description: Retrieve transcripts of YouTube videos
  • Command: uvx --from git+https://github.com/jkawamoto/mcp-youtube-transcript mcp-youtube-transcript

For more details on configuring MCP servers in Goose Desktop, refer to the documentation: Using Extensions - MCP Servers.

For Claude Desktop

To configure this server for Claude Desktop, edit the claude_desktop_config.json file with the following entry under mcpServers:

{
  "mcpServers": {
    "youtube-transcript": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/jkawamoto/mcp-youtube-transcript",
        "mcp-youtube-transcript"
      ]
    }
  }
}

After editing, restart the application. For more information, see: For Claude Desktop Users - Model Context Protocol.

Installing via Smithery

To install Youtube Transcript for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @jkawamoto/mcp-youtube-transcript --client claude

Using Proxy Servers

In environments where access to YouTube is restricted, you can use proxy servers.

When using Webshare, set the username and password for the Residential Proxy using either the environment variables WEBSHARE_PROXY_USERNAME and WEBSHARE_PROXY_PASSWORD, or the command line arguments --webshare-proxy-username and --webshare-proxy-password.

When using other proxy servers, set the proxy server URL using either the environment variables HTTP_PROXY or HTTPS_PROXY, or the command line arguments --http-proxy or --https-proxy.

For more details, please visit: Working around IP bans - YouTube Transcript API.

License

This application is licensed under the MIT License. See the LICENSE file for more details.

Metadata

Release files for mcp-youtube-transcript 0.3.5

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

Source distribution (sdist)

Source distribution for mcp-youtube-transcript 0.3.5
File Size Uploaded
mcp_youtube_transcript-0.3.5.tar.gz 45.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-youtube-transcript 0.3.5
File Interpreter ABI Platform
mcp_youtube_transcript-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 51.8 kB

Release files / mcp_youtube_transcript-0.3.5.tar.gz

Download URL mcp_youtube_transcript-0.3.5.tar.gz
Size 45.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5ca9256abdc326e1b9130fbbfb8f58226358a065ad0a43b87608e2407904c99e
BLAKE2b-256 checksum
How to use checksums
3ecae9389bdb71de0b2d97741030dee761157e7b5a0fba90739865126d8d8b28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / mcp_youtube_transcript-0.3.5-py3-none-any.whl

Download URL mcp_youtube_transcript-0.3.5-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7eff1fca8eb8c26998f3f80397b49617075823329d08190fc2ce507c46b88980
BLAKE2b-256 checksum
How to use checksums
e9c72b7eed231880e999e459c09d1ba1d3aeac714fef920efb0fabb4cca24b7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

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