dsh-getyoutubetranscript: YouTube Transcript and Retrieval Capabilities for DeepSeek Harness

Introduction

The ecosystem philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” Developers can extend local runtime capabilities through plugins. When an agent needs to access public content on the internet, the conventional approach typically requires manually handling scraping or API calls in code, which is costly to implement and introduces concerns such as authentication and rate limiting. The tubeagentkit/dsh-getyoutubetranscript plugin addresses this pain point: with a single line of configuration, it connects DSH’s built-in MCP client to the hosted GetYouTubeTranscript MCP server, enabling the agent to directly leverage YouTube transcript retrieval, search, channel, and playlist capabilities.

What Is This

dsh-getyoutubetranscript is a DeepSeek Harness (DSH) plugin that mounts the hosted GetYouTubeTranscript MCP server. It does not run any local service; instead, it uses cordis.patch.yml to point DSH’s built-in MCP client (@deepseek-ai/dsh-mcp-client) at https://getyoutubetranscript.com/api/mcp (Streamable HTTP). The plugin itself contains no code—it only provides a configuration mount.

Core Features

The plugin is registered under the getyoutubetranscript namespace and provides the following tools:

  • get_youtube_transcript: Retrieve the full transcript of a video, with an option to include timestamps; supports any subtitle language already available on the video
  • get_transcript_languages: List the subtitle languages supported by a video
  • search_youtube: Search for videos or channels on YouTube
  • get_channel_latest_videos: Retrieve channel details and the most recently uploaded videos
  • list_channel_videos, list_channel_playlists, list_channel_posts, search_channel_videos, get_channel_banner: Channel-related data
  • list_playlist_videos: Retrieve videos in a playlist
  • get_related_videos, get_video_dislikes: Related videos and like/dislike estimates
  • get_credits: Check remaining credits (free)

Installation & Setup

Install the plugin:

dsh plugin --profile web add github:tubeagentkit/dsh-getyoutubetranscript

After installation, configure the API key. Visit https://getyoutubetranscript.com/developers to create a key; new accounts receive free credits. Then set the environment variable in your terminal, or add GETYOUTUBETRANSCRIPT_API_KEY to $DSH_HOME/.credentials.yaml:

export GETYOUTUBETRANSCRIPT_API_KEY=sk_live_...

Restart DSH once installation and configuration are complete.

Typical Usage

The plugin provides MCP tools that must be invoked through DSH’s MCP client. For example, to retrieve the transcript of a specific video (selecting English subtitles with timestamps), use the tool mcp__getyoutubetranscript__get_youtube_transcript, with parameters including the video ID, subtitle language selection, and a timestamp toggle. To search YouTube videos, use mcp__getyoutubetranscript__search_youtube, specifying keywords and search scope. To view a channel’s latest videos, use mcp__getyoutubetranscript__get_channel_latest_videos, passing the channel ID.

Use Cases & Notes

This plugin is well-suited for agent development scenarios that require YouTube transcript retrieval, search, and channel/playlist data. Before use, verify the source code and license (MIT), and check the plugin configuration and dependencies within DSH. Note that transcripts are sourced from the video’s existing subtitle files—if subtitles are disabled on a video, the transcript cannot be retrieved. Call costs are billed according to the GetYouTubeTranscript service; most calls consume 1 credit, while failed calls and get_credits are free.

In Short

dsh-getyoutubetranscript enables DSH agents to access YouTube transcripts, search, and channel data directly, eliminating the need to implement scraping and authentication logic from scratch. Installation and configuration are straightforward, making it ideal for scenarios that require integrating YouTube information. See the links below for the plugin directory and source code.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye