Skip to main content
Glama

Edutube MCP

🌐 프로젝트 사이트 (GitHub Pages): https://engmohammeda.github.io/edutube-mcp/ — 실제 추출된 강의의 라이브 탐색기를 포함합니다.

YouTube 재생 목록과 동영상을 구조화된 강의, 분석, 프레임 및 퀴즈로 변환 — Google Gemini와 자동 모델 로테이션 사용.

AI 에이전트 및 LMS 파이프라인을 위한 MCP stdio 서버 + CLI. 재생 목록 URL을 붙여넣으면 강의별 JSON을 반환합니다: 아랍어 번역이 포함된 축어적 대화, 핵심 표현, 어휘, 문화/발음 메모, 10문항 퀴즈 — 자막뿐만 아니라 실제 오디오 영상에서 추출됩니다.

playlist URL ──▶ Edutube ──▶ lesson-01.json … lesson-NN.json + lessons-all.json

기능

  • URL로 재생 목록 가져오기 — YouTube 재생 목록 URL(또는 재생 목록 ID, 단일 동영상 URL)을 붙여넣기만 하면 됩니다. YOUTUBE_API_KEY가 설정된 경우 YouTube Data API를 통해 항목이 확인되고, 그렇지 않으면 yt-dlp --flat-playlist를 통해 자동으로 확인됩니다(추가 키 불필요).

  • 구조화된 강의 추출 — 내장 LMS 스키마(대화 / key_expressions / global_vocabulary / lesson_notes / quiz)와 자체 형식을 위한 사용자 정의 스키마 옵션.

  • 창 기반 폴백이 있는 긴 동영상 파이프라인 — 먼저 전체 동영상 패스를 시도하고, 실패하면(할당량, 마감 시간, 매우 긴 VOD) 자동으로 150초 창 추출로 전환하여 병합 및 중복 제거를 수행합니다.

  • 자동 모델 로테이션 — 모든 Gemini 모델에는 자체 무료 티어 할당량 풀이 있습니다. 429 RESOURCE_EXHAUSTED 발생 시 동일한 요청이 다음 사용 가능한 모델에서 투명하게 재시도됩니다. 모델 카탈로그는 Gemini API에서 실시간으로 발견되므로 새 모델(예: gemini-3.6-flash, gemini-3.7-*)이 코드 변경 없이 로테이션에 합류합니다.

  • 멀티모달 분석 도구analyze_youtube_video(오디오 + 영상), analyze_youtube_video_audio(음성 우선), yt-dlp + ffmpeg를 사용한 정확한 JPEG 프레임 추출, YouTube Data API를 통한 메타데이터.

  • 긴 VOD 및 세션 — 작업 기반 analyze_long_youtube_video, 재사용 가능한 sessionId 후속 작업, 호환성 백그라운드 작업(start_long_youtube_analysis → 폴링 → 결과 → 취소).

  • 재개 안전 배치 — 이미 유효한 강의 파일은 건너뛰고, 중단된 실행은 중단된 지점에서 계속됩니다.

  • CLI 모드edutube-mcp extract <url>은 MCP 클라이언트 없이 작동합니다.

Related MCP server: YT-NINJA

요구 사항

  • Node.js ≥ 20

  • Google Gemini API 키(GEMINI_API_KEY)

  • 선택 사항: YOUTUBE_API_KEY(메타데이터 도구 + 더 빠른 재생 목록 가져오기)

  • 선택 사항이지만 권장: PATH에 yt-dlpffmpeg(또는 YT_DLP_PATH)

빠른 시작 (MCP 클라이언트)

{
  "mcpServers": {
    "edutube": {
      "command": "npx",
      "args": ["-y", "@engmohammeda/edutube-mcp"],
      "env": {
        "GEMINI_API_KEY": "your_gemini_key_here",
        "YOUTUBE_API_KEY": "optional_youtube_key_here"
      }
    }
  }
}

소스에서:

git clone https://github.com/engmohammeda/edutube-mcp.git
cd edutube-mcp
npm install && npm run build
cp .env.example .env   # fill GEMINI_API_KEY
npm start              # MCP stdio server

빠른 시작 (CLI)

# extract a whole playlist into ./edutube-output
edutube-mcp extract "https://www.youtube.com/playlist?list=PL..." --out ./edutube-output --max 20

# or a single video
edutube-mcp extract "https://www.youtube.com/watch?v=VIDEO_ID" --out ./lessons

표준 출력은 깔끔한 JSON입니다(진행 상황은 stderr로 이동). 따라서 스크립트와 LMS 임포터에 직접 파이프할 수 있습니다.

도구 (15)

도구

용도

start_edutube_extraction

재생 목록/동영상 URL 붙여넣기outputDir에 구조화된 강의를 작성하는 백그라운드 작업

get_edutube_job_status / get_edutube_job_result / cancel_edutube_job

edutube 작업 폴링, 가져오기, 취소

analyze_youtube_video

멀티모달 분석(오디오 + 영상), 사용자 정의 프롬프트 및 JSON 스키마, 클립 창

analyze_youtube_video_audio

트랜스크립트 세그먼트가 포함된 음성 우선 분석

get_youtube_video_frame

타임스탬프의 정확한 고해상도 JPEG 프레임(선택적 Gemini 타임스탬프 정제)

get_youtube_video_metadata

YouTube Data API를 통한 정규화된 메타데이터

get_youtube_analyzer_capabilities

로컬 yt-dlp/ffmpeg/temp 지원 검사

analyze_long_youtube_video

MCP 작업으로 긴 VOD 처리, 재사용 가능한 sessionId 반환

continue_long_video_analysis

캐시된 세션에 대한 후속 질문

start_long_youtube_analysis / get_long_..._status / get_long_..._result / cancel_long_...

고정 타임아웃이 있는 클라이언트를 위한 호환성 작업 워크플로

구성

변수

용도

GEMINI_API_KEY

필수

YOUTUBE_API_KEY

선택 사항(Data API를 통한 메타데이터 + 재생 목록)

GEMINI_MODEL

선호 모델(기본값 gemini-2.5-flash, 무료 티어에서 권장)

GEMINI_MODEL_ROTATION

선택 사항, 쉼표로 구분된 명시적 로테이션 순서

EDUTUBE_OUTPUT_DIR

기본 강의 출력 디렉터리

YT_DLP_PATH

명시적 yt-dlp 실행 파일

클라이언트 통합

Claude Code

claude mcp add edutube --transport stdio -- node /path/to/edutube-mcp/dist/index.js

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "edutube": {
      "command": "node",
      "args": ["/path/to/edutube-mcp/dist/index.js"],
      "env": { "GEMINI_API_KEY": "..." }
    }
  }
}

Codex (~/.codex/config.toml)

[mcp_servers.edutube]
command = "node"
args = ["/path/to/edutube-mcp/dist/index.js"]
env = { GEMINI_API_KEY = "..." }

문서

개인정보 및 제한 사항

미디어, URL 및 프롬프트는 Google Gemini로 전송됩니다. 무료 티어 키는 모델당 일일 할당량이 작습니다(모델당 하루 약 20회 요청). 자동 로테이션은 키의 모든 모델에 작업을 분산합니다. 프로덕션 배치에는 유료(종량제) 키를 사용하세요. 비공개, 연령 제한, DRM 또는 지역 차단 동영상은 실패할 수 있습니다. YouTube 및 Gemini 약관을 준수할 책임은 사용자에게 있습니다.

라이선스

MIT — LICENSE 참조.


아랍어

Edutube MCP — YouTube 재생 목록과 동영상을 LMS로 가져올 준비가 된 구조화된 강의로 변환합니다: 아랍어 번역이 포함된 전체 대화, 핵심 표현, 필수 예문이 포함된 어휘, 문화/발음 메모(아랍어), 다양한 유형의 10문항 퀴즈 — 자막 텍스트뿐만 아니라 실제 오디오 영상에서 추출됩니다.

주요 기능:

  • start_edutube_extraction 도구(또는 CLI 명령 edutube-mcp extract)를 통해 링크를 붙여넣기만 하면 재생 목록을 가져옵니다, 완료된 강의를 건너뛰는 자동 재개 기능 포함.

  • Gemini 모델 간 자동 로테이션: 모델 할당량이 소진되면(429) 요청이 자동으로 다음 모델로 재시도되며, 키에 사용 가능한 새 모델을 동적으로 감지합니다.

  • 실패 시 150초 창 대체 경로가 있는 긴 동영상 경로, 병합 및 중복 제거.

  • 멀티모달 분석, 정확한 JPEG 프레임 추출, 메타데이터, 고정 타임아웃이 있는 클라이언트를 위한 백그라운드 기능을 포함한 15개의 MCP 도구.

빠른 시작: .env.example.env로 복사하고 GEMINI_API_KEY를 설정한 다음 npm install && npm run build && npm start를 실행하거나 CLI를 직접 사용하세요. 자세한 내용과 Claude Code, Cursor, Codex와의 통합은 위 문서를 참조하세요.

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Transforms YouTube into a queryable knowledge source with search, video details, transcript analysis, and AI-powered tools for summaries, learning paths, and knowledge graphs. Features quota-aware API access with caching and optional OpenAI/Anthropic integration for advanced content analysis.
    10
    590
    1
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Enables AI-powered YouTube video analysis including transcript management, video summaries, chapter generation, keyword extraction, and playback control. Supports searching videos, retrieving channel/playlist information, and translating transcripts using Google Gemini AI.
    14
  • F
    license
    A
    quality
    C
    maintenance
    Enables analysis of YouTube videos using the Gemini API to generate summaries and answer specific questions via direct URLs. It supports standard videos and shorts, allowing users to interact with video content without requiring manual downloads.
    5
    4

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/engmohammeda/edutube-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server