
YTAPI
dev.ytapiv1.0.0更新於 Oct 8, 2026
YouTube transcripts, video details, search, channels and playlists. OAuth sign-in or API key.
概覽
讓助理透過託管的 YTAPI 端點取得 YouTube 字幕、影片詳情、搜尋結果、頻道上傳內容與播放清單。
- 功能
- 提供 YouTube 資料技能:任何語言的字幕與逐字稿,可輸出文字、Markdown、帶時間戳的 JSON、SRT 或 VTT;影片詳情;跨影片、頻道、播放清單與 Shorts 的搜尋;頻道簡介與上傳清單;播放清單內容;以及影片或頻道近期上傳內容的摘要。它是透過 HTTPS 存取的遠端 MCP 伺服器,不需要在本機安裝,適合直接抓取 YouTube 會失敗的環境。
- 適用情境
- 當助理需要 YouTube 字幕、中繼資料、搜尋或頻道與播放清單清單時使用,尤其是在伺服器或雲端代理上直接抓取 YouTube 會遇到流量限制、機器人檢查或 IP 封鎖的情況。也適合對影片與頻道做摘要與研究。
- 執行需求
- 透過 streamable HTTP 連線至 api.ytapi.dev 的遠端端點;不需要套件或本機執行環境。驗證方式為 OAuth 登入 YTAPI 帳號,或使用從 YTAPI_API_KEY 環境變數讀取的 API 金鑰。新帳號有 200 個免費額度;付費額度包 2,000 額度起價 9 美元。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 YTAPI,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"youtube": {
"type": "http",
"url": "https://api.ytapi.dev/mcp"
}
}
}README
YouTube skills for AI agents
Agent skills for YouTube transcripts, search, channels and playlists, powered by YTAPI. They work with Claude Code, Codex, Cursor, OpenClaw, Hermes Agent and any agent that reads Agent Skills.
Plain HTTPS calls with curl, nothing else to install. They also work where
fetching YouTube directly fails: on servers and cloud agents, tools like
yt-dlp often get HTTP 429, a bot check or an IP block.
Install
Claude plugin: the YTAPI MCP server plus skills for video summaries, channel digests and topic research. In Claude Code:
The first time Claude uses a YTAPI tool, run /mcp and sign in to your YTAPI
account (or create one: 200 free credits, no card). No API key needed. The
plugin lives in plugins/ytapi.
Claude Code, Codex, Cursor, Cline and others (skills.sh):
One skill only:
OpenClaw (ClawHub):
Hermes Agent:
Not a developer? Paste this to your agent:
Install the YouTube skill from https://github.com/ytapi/youtube-skills and set up my YTAPI key.
Skills
Install ytapi if you are unsure.
API key
The skills read the key from YTAPI_API_KEY. If it is not set, the agent
offers to create a free account for you: you give it your email address and
the 6-digit code we send you, and it stores the key. No browser and no card.
Or create a key yourself at ytapi.dev.
New accounts get 200 free credits. One successful request uses one credit (video basic info and search suggestions are free); failed requests are free. Until you buy a credit pack, a key can make 1 request per second and 100 per day. Packs start at $9 for 2,000 credits and never expire: pricing.
Examples
- "Summarize this video: https://youtu.be/dQw4w9WgXcQ"
- "Get the Spanish subtitles of this talk as an SRT file."
- "Find this week's most-viewed videos about Rust async and tell me what they cover."
- "What has @mkbhd uploaded lately? Give me a two-line summary of each."
- "List every video in this playlist with its length."
Links
- Docs: https://docs.ytapi.dev (for agents: https://docs.ytapi.dev/llms-full.txt)
- Remote MCP server: https://docs.ytapi.dev/agent-setup/#mcp
- Agent sign-up API: https://docs.ytapi.dev/agent-signup/
- Support: [email protected]
Contributing
Each skill carries a copy of shared/auth-setup.md in its references/
folder, because skills are installed one at a time. Edit the file in
shared/, then run ./scripts/sync-references.sh.
The Claude plugin in plugins/ytapi has its own skills, which use the MCP
tools and never handle an API key. When you change them, bump version in
plugins/ytapi/.claude-plugin/plugin.json: Claude Code keeps plugin users on
the version listed there.
Licensed MIT-0.
來源:README.md,提交 5af959c
工具
0版本歷史
1- v1.0.0最新Oct 8, 2026
