$git clone https://github.com/jkawamoto/mcp-youtube-transcriptThis MCP server retrieves transcripts for given YouTube video URLs.
| 1 | # YouTube Transcript MCP Server |
| 2 | |
| 3 | [](https://github.com/astral-sh/uv) |
| 4 | [](https://github.com/jkawamoto/mcp-youtube-transcript/actions/workflows/python-app.yaml) |
| 5 | [](https://github.com/pre-commit/pre-commit) |
| 6 | [](https://github.com/jkawamoto/mcp-youtube-transcript/blob/main/LICENSE) |
| 7 | [](https://hub.docker.com/mcp/server/youtube_transcript) |
| 8 | |
| 9 | |
| 10 | This MCP server retrieves transcripts for given YouTube video URLs. |
| 11 | |
| 12 | ## Tools |
| 13 | This MCP server provides the following tools: |
| 14 | |
| 15 | ### `get_transcript` |
| 16 | Fetches the transcript of a specified YouTube video. |
| 17 | |
| 18 | #### Parameters |
| 19 | - **url** *(string)*: The full URL of the YouTube video. This field is required. |
| 20 | - **lang** *(string, optional)*: The desired language for the transcript. Defaults to `en` if not specified. |
| 21 | - **next_cursor** *(string, optional)*: Cursor to retrieve the next page of the transcript. |
| 22 | |
| 23 | ### `get_timed_transcript` |
| 24 | Fetches the transcript of a specified YouTube video with timestamps. |
| 25 | |
| 26 | #### Parameters |
| 27 | - **url** *(string)*: The full URL of the YouTube video. This field is required. |
| 28 | - **lang** *(string, optional)*: The desired language for the transcript. Defaults to `en` if not specified. |
| 29 | - **next_cursor** *(string, optional)*: Cursor to retrieve the next page of the transcript. |
| 30 | |
| 31 | ### `get_video_info` |
| 32 | Fetches the metadata of a specified YouTube video. |
| 33 | |
| 34 | #### Parameters |
| 35 | - **url** *(string)*: The full URL of the YouTube video. This field is required. |
| 36 | |
| 37 | ### `get_available_languages` |
| 38 | Retrieves the available languages for the video. |
| 39 | |
| 40 | #### Parameters |
| 41 | - **url** *(string)*: The full URL of the YouTube video. This field is required. |
| 42 | |
| 43 | ## Installation |
| 44 | > [!NOTE] |
| 45 | > You'll need [`uv`](https://docs.astral.sh/uv) installed on your system to use `uvx` command. |
| 46 | |
| 47 | ### For [goose](https://block.github.io/goose/) |
| 48 | Please refer to this tutorial for detailed installation instructions: |
| 49 | [YouTube Transcript Extension](https://block.github.io/goose/docs/mcp/youtube-transcript-mcp). |
| 50 | |
| 51 | ### For [Claude](https://claude.com/download) |
| 52 | |
| 53 | Download the latest MCP bundle `mcp-youtube-transcript.mcpb` from |
| 54 | the [Releases](https://github.com/jkawamoto/mcp-youtube-transcript/releases) page, |
| 55 | then open the downloaded `.mcpb `file or drag it into the Claude Desktop's Settings window. |
| 56 | |
| 57 | <details> |
| 58 | <summary>Manually configuration</summary> |
| 59 | |
| 60 | You can also manually configure this server for Claude Desktop. |
| 61 | Edit the `claude_desktop_config.json` file by adding the following entry under |
| 62 | `mcpServers`: |
| 63 | |
| 64 | ```json |
| 65 | { |
| 66 | "mcpServers": { |
| 67 | "youtube-transcript": { |
| 68 | "command": "uvx", |
| 69 | "args": [ |
| 70 | "--from", |
| 71 | "git+https://github.com/jkawamoto/mcp-youtube-transcript", |
| 72 | "mcp-youtube-transcript" |
| 73 | ] |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | ``` |
| 78 | After editing, restart the application. |
| 79 | |
| 80 | </details> |
| 81 | |
| 82 | For more information, |
| 83 | see: [Connect to local MCP servers - Model Context Protocol.](https://modelcontextprotocol.io/docs/develop/connect-local-servers). |
| 84 | |
| 85 | ### For [LM Studio](https://lmstudio.ai/) |
| 86 | To configure this server for LM Studio, click the button below. |
| 87 | |
| 88 | [](https://lmstudio.ai/install-mcp?name=youtube-transcript&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyItLWZyb20iLCJnaXQraHR0cHM6Ly9naXRodWIuY29tL2prYXdhbW90by9tY3AteW91dHViZS10cmFuc2NyaXB0IiwibWNwLXlvdXR1YmUtdHJhbnNjcmlwdCJdfQ%3D%3D) |
| 89 | |
| 90 | ### Using Docker |
| 91 | |
| 92 | A Docker image for this server is available on [Docker Hub](https://hub.docker.com/mcp/server/youtube_transcript/). |
| 93 | Please refer to the Docker Hub page for detailed usage instr |