Add it to Claude Code
claude mcp add mcp-youtube-intelligence -- mcp-yt stdioMake your agent remember this setup
mcp-youtube-intelligence's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Server-side transcript summarization optimized for low token usage
- Structured reporting including topics, entities, and sentiment analysis
- YouTube channel monitoring and playlist processing
- Batch processing capabilities for multiple videos
- SQLite/PostgreSQL caching for efficient data retrieval
Tools 4
reportGenerates a comprehensive video analysis report including summary, topics, entities, and comments.transcriptExtracts and summarizes video transcripts with token optimization.searchPerforms a YouTube search for videos based on keywords.monitorSubscribes to a channel for monitoring updates.Environment Variables
MYI_LLM_PROVIDERThe LLM provider to use for analysis (e.g., ollama)MYI_OLLAMA_MODELThe specific Ollama model to useMYI_OLLAMA_BASE_URLThe base URL for the Ollama serverTry it
Original README from JangHyuckYun/mcp-youtube-intelligence
🌐 English | 한국어
MCP YouTube Intelligence
YouTube 영상을 지능적으로 분석하는 MCP 서버 + CLI
MCP (Model Context Protocol)는 Claude, Cursor 같은 AI 도구가 외부 서비스를 사용할 수 있게 해주는 표준 프로토콜입니다. 이 서버를 연결하면 "이 영상 요약해줘" 한마디로 분석이 완료됩니다.
🎯 핵심 가치: 원본 자막(2,000~30,000 토큰)을 서버에서 처리하여 LLM에는 ~200–500 토큰만 전달합니다.
🤔 왜 이 서버인가?
대부분의 YouTube MCP 서버는 원본 자막을 그대로 LLM에 던집니다.
| 기능 | 기존 MCP 서버 | MCP YouTube Intelligence |
|---|---|---|
| 자막 추출 | ✅ | ✅ |
| 서버사이드 요약 (토큰 최적화) | ❌ | ✅ |
| 구조화된 리포트 (요약+토픽+엔티티+댓글) | ❌ | ✅ |
| 채널 모니터링 (RSS) | ❌ | ✅ |
| 댓글 감성 분석 | ❌ | ✅ |
| 토픽 세그멘테이션 | ❌ | ✅ |
| 엔티티 추출 (한/영 200+개) | ❌ | ✅ |
| 자막/YouTube 검색 | ❌ | ✅ |
| 배치 처리 | ❌ | ✅ |
| SQLite/PostgreSQL 캐시 | ❌ | ✅ |
🚀 빠른 시작
1. 설치
pip install mcp-youtube-intelligence
pip install yt-dlp # 자막 추출에 필요
💡 LLM 없이도 기본 요약(핵심 문장 추출)은 동작합니다. 고품질 요약을 원하면 아래 LLM 설정을 참고하세요.
2. 첫 번째 명령어 실행
# 리포트 생성 — 요약, 토픽, 엔티티, 댓글을 한번에 분석 (LLM 연동필요)
mcp-yt report "https://www.youtube.com/watch?v=LV6Juz0xcrY"
# 자막 요약만
mcp-yt transcript "https://www.youtube.com/watch?v=LV6Juz0xcrY"
# 영상 ID만 써도 됩니다
mcp-yt report LV6Juz0xcrY
⚠️ zsh 사용자: URL에
?가 있으므로 반드시 따옴표로 감싸세요.
📋 리포트 출력 예시
mcp-yt report "https://www.youtube.com/watch?v=LV6Juz0xcrY" 실행 결과 (extractive 요약):
# 📹 Video Analysis Report: OpenClaw Use Cases that are Actually Helpful! (ClawdBot)
> Channel: Duncan Rogoff | AI Automation | Duration: 16:29 | Language: en_ytdlp
## 1. Summary
OpenClaw is the most powerful AI agent framework in the world right now and
it's about to replace your entire workflow. I spent over $200 in the last
48 hours stress testing the system so you don't have to. It defines who it
is, how it behaves, and crucial behavioral boundaries. If you think open
claw is cool, just check out this video up here of 63 insane use cases
that other people are doing.
## 2. Key Topics
| # | Topic | Keywords | Timespan |
|---|-------|----------|----------|
| 1 | framework, world, right | framework, world, right | 0:00~0:05 |
| 2 | like, really, there | like, really, there | 0:05~2:23 |
| 3 | like, max, using | like, max, using | 2:23~4:22 |
| 4 | going, like, something | going, like, something | 4:22~5:03 |
| 5 | like, agents, basically | like, agents, basically | 5:03~6:04 |
| ... | ... | ... | ... |
| 15 | think, open, claw | think, open, claw | 16:24~16:29 |
## 4. Keywords & Entities
- **Technology**: GitHub, LLM, GPT
- **Company**: Anthropic, Apple
## 5. Viewer Reactions
- Total comments: 20
- Sentiment: Positive 45% / Negative 0% / Neutral 55%
- Top opinions:
- **@geetee2583** (positive, 👍8): Great info. Just need your inset video out of the way...
- **@bdog4026** (positive, 👍3): This tool is wild! Definitely the most in depth explanation...
- **@magalyvilela4917** (neutral, 👍3): Came to this video wondering it gonna teach me how to set up...
📖 CLI 전체 명령어
📊 리포트 (핵심 기능)
⚠️ **리포트의 요약 섹션은 LLM 연동이 필수입니다. Ollama 빠른 설정 (무료, 3분이면 끝):
# 1. Ollama 설치: https://ollama.ai # 2. 모델 다운로드 ollama pull qwen2.5:7b # 3. 환경변수 설정 export MYI_LLM_PROVIDER=ollama export MYI_OLLAMA_MODEL=qwen2.5:7b # 원격 서버라면 호스트도 지정 export MYI_OLLAMA_BASE_URL=http://your-server:11434
mcp-yt report "https://youtube.com/watch?v=VIDEO_ID"
mcp-yt report VIDEO_ID --provider ollama # LLM 프로바이더 지정
mcp-yt report VIDEO_ID --no-comments # 댓글 제외
mcp-yt report VIDEO_ID -o report.md # 파일 저장
🎯 자막 추출 + 요약
mcp-yt transcript VIDEO_ID # 요약 (~200–500 토큰)
mcp-yt transcript VIDEO_ID --mode full # 전체 자막
mcp-yt transcript VIDEO_ID --mode chunks # 청크 분할
mcp-yt --json transcript VIDEO_ID # JSON 출력
기타
mcp-yt video VIDEO_ID # 메타데이터
mcp-yt comments VIDEO_ID --max 20 # 댓글 (감성 분석 포함)
mcp-yt entities VIDEO_ID # 엔티티 추출
mcp-yt segments VIDEO_ID # 토픽 세그멘테이션
mcp-yt search "키워드" --max 5 # YouTube 검색
mcp-yt monitor subscribe @채널핸들 # 채널 모니터링
mcp-yt playlist PLAYLIST_ID # 플레이리스트
mcp-yt batch ID1 ID2 ID3 # 배치 처리
mcp-yt search-transcripts "키워드" # 저장된 자막 검색
💡 모든 명령어에
--json플래그를 추가하면 JSON 출력됩니다.
🔌 MCP 서버 연결
MCP 서버는 stdio 프로토콜로 통신합니다.
Claude Desktop / Cursor / OpenCode
설정 파일에 추가 (claude_desktop_config.json, .cursor/mcp.json, mcp.json):
{
"mcpServers": {
"yout