youtube-studio-mcp
YouTube Studio & Channel Analytics MCP Server
YouTube Studio 및 채널 인텔리전스를 위한 프로덕션급 Model Context Protocol(MCP) 서버
AI 어시스턴트(Claude, Cursor, Antigravity 등)가 YouTube 채널을 분석하고, 동영상 지표를 추적하고, YouTube Studio 분석을 심층 분석하며, 시청자 트래픽 소스를 파악하고, 커뮤니티 정서를 분석할 수 있도록 지원합니다 — 전적으로 .env를 통해 구성됩니다.
🚀 기능 및 MCP 도구 모음
YouTube Studio MCP는 8가지 특화 도구를 제공합니다:
도구 | 범주 | 설명 |
| 채널 통계 | 채널 제목, 핸들, 구독자 수, 총 누적 조회수, 동영상 수, 주제 카테고리 및 설명을 반환합니다. |
| 스튜디오 분석 | 임의의 기간( |
| 인구통계 및 트래픽 | 차원별 상세 분석: |
| 동영상 인텔리전스 | 모든 날짜 범위에서 조회수, 시청 시간(분) 또는 신규 구독자 수 기준으로 상위 동영상 순위를 제공합니다. |
| 동영상 심층 분석 | 단일 특정 동영상에 대한 심층 분석(일별 추이, 시청 시간, 시청자 유지율, 트래픽 소스). |
| 콘텐츠 인벤토리 | 업로드된 동영상을 현재 조회수, 좋아요 수, 댓글 수, 길이 및 공개 상태와 함께 나열합니다. |
| 동영상 메타데이터 | 지정된 동영상 ID에 대한 전체 메타데이터, 태그, 설명, 카테고리 및 통계를 반환합니다. |
| 커뮤니티 및 정서 분석 | 감정 분석 및 피드백을 위해 채널 전체 또는 특정 동영상에서 상위 댓글 스레드와 답글을 검색합니다. |
Related MCP server: YouTube MCP Server
⚙️ 환경 구성(.env)
모든 자격 증명과 설정은 .env에서 직접 읽어옵니다:
# Google OAuth 2.0 Credentials (from Google Cloud Console)
YOUTUBE_CLIENT_ID=your_client_id.apps.googleusercontent.com
YOUTUBE_CLIENT_SECRET=your_client_secret
# OAuth Refresh Token (written automatically by run_auth.py)
YOUTUBE_REFRESH_TOKEN=🛠️ 단계별 설정 가이드
1. uv로 저장소 복제 및 의존성 설치
git clone https://github.com/Dhananjayrbiraris/youtube-mcp.git
cd youtube-mcp
uv venv
uv pip install -e .2. Google Cloud 프로젝트 설정(1회)
Google Cloud Console을 엽니다.
새 프로젝트를 생성합니다(예:
YouTube-Studio-MCP).**API 및 서비스(APIs & Services) > 라이브러리(Library)**에서 다음을 사용 설정합니다:
YouTube Data API v3
YouTube Analytics API
**OAuth 동의 화면(OAuth consent screen)**에서:
사용자 유형: 외부(External) -> 앱 이름과 본인의 이메일을 입력합니다.
**테스트 사용자(Test users)**에 본인의 Google 이메일 주소를 추가합니다.
**사용자 인증 정보(Credentials)**에서:
**사용자 인증 정보 만들기(Create Credentials) > OAuth 클라이언트 ID(OAuth client ID)**를 클릭합니다.
애플리케이션 유형: 데스크톱 앱(Desktop App).
**클라이언트 ID(Client ID)**와 **클라이언트 보안 비밀번호(Client Secret)**를 복사합니다.
이를
.env에 붙여넣습니다:YOUTUBE_CLIENT_ID=123456789-xxxx.apps.googleusercontent.com YOUTUBE_CLIENT_SECRET=GOCSPX-xxxx
3. 원클릭 인증 도구 실행
uv run run_auth.py브라우저에서 원클릭 Google OAuth 로그인이 실행됩니다. 그러면 **YOUTUBE_REFRESH_TOKEN**이 .env 파일에 자동으로 기록됩니다.
4. AI 클라이언트에 연결
Claude Desktop
claude_desktop_config.json에 다음을 추가합니다:
{
"mcpServers": {
"youtube-studio": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/youtube-mcp",
"run",
"youtube-studio-mcp"
]
}
}
}💡 AI 프롬프트 예시
"지난 28일 동안 내 YouTube 채널의 성과 개요를 알려줘."
"내 트래픽은 대부분 어디에서 오고 있나요(검색, 추천 동영상 또는 탐색 기능)?"
"이번 달에 가장 많은 구독자를 확보한 동영상은 무엇인가요?"
"내 최신 동영상 댓글에서 공통된 주제와 질문을 요약해 줘."
"연령대 및 국가별 시청자 구성을 보여줘."
🧪 테스트
테스트 스위트를 실행합니다:
pytest📄 라이선스
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여됩니다.
Maintenance
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
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search videos, read channels, browse playlists, fetch comments, and get transcripts from YouTube using the YouTube Data API v3 and InnerTube API for captions.2GPL 3.0
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with comprehensive YouTube analytics and channel management capabilities, including channel performance, video analytics, audience insights, and content strategy tools.381
- AlicenseAqualityCmaintenanceEnables AI assistants to access YouTube organic analytics, including channel stats, video performance, watch time, and audience engagement, via the YouTube Data API v3 and Analytics API v2.621MIT
- FlicenseAqualityCmaintenanceEnables AI assistants to analyze YouTube channels, videos, transcripts, and content strategy through structured tool calls.1738
Related MCP Connectors
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…
Manage your Vidalytics videos and analytics from your AI assistant.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Dhananjayrbiraris/youtube-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server