MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者提供的说明(英文原文)
Social media frame sizes with sourced safe areas, plus aspect-ratio, bitrate and subtitle tools.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://www.prismposter.com/api/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"creator-tools": {
"command": "npx",
"args": [
"-y",
"@prismposter/creator-tools"
]
}
}
}在终端中运行这条命令
claude mcp add --transport http creator-tools https://www.prismposter.com/api/mcpclaude mcp add creator-tools -- npx -y @prismposter/creator-tools粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"creator-tools": {
"url": "https://www.prismposter.com/api/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"creator-tools": {
"command": "npx",
"args": [
"-y",
"@prismposter/creator-tools"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"creator-tools": {
"type": "http",
"url": "https://www.prismposter.com/api/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"creator-tools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@prismposter/creator-tools"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://www.prismposter.com/api/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 prismposter.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(1.0.0)于13天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
An MCP server retrieving transcripts of YouTube videos
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Zero-dependency TypeScript utilities for video and social creators: aspect-ratio maths, tap tempo, subtitle parsing and conversion, platform frame sizes with sourced safe areas, encoding calculators, colour-palette extraction, GIF encoding, image metadata, and C2PA / AI-provenance detection.
No runtime dependencies. No network calls. Works in the browser, in Node, and in a worker. Every number it returns is one you could check by hand — and where a platform doesn't publish a number, it says so instead of inventing one.
npm install @prismposter/creator-tools
Most of these calculations are scattered across blog posts that quote each other, and a surprising number of the quoted figures are wrong. The one that started this library: every "TikTok safe area" pixel table on the open web is invented. TikTok publishes an overlay template, not a fixed inset — the occluded zone varies with frame dimensions, caption length, and which ad formats are running. There is no correct constant, so this library returns null for it and explains why, rather than shipping a plausible-looking number.
That's the rule the whole package follows:
social-sizes is asserted against its own declared ratio by the test suite.safeAreaSourceUrl(placement) returns that URL.kind: 'unpublished' with the reason attached.aspect-ratioRatio arithmetic for frames about to be encoded. Handles non-integral cinema ratios (2.39:1) the same way it handles 16:9.
import {
simplifyRatio, cropToRatio, padToRatio, alignToBlock, } from '@prismposter/creator-tools/aspect-ratio';
simplifyRatio({ width: 1920, height: 1080 }); // { w: 16, h: 9 }
cropToRatio({ width: 1920, height: 1080 }, { w: 9, h: 16 }); // { result: { width: 608, height: 1080 }, // removed: { top: 0, right: 656, bottom: 0, left: 656 }, // areaKept: 0.3167 }
// Codecs want even dimensions; H.264 chroma subsampling makes an odd // width an encoder error or a silent rescale. alignToBlock({ width: 1081, height: 607 }); // { width: 1082, height: 608 } alignToBlock({ width: 1080, height: 1920 }, 16); // { width: 1088, height: 1920 }
An odd crop remainder always goes to the bottom/right edge. That's arbitrary, but it's *consistent* — splitting it differently per call is how a batch of clips ends up a pixel out of register with each other.
social-sizesPlatform frames and safe areas, with sources.
import {
getPlacement, frameSize, safeAreaPx, safeAreaBox, safeAreaSourceUrl, } from '@prismposter/creator-tools/social-sizes';
const reels = getPlacement('instagram-reels')!; frameSize(reels); // { width: 1080, height: 1920 } safeAreaPx(reels); // { top: 269, bottom: 672, left: 65, right: 65 } safeAreaBox(reels); // { width: 950, height: 979 } safeAreaSourceUrl(reels); // Meta's Reels ads-guide page
const tiktok = getPlacement('tiktok-video')!; safeAreaPx(tiktok); // null — and that is the correct answer tiktok.safeArea.reason; // explains why no fixed table can be right
Meta publishes Reels and Stories as 14% top, 35% bottom, 6% each side. On a 1080×1920 frame that's 269 / 672 / 65 px. The bottom third is not a typo.
safeAreaPx returning null is meaningful — surface it to your user as "this platform publishes no fixed safe area". Don't substitute zeros, and don't borrow another platform's numbers.
subtitlesSRT, WebVTT, and ASS/SSA parsing, conversion, and timing edits. Everything routes through one neutral Cue shape rather than converting format-to-format: six formats would otherwise need thirty converters, each a place a rounding rule can quietly differ.
import { convert, parse, shift, scale, deoverlap }
from '@prismposter/creator-tools/subtitles';
const { output, warnings } = convert(srtText, 'vtt');
// Fix subtitles authored against a different frame rate. scale(parse(srtText).cues, 23.976 / 25);
// Nudge everything 500ms later; cues pushed before zero clamp to zero. shift(cues, 500);
// Clip overlaps so only one cue is ever on screen. deoverlap(cues);
Parsing is tolerant: a malformed block produces a warning and is skipped, rather than costing you the other 899 cues in the file. UTF-8 BOMs and CRLF endings are handled. VTT NOTE/STYLE blocks and inline tags ( , ) are stripped; ASS override blocks ({\an8}) are too.
ASS stores centiseconds, so an ASS round-trip is lossy below 10 ms. convert() tells you so in warnings rather than letting you discover it later.
tempoTap tempo and the beat arithmetic an edit timeline needs.
import { estimateTempo, beatMs, noteMs, beatGrid, snapToBeat }
from '@prismposter/creator-tools/tempo';
estimateTempo(tapTimestamps); // { bpm: 128.02, taps: 16, spreadMs: 8.4, discarded: 1 }
beatMs(120); // 500 noteMs(120, 'quarter', { triplet: true }); // 333.333 beatGrid(120, 10_000); // [0, 500, 1000, … 10000] snapToBeat(480, 120); // { timeMs: 500, deltaMs: 20 }
The estimator takes the median of a trailing window, not the mean. A tap sequence has two failure modes a mean handles badly: the first taps run late while the user finds the beat, and one missed tap creates an interval at roughly double the true period. Outliers are discarded against the median, because a mean would already have been dragged far enough to keep the bad interval inside tolerance.
spreadMs tells you how much to trust the result — under ~20 ms is a steady tapper, over ~60 ms means the estimate is soft. beatGrid computes each position from its index rather than accumulating, so a long sequence cannot drift.
encodingFile size, bitrate, timecode, and frame counts.
import { fileSizeBytes, targetBitrateKbps, bitsPerPixel, toDropFrame }
from '@prismposter/creator-tools/encoding';
fileSizeBytes(60, 8_000); // 60_000_000 bytes targetBitrateKbps(120, 50_000_000); // kbps to hit a 50 MB cap bitsPerPixel(1920, 1080, 30, 8_000); // 0.1286 toDropFrame(1_800, 29.97); // '00:01:00;02'
Unit convention, stated once: bitrates are decimal (1 Mbps = 1,000,000 bits/s, as every encoder and platform spec means it) and file sizes are binary (1 MiB = 1,048,576 bytes, as every OS reports it). Mixing the two is why online calculators disagree by about 5%. formatBytesBinary and formatBytesDecimal are separate functions so the choice is always explicit.
Drop-frame timecode skips *labels*, never frames: numbers 00 and 01 are omitted at the start of each minute except every tenth. That's what keeps 29.97 timecode matching wall clock, which non-drop drifts from by ~3.6 s per hour.
paletteMedian-cut colour quantisation, plus the contrast maths for putting text on what it returns.
import { extractPalette, toHex, readableTextOn } from '@prismposter/creator-tools/palette';
const swatches = extractPalette(pixels, 5); // pixels: { r, g, b }[] swatches.map(toHex); // ['#1b2430', '#3f6d8e', ...] readableTextOn(swatches[0]); // { onColour: 'black' | 'white', ratio: 8.7 }
The box split is chosen at the widest gap along the dominant axis, not at the median pixel count. The textbook median split gives every box the same number of pixels, which is exactly wrong for a photograph: a large flat sky gets subdivided repeatedly while a small saturated accent -- the one colour a designer actually wants -- is averaged into its neighbour and disappears. Splitting at the gap keeps it.
When the source has fewer distinct colours than requested slots you get fewer swatches. Padding the result with near-duplicates would be a palette that lies about the image.
provenanceIs there provenance on this file, and does it say the asset was AI-generated?
import { inspectProvenance } from '@prismposter/creator-tools/provenance';
inspectProvenance(bytes); // { hasC2paManifest: true, hasIptcSourceType: true, hasProvenance: true, // declaresAiGenerated: true, declaresCapture: false, // digitalSourceTypes: ['.../digitalsourcetype/trainedAlgorithmicMedia'], // assertionLabels: ['c2pa.actions.v2', 'c2pa.claim.v2'], // manifestOffset: 41, signatureVerified: false }
Two markings are in circulation and they are constantly confused:
exiftool.A file can carry either, both, or neither. They are reported separately because they carry entirely different weight, and a great many "AI detector" write-ups treat the second as though it were the first.
It does not verify the signature. signatureVerified is always false, deliberately. Proving a manifest is valid needs the full C2PA trust list and certificate-chain validation -- that is what c2patool and c2pa-node are for, and you should use them when trust is the question. This answers the cheaper question those are overkill for, and which is often impossible in a serverless runtime that cannot ship a native binary: *is a credential present, and what does it claim?* That is the check you want when triaging an upload queue and routing only the interesting files on to a real verifier.
A present manifest is not a trusted manifest. Anyone can sign anything with a self-signed certificate, including a lie.
image-metadataRead what a file says about itself -- and, more usefully, notice when it says nothing.
import { readImageMetadata, isStripped } from '@prismposter/creator-tools/image-metadata';
const meta = readImageMetadata(bytes); meta.format; // 'jpeg' | 'png' | 'webp' | 'gif' | ... meta.fields; // parsed EXIF / XMP / text fields isStripped(meta);
Most platforms strip metadata on upload, so an image with none is the normal case rather than a suspicious one. isStripped exists so you can tell a user that instead of showing them an empty table.
gifAn animated GIF encoder: global palette, LZW, sub-blocks, the lot.
import { encodeGif, buildGlobalPalette, indexFrame } from '@prismposter/creator-tools/gif';
const palette = buildGlobalPalette(frames, 256); const bytes = encodeGif({ width, height, palette, frames });
GIF allows 256 colours and one global palette across every frame, so the quantiser matters more than the encoder does -- which is why it shares palette's median cut rather than carrying its own.
mcp (Model Context Protocol Server)@prismposter/creator-tools ships a zero-dependency MCP stdio server so AI assistants (Claude Desktop, Cursor, Windsurf, Cline) can query verified platform safe areas, aspect-ratio crops, bitrates, and subtitle conversions without hallucinating pixel dimensions.
Add to claude_desktop_config.json or .cursor/mcp.json:
{
"mcpServers": { "prismposter-creator-tools": { "command": "npx", "args": ["-y", "@prismposter/creator-tools"] } } }
Exposed MCP tools (all read-only, pure local calculations with an output schema):
get_social_media_placement — one placement's frame size, safe-area insets in pixels, usable box and first-party documentation URL (instagram-reels, youtube-shorts, tiktok-video, etc.), plus a crop / letterbox plan for your source sizelist_social_media_placements — every placement, or one platform's, for browsing and comparisoncheck_safe_area — whether a只显示了开头部分;其余内容请在仓库中阅读