# YouTube MCP (npm · @mrsknetwork/ytmcp)

Interact with YouTube data via the official Data API v3

- Trust score: 64/100 (medium)
- Change this week: +49
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-07

## Components

- npm · `@mrsknetwork/ytmcp`: 64/100 (this document), [markdown](https://verifymcp.io/servers/mrsknetwork-ytmcp/mrsknetwork-ytmcp.md), [page](https://verifymcp.io/servers/mrsknetwork-ytmcp/mrsknetwork-ytmcp)

## Channel facts

- Registry: `npm`
- Package: `@mrsknetwork/ytmcp`
- Version: `1.0.14`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-07.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Known CVEs were checked across the 162 of 177 dependencies we could resolve, so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Dependency health was assessed across the 162 of 177 dependencies we could resolve, so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 19/100
  - Repository check failed: the declared repository URL redirects; it must resolve directly.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 14 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 2510 tokens (~132/item across 19 items; 19 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 37/100
  - Stability observed for 11 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
  - Structured output schemas are declared (21% of tools); any adoption earns full credit.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add mrsknetwork-ytmcp -- npx -y @mrsknetwork/ytmcp
```

### Codex

```bash
codex mcp add mrsknetwork-ytmcp -- npx -y @mrsknetwork/ytmcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mrsknetwork-ytmcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@mrsknetwork/ytmcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add mrsknetwork-ytmcp --command npx --arg -y --arg @mrsknetwork/ytmcp
```

### Hermes

```yaml
mcp_servers:
  mrsknetwork-ytmcp:
    command: "npx"
    args: ["-y", "@mrsknetwork/ytmcp"]
```

### Other

```json
{
  "mcpServers": {
    "mrsknetwork-ytmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrsknetwork/ytmcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-06 (score 64, +1)

No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-04 (score 63, +1)

No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-03 (score 62, +3)

- [functional improvement] Stability: unverified → 0.23

### 2026-08-02 (score 59, +59)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional] Licence: MIT

### 2026-08-01 (score 0, −15)

- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-31 (score 15, −24)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 39)

First indexed and scored.

## MCP tools (19)

### `search_content` (~355 tokens)

Search YouTube for videos, channels, or playlists. Returns items[].id (videoId/channelId/playlistId) and items[].snippet (title, description, thumbnails, channelTitle, publishedAt). Use content_type to filter by resource type. Use page_token from a previous response to paginate additional pages.

Input parameters:

- `content_type` (string): Comma-separated list (e.g., 'video,channel,playlist')
- `max_results` (number): Default is 5. Max is 50.
- `order` (string): Sort order for results. Use 'date' for newest first, 'viewCount' for most watched, 'rating' for top rated.
- `page_token` (string): Token from a previous response to fetch the next page of results.
- `published_after` (string): RFC 3339 datetime (e.g., '2024-01-01T00:00:00Z'). Only return results published after this time.
- `published_before` (string): RFC 3339 datetime (e.g., '2024-12-31T23:59:59Z'). Only return results published before this time.
- `region_code` (string): ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'IN') to geo-restrict search results.
- `search_query` (string, required): Search query
- `video_definition` (string): Filter by video quality - 'hd' or 'standard'. Only applies when content_type includes 'video'.
- `video_duration` (string): Filter by video duration - short (<4 min), medium (4-20 min), long (>20 min). Only applies when content_type includes 'video'.

### `get_video_metadata` (~143 tokens)

Fetch full metadata for one or more YouTube videos by ID, or retrieve the most popular videos chart. Returns snippet (title, description, channelId, tags, publishedAt), contentDetails (duration in ISO 8601, definition, caption), and statistics (viewCount, likeCount, commentCount). Provide comma-separated video_ids for lookup, or chart_type='mostPopular' for trending videos.

Input parameters:

- `category_id` (string): Used with chart_type='mostPopular'
- `chart_type` (string): E.g., 'mostPopular'
- `max_results` (number): Default 5
- `video_ids` (string): Comma-separated video IDs

Output parameters:

- `etag` (string)
- `items` (array)
- `kind` (string)
- `nextPageToken` (string)
- `pageInfo` (object)

### `list_trending_videos` (~186 tokens)

Fetch the currently most popular videos on YouTube for a given region and optional category. Returns snippet (title, channelTitle, publishedAt), contentDetails (duration), and statistics (viewCount, likeCount, commentCount) for each video. Use list_video_categories to discover valid category_id values for your region. Use page_token to paginate.

Input parameters:

- `category_id` (string): YouTube video category ID to filter trending videos. Use list_video_categories to discover valid IDs for your region.
- `max_results` (number): Number of results to return. Default 10, max 50.
- `page_token` (string): Token from a previous response to fetch the next page of results.
- `region_code` (string): ISO 3166-1 alpha-2 country code (e.g., 'US', 'IN', 'GB'). Defaults to 'US'.

Output parameters:

- `etag` (string)
- `items` (array)
- `kind` (string)
- `nextPageToken` (string)
- `pageInfo` (object)

### `list_video_categories` (~78 tokens)

List standard YouTube video category names and IDs for a given region (e.g., 'US', 'IN'). Returns items[].id and items[].snippet.title. Use the returned category IDs with search_content or list_trending_videos to filter content by category.

Input parameters:

- `region_code` (string, required): e.g., 'US', 'IN'

### `list_video_captions` (~95 tokens)

List available caption track metadata for a video (requires API Key or OAuth). Returns items[].snippet with language (e.g., 'en'), name, trackKind ('standard', 'asr' for auto-generated, 'forced'), and lastUpdated. Use this to discover what caption languages exist for a video; use get_video_transcript to download the actual text.

Input parameters:

- `video_id` (string, required): The video ID

### `get_video_transcript` (~284 tokens)

Download the full spoken transcript of a YouTube video as clean plain text using yt-dlp - no API credentials required. Tries manual English captions first (or specified language_code), then auto-generated, then falls back to the first available language. Returns concatenated plain text plus metadata about which language and caption type was used. Ideal for content research without consuming YouTube API quota.

Input parameters:

- `end_minutes` (number): End time in minutes from the beginning of the video.
- `language_code` (string): Preferred language code (e.g., 'en', 'es', 'fr', 'ja'). Defaults to English if not specified, then falls back to first available language.
- `max_characters` (number): Maximum character length of the returned transcript to prevent context limit errors. Defaults to 100000. Set to 0 or a very large number for unlimited.
- `prefer_manual` (boolean): If true (default), prefer manually created captions over auto-generated ones when both are available.
- `start_minutes` (number): Start time in minutes from the beginning of the video.
- `user_agent` (string): Custom User-Agent string to avoid rate limits or bot blocking. Defaults to YT_DLP_USER_AGENT env var or a standard modern browser User-Agent.
- `video_id` (string, required): The ID of the YouTube video to download the transcript for

### `get_channel_metadata` (~136 tokens)

Fetch channel profile, statistics, and content details by channel ID or @handle. Returns snippet (title, description, country, thumbnails), statistics (subscriberCount, videoCount, viewCount), and contentDetails (uploads playlist ID - use with list_playlist_items to browse all channel videos). Accepts either channel_ids (comma-separated) or handle (e.g., '@MrBeast').

Input parameters:

- `channel_ids` (string): Comma-separated channel IDs
- `handle` (string): A YouTube channel handle (e.g., '@MrBeast' or 'MrBeast')
- `max_results` (number): Default 5

Output parameters:

- `etag` (string)
- `items` (array)
- `kind` (string)
- `nextPageToken` (string)
- `pageInfo` (object)

### `list_channel_activities` (~130 tokens)

Get a chronological feed of a channel's recent actions such as uploads, playlist additions, and recommendations. Returns snippet (type, publishedAt, title) and contentDetails (upload.videoId, playlist.playlistId). Useful for tracking what a channel has posted recently. Use page_token to paginate.

Input parameters:

- `channel_id` (string): Channel ID to fetch activities for
- `max_results` (number): Default 5
- `mine` (boolean): Set to true to fetch the authenticated user's activities
- `page_token` (string): Token from a previous response to fetch the next page of results.

### `list_channel_sections` (~101 tokens)

Get the shelf and section layout of a YouTube channel page (e.g., 'Featured Videos', 'Popular Uploads', 'Single Playlist'). Returns snippet (title, type, style, position) and contentDetails (playlists[], channels[]). Useful for understanding how a channel organizes and surfaces its content.

Input parameters:

- `channel_id` (string): Channel ID to fetch sections for
- `mine` (boolean): Set to true to fetch the authenticated user's sections

### `list_playlists` (~122 tokens)

List playlists belonging to a channel or fetch specific playlists by ID. Returns snippet (title, description, channelId, thumbnails) and contentDetails (itemCount). Use list_playlist_items with the returned playlist id to browse all videos inside a playlist. Use page_token to paginate.

Input parameters:

- `channel_id` (string): Channel ID to get playlists for
- `max_results` (number): Default 5
- `page_token` (string): Token from a previous response to fetch the next page of results.
- `playlist_ids` (string): Comma-separated playlist IDs

Output parameters:

- `etag` (string)
- `items` (array)
- `kind` (string)
- `nextPageToken` (string)
- `pageInfo` (object)

### `list_playlist_items` (~114 tokens)

List video entries inside a YouTube playlist in order. Returns snippet (title, description, position, videoOwnerChannelTitle, thumbnails) and contentDetails (videoId). Use the videoId values with get_video_metadata or get_video_transcript for further detail. Use page_token to walk through all items.

Input parameters:

- `max_results` (number): Default 5
- `page_token` (string): Token from a previous response to fetch the next page of results.
- `playlist_id` (string, required): The ID of the playlist

### `list_video_comments` (~133 tokens)

Fetch top-level comment threads for a video or all comments on a channel. Returns snippet.topLevelComment (authorDisplayName, textDisplay, likeCount, publishedAt) and replies.comments[] for threaded replies. Use search_terms to filter comments containing a specific phrase. Use page_token to paginate.

Input parameters:

- `channel_id` (string): The channel ID
- `max_results` (number): Default 5
- `page_token` (string): Token from a previous response to fetch the next page of results.
- `search_terms` (string): Search query in comments
- `video_id` (string): The video ID

### `list_comment_replies` (~120 tokens)

Fetch replies to a specific comment thread using parent_comment_id, or fetch individual comments by comma-separated comment_ids. Returns snippet (textDisplay, authorDisplayName, likeCount, publishedAt, parentId). Use page_token to paginate through large reply threads.

Input parameters:

- `comment_ids` (string): Comma-separated comment IDs
- `max_results` (number): Default 5
- `page_token` (string): Token from a previous response to fetch the next page of results.
- `parent_comment_id` (string): Parent comment ID to get replies

### `list_subscriptions` (~165 tokens)

List a channel's public subscriptions by channel_id (requires API Key), or list your own subscriptions with mine=true (requires OAuth). Returns snippet (title, description, resourceId.channelId) and contentDetails (totalItemCount, newItemCount). Use for_channel_id to check if a channel is subscribed to specific channels. Use page_token to paginate.

Input parameters:

- `channel_id` (string): Channel ID to fetch subscriptions for
- `for_channel_id` (string): Comma-separated list of channel IDs to check if the user is subscribed to
- `max_results` (number): Default 5
- `mine` (boolean): Set to true to fetch the authenticated user's subscriptions
- `page_token` (string): Token from a previous response to fetch the next page of results.

### `list_channel_members` (~69 tokens)

List current paying members of the authenticated user's channel. Requires OAuth with the YouTube channel membership scope and an active memberships program on the channel. Returns snippet (memberDetails.channelId, creatorChannelId, membershipsDetails.highestActiveLevel.displayName).

Input parameters:

- `max_results` (number): Default 5

### `list_membership_levels` (~62 tokens)

List the membership tier pricing levels configured for the authenticated user's channel. Requires OAuth. Returns items[].snippet.levelDetails.displayName for each tier (e.g., 'Member', 'Super Fan'). Use alongside list_channel_members to understand which tier each member belongs to.

### `revoke_oauth_token` (~77 tokens)

Revoke the stored OAuth token and sign the user out of the YouTube MCP server. Calls Google's token revocation endpoint, deletes the local token file (~/.ytmcp_tokens.json), and clears the in-process auth cache. After revoking, any tool that requires OAuth will prompt the user to re-authenticate. Requires OAuth.

### `list_supported_languages` (~71 tokens)

List all languages supported by YouTube (e.g., for caption and UI localization). Returns items[].snippet.hl (language code) and items[].snippet.name (human-readable name). Optionally pass language_code to get names localized in that language.

Input parameters:

- `language_code` (string): Language code for localized names

### `list_supported_regions` (~69 tokens)

List all geographic regions supported by YouTube content targeting. Returns items[].snippet.gl (region code, e.g., 'US') and items[].snippet.name. Use region codes with list_video_categories or search_content to geo-filter results.

Input parameters:

- `language_code` (string): Language code for localized names

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/mrsknetwork-ytmcp/mrsknetwork-ytmcp#diagnostics

## Score history

- 2026-08-07: 64
- 2026-08-06: 64
- 2026-08-05: 63
- 2026-08-04: 63
- 2026-08-03: 62
- 2026-08-02: 59
- 2026-08-01: 0
- 2026-07-31: 15
- 2026-07-30: 39
- 2026-07-28: 39
- 2026-07-27: 39

## Links

- npm package: https://www.npmjs.com/package/@mrsknetwork/ytmcp
- Socket report: https://socket.dev/npm/package/@mrsknetwork/ytmcp
- Changelog RSS feed: https://verifymcp.io/servers/mrsknetwork-ytmcp/mrsknetwork-ytmcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/mrsknetwork-ytmcp/mrsknetwork-ytmcp.json
- HTML version of this page: https://verifymcp.io/servers/mrsknetwork-ytmcp/mrsknetwork-ytmcp
