
umbertotancorre/youtube-mcp-cli
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP 서버 및 CLI 도구는 AI Agent 액세스를 YouTube에 제공합니다
개요
YouTube는 지식이 가득하지만 거기에 갇혀 있습니다. AI 에이전트는 기본적으로 접근 할 수 없습니다. 이 재포는 두 가지 패키지를 발송합니다. 이 패키지는 AI Agent 및 CLI를 위한 MCP 서버입니다. - Fetch transcript (plain text or with timestamps) - 비디오 메타 데이터를 가져 오기 - 캡션 내에서 검색 - 비디오 또는 오디오를 다운로드 - MCP: @umbertotancorre/youtube-mcp - CLI: @umbertotancorre/youtube-cli 다운로드 video and download audio 완전 자동 유지. yt-dlp 및 ffmpeg는 npm install에서 자동으로 다운로드됩니다. MCP 클라이언트 구성에 이것을 추가하십시오 (예: claude desktop config.json): 모든 도구는 자동으로 나타납니다. 필요 없음, npx는 첫 번째 실행에 그것을 처리합니다. 다운로드는 항상 플랫폼에 이동-native 다운로드 폴더: npm workspaces monorepo는 3개의 포장으로 입니다:
개요(AI 번역)
Zero Setup · API 키 없음 · 계정 없음 · 오픈 소스
YouTube는 지식이 가득하지만 거기에 갇혀 있습니다. AI 에이전트는 기본적으로 접근 할 수 없습니다. 이 재포는 두 가지 패키지를 발송합니다. 이 패키지는 AI Agent 및 CLI를 위한 MCP 서버입니다.
- Fetch transcript (문서 또는 타임스탬프)
.md로 성적표 다운로드- 비디오 메타데이터 받기
- 캡션 내에서 검색
- 비디오 또는 오디오 다운로드
유효한 것과 같이:
- MCP:
@umbertotancorre/youtube-mcp - CLI:
@umbertotancorre/youtube-cli
모든 지역. API 키가 필요하지 않습니다.
내용 표
- MCP 서버
- 도구
- 설치
- 클립
- 명령
- 설치
- 개발
- 면책
- 라이센스
MCP 서버
도구
| 도구 | 설명 |
|—|||
| get_transcript | 일반 텍스트로 전체 성적표 |
| get_transcript_timed | Transcript with [MM:SS] 세그먼트별 타임 스탬프 |
| download_transcript | [T7]] 파일로 문자를 저장 |
| download_transcript_timed | .md] 파일로 문자를 저장 |
| get_metadata | 타이틀, 채널, 출판일, 횟수, 내구, 좋아, 설명 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
YouTube MCP server and CLI
Zero Setup · No API Key · No Account · Open Source
YouTube is full of knowledge, but it is trapped there. AI agents cannot access it natively. This repo ships two packages that fix that: an MCP server for AI agents and a CLI for the terminal.
- Fetch transcript (plain text or with timestamps)
- Download transcript as
.md - Get video metadata
- Search within captions
- Download video or audio
Available as:
All locally. No API keys required.
Table of Contents
MCP Server
Tools
| Tool | Description |
|---|---|
get_transcript |
Fetches the full transcript as plain text |
get_transcript_timed |
Transcript with [MM:SS] timestamps per segment |
download_transcript |
Saves transcript as a .md file |
download_transcript_timed |
Saves transcript as a .md file with timestamps |
get_metadata |
Returns title, channel, publish date, view count, duration, likes, and description |
search_transcript |
Searches for a keyword or phrase and returns matching segments with timestamps |
download_video |
Downloads video+audio as .mp4 |
download_audio |
Downloads audio as .mp3 (or m4a, flac, opus, …) |
download_video and download_audio are fully self-contained. yt-dlp and ffmpeg are downloaded automatically on npm install.
Installation
Method A: let your AI do it
Tell your AI agent:
Add youtube-mcp as an MCP server. Run it with: npx @umbertotancorre/youtube-mcp
Method B: manual config
Add this to your MCP client config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": ["-y", "@umbertotancorre/youtube-mcp"]
}
}
}
All tools appear automatically. No install needed, npx handles it on first run.
CLI
Commands
youtube-cli transcript Print transcript as plain text
youtube-cli transcript --timestamps Include [MM:SS] timestamps
youtube-cli transcript --save Save as .md to Downloads
설치
npx -y @umbertotancorre/youtube-mcp설정
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": ["-y", "@umbertotancorre/youtube-mcp"]
}
}
}