MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
作者提供的说明(英文原文)
Ask about a YouTube video or fetch its transcript. Paid per call in USDC on Solana via x402.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SVM_PRIVATE_KEY, RECAPFY_API_BASE_URL, RECAPFY_ALLOW_INSECURE_TLS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"recapfy": {
"command": "npx",
"args": [
"-y",
"recapfy-mcp"
],
"env": {
"SVM_PRIVATE_KEY": "your-value",
"RECAPFY_API_BASE_URL": "your-value",
"RECAPFY_ALLOW_INSECURE_TLS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add recapfy --env SVM_PRIVATE_KEY=your-value --env RECAPFY_API_BASE_URL=your-value --env RECAPFY_ALLOW_INSECURE_TLS=your-value -- npx -y recapfy-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"recapfy": {
"command": "npx",
"args": [
"-y",
"recapfy-mcp"
],
"env": {
"SVM_PRIVATE_KEY": "your-value",
"RECAPFY_API_BASE_URL": "your-value",
"RECAPFY_ALLOW_INSECURE_TLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"recapfy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"recapfy-mcp"
],
"env": {
"SVM_PRIVATE_KEY": "your-value",
"RECAPFY_API_BASE_URL": "your-value",
"RECAPFY_ALLOW_INSECURE_TLS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
RECAPFY_API_BASE_URL envRECAPFY_ALLOW_INSECURE_TLS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 pedrot95dev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SVM_PRIVATE_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.8)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
An MCP server that exposes Recapfy's paid endpoints as tools — ask anything about a YouTube video and fetch a video's full transcript — straight from an MCP-capable agent like Claude Desktop, Cursor, or Cline. It runs locally — there's no hosted Recapfy MCP endpoint; you launch your own copy.
Each call is paid in USDC on Solana (dynamic price, scales with maxOutputTokens), settled automatically via the x402 protocol. You bring your own wallet; you pay only for what you call.
📦 npm: recapfy-mcp
solana-keygen).⚠️ The key signs real payments. Use a dedicated low-balance wallet, never share
it, and never commit it.
No clone or build needed. Add this to your MCP client config (Claude Desktop: claude_desktop_config.json) and restart the client:
{
"mcpServers": { "recapfy": { "command": "npx", "args": ["-y", "recapfy-mcp@latest"], "env": { "SVM_PRIVATE_KEY": " " } } } }
Always use `recapfy-mcp@latest`. A bare
npx -y recapfy-mcpreuses
whatever is in npx's cache and never re-checks the registry, so you can stay
pinned to an old build (and miss new tools) indefinitely. The
@latesttag
forces npx to resolve the newest published version on every launch.
New versions (including new tools/endpoints) are picked up automatically when two things happen, because of two independent caches:
recapfy-mcp@latest (as above) makes npx fetch the newest published version each launch. Without @latest, npx serves the cached copy and you stay on an old build.So after a release: keep @latest and restart your client. If a brand-new tool still doesn't show up, force a clean fetch:
npx clear-npx-cache # or: rm -rf "$(npm config get cache)/_npx"
then restart the client again.
| Variable | Required | Description |
|---|---|---|
SVM_PRIVATE_KEY | yes | Base58-encoded Solana secret key. Pays per call. Keep it funded. |
RECAPFY_API_BASE_URL | no | Override the API base URL (defaults to https://api.recapfy.ai). For local dev. |
RECAPFY_ALLOW_INSECURE_TLS | no | Set to 1 to accept self-signed TLS (local dev over https only). |
ask| Input | Type | Required | Description |
|---|---|---|---|
videoUrl | string | yes | Absolute http(s) URL of the YouTube video. |
prompt | string | yes | What to ask about the video. |
maxOutputTokens | integer | no | Max tokens in the answer (default 1024). Drives the dynamic price. |
Returns the agent's answer as text. Payment is settled before the answer returns. The per-call price is dynamic: the API quotes the USDC amount in the 402 challenge based on maxOutputTokens, and your wallet pays whatever is quoted — so keep maxOutputTokens sensible.
get_transcript| Input | Type | Required | Description |
|---|---|---|---|
videoUrl | string | yes | Absolute http(s) URL of the YouTube video. |
Returns the video's full transcript as timestamped segments, plus its title, channelName, and durationSeconds. The text content is a readable, timestamped transcript; the structured content carries the raw transcript array (each segment is { timestampInSeconds, text }). The per-call price is flat USDC, quoted in the 402 challenge and paid automatically.
Built on the official Coinbase x402 v2 client packages (@x402/fetch, @x402/svm, @x402/core) plus @solana/kit for signing:
${RECAPFY_API_BASE_URL} (/api/v1/agents/ask or /api/v1/agents/get-transcript).402 with requirements in the PAYMENT-REQUIRED header (exact SVM scheme, USDC, dynamic amount, and a facilitator feePayer that sponsors the network fee).PAYMENT-SIGNATURE header.PAYMENT-RESPONSE settlement header.Inspect the tools without spending anything using the MCP Inspector (it only signs a payment when you actually invoke a tool, so any key is fine just to browse):
SVM_PRIVATE_KEY=<key> npx @modelcontextprotocol/inspector npx -y recapfy-mcp@latest
Open the printed URL → Tools → ask / get_transcript. Invoking a tool with a funded wallet performs a real paid call; verify the spend on a Solana explorer.
| Symptom | Cause / fix |
|---|---|
Missing required environment variable ... | SVM_PRIVATE_KEY not set. |
SVM_PRIVATE_KEY is not valid base58 | Needs base58 of the 64-byte secret key. |
400 ... maxOutputTokens must be greater than 0 | Pass a positive maxOutputTokens (the tool defaults to 1024). |
400 ... prompt | prompt is required and non-empty. |
| New tool/endpoint missing after an update | Pin recapfy-mcp@latest, restart the client, then clear the npx cache (see Updating). |
| 402 loop / "Failed to create payment payload" | Wallet has no USDC on mainnet, or wrong network. Fund it. |
| TLS error against a local API over https | Set RECAPFY_ALLOW_INSECURE_TLS=1 (localhost dev only). |
MIT