FetchTranscript

YouTube transcripts, video metadata, chapters, comments, channels and search for AI assistants.

我该使用它吗

质量与安全性

B
描述质量
96%
模式完整度
77%
命名质量
100%
投毒风险
40%
权限匹配度
100%
协议合规性
100%

发现(4)

  • HIGHTool poisoning patterns detected
  • INFOTool description contains placeholder or incomplete text在 get_channel_info 中
  • INFOTool description contains placeholder or incomplete text在 list_channel_videos 中
  • INFOTool description contains placeholder or incomplete text在 list_playlist_videos 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~2,063token 数(工具定义)
~1.1 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.61%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "fetchtranscript": {
      "command": "uvx",
      "args": [
        "fetchtranscript-mcp"
      ]
    }
  }
}

可运行的软件包

pypifetchtranscript-mcp0.1.1stdio

远程端点

https://api.fetchtranscript.com/mcpstreamable-http

它能做什么

工具清单

工具(9)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_transcript(video_id, lang, format, chunk_size, chunk_overlap)

Get the transcript of a YouTube video. Args: video_id: YouTube video ID (11 characters, e.g. 'dQw4w9WgXcQ') lang: Language code (e.g. 'en', 'it'). Auto-detected if omitted. format: Output format — 'text' (default), 'json' (segments with timestamps), 'srt', 'vtt' (WebVTT subtitles) or 'chunks' (segments merged into timestamped chunks of about chunk_size characters, for embeddings). chunk_size: format 'chunks' only: target characters per chunk (200-4000, default 1000); segments are never split. chunk_overlap: format 'chunks' only: characters of whole segments repeated from the previous chunk (0-1000, default 0).

输入模式

{
  "type": "object",
  "properties": {
    "video_id": {
      "title": "Video Id",
      "type": "string"
    },
    "lang": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Lang"
    },
    "format": {
      "default": "text",
      "title": "Format",
      "type": "string"
    },
    "chunk_size": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Chunk Size"
    },
    "chunk_overlap": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Chunk Overlap"
    }
  },
  "required": [
    "video_id"
  ],
  "title": "get_transcriptArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "get_transcriptOutput"
}
🟢list_languages(video_id)

List available transcript languages for a YouTube video. Args: video_id: YouTube video ID (11 characters)

输入模式

{
  "type": "object",
  "properties": {
    "video_id": {
      "title": "Video Id",
      "type": "string"
    }
  },
  "required": [
    "video_id"
  ],
  "title": "list_languagesArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "list_languagesOutput"
}
🟢get_video_metadata(video_id)

Get metadata for a YouTube video (title, description, views, likes, etc.). Args: video_id: YouTube video ID (11 characters)

输入模式

{
  "type": "object",
  "properties": {
    "video_id": {
      "title": "Video Id",
      "type": "string"
    }
  },
  "required": [
    "video_id"
  ],
  "title": "get_video_metadataArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "get_video_metadataOutput"
}
🟢get_chapters(video_id)

Get chapter list for a YouTube video. Args: video_id: YouTube video ID (11 characters)

输入模式

{
  "type": "object",
  "properties": {
    "video_id": {
      "title": "Video Id",
      "type": "string"
    }
  },
  "required": [
    "video_id"
  ],
  "title": "get_chaptersArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "get_chaptersOutput"
}
🟢get_comments(video_id, limit, sort, include_replies, replies_per_comment)

Get the top-level comments of a YouTube video, each with its like and reply count. Costs 1 credit per 100 comments returned, replies included, rounded up (minimum 1): up to 100 comments cost 1 credit, 101-200 cost 2. Videos with comments turned off cost nothing. Args: video_id: YouTube video ID (11 characters) limit: Number of comments to fetch (default 20, max 500) sort: "top" (default) or "new" (newest first) include_replies: Also fetch the replies of each comment (default false) replies_per_comment: With include_replies, most replies per comment (1-100, default 10)

输入模式

{
  "type": "object",
  "properties": {
    "video_id": {
      "title": "Video Id",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "sort": {
      "default": "top",
      "title": "Sort",
      "type": "string"
    },
    "include_replies": {
      "default": false,
      "title": "Include Replies",
      "type": "boolean"
    },
    "replies_per_comment": {
      "default": 10,
      "title": "Replies Per Comment",
      "type": "integer"
    }
  },
  "required": [
    "video_id"
  ],
  "title": "get_commentsArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "get_commentsOutput"
}
🟢get_channel_info(channel_id)

Get information about a YouTube channel. Args: channel_id: YouTube channel ID (UCxxxxxx format), handle (@username) or channel URL (https://www.youtube.com/@username)

输入模式

{
  "type": "object",
  "properties": {
    "channel_id": {
      "title": "Channel Id",
      "type": "string"
    }
  },
  "required": [
    "channel_id"
  ],
  "title": "get_channel_infoArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "get_channel_infoOutput"
}
🟢list_channel_videos(channel_id, limit, offset, include_shorts, cursor)

List videos from a YouTube channel, newest first (1 credit per call). To get the next page, call again with the `cursor` this tool returns (recommended: every page costs the same, however deep). `offset` still works but is legacy. Args: channel_id: YouTube channel ID (UCxxxxxx format), handle (@username) or channel URL (https://www.youtube.com/@username) limit: Number of videos to return (default 10, max 100) offset: Number of videos to skip (legacy; leave 0 when passing a cursor) include_shorts: Whether to include YouTube Shorts (default false) cursor: The cursor returned by the previous page, to get the next one

输入模式

{
  "type": "object",
  "properties": {
    "channel_id": {
      "title": "Channel Id",
      "type": "string"
    },
    "limit": {
      "default": 10,
      "title": "Limit",
      "type": "integer"
    },
    "offset": {
      "default": 0,
      "title": "Offset",
      "type": "integer"
    },
    "include_shorts": {
      "default": false,
      "title": "Include Shorts",
      "type": "boolean"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Cursor"
    }
  },
  "required": [
    "channel_id"
  ],
  "title": "list_channel_videosArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "list_channel_videosOutput"
}
🟢list_playlist_videos(playlist_id, limit, cursor)

List the videos of a YouTube playlist in playlist order (1 credit per call). One page per call, with each video's position, duration and channel. To get the next page, call again with the `cursor` this tool returns; every page costs the same, even for playlists of thousands of videos. Mixes (RD...) and private playlists cannot be listed. Args: playlist_id: YouTube playlist ID (e.g. PLxxxxxx, or UUxxxxxx for a channel's uploads) limit: Number of videos to return (default 30, max 100) cursor: The cursor returned by the previous page, to get the next one

输入模式

{
  "type": "object",
  "properties": {
    "playlist_id": {
      "title": "Playlist Id",
      "type": "string"
    },
    "limit": {
      "default": 30,
      "title": "Limit",
      "type": "integer"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Cursor"
    }
  },
  "required": [
    "playlist_id"
  ],
  "title": "list_playlist_videosArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "list_playlist_videosOutput"
}
🟢search_videos(query, limit)

Search YouTube videos. Args: query: Search query string limit: Number of results (default 5, max 50)

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "limit": {
      "default": 5,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "query"
  ],
  "title": "search_videosArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "search_videosOutput"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本9 个工具