# YouTube MCP server for AI agents

> Give Claude, Cursor or any MCP client YouTube data: 10 endpoints from $0.002 a call, no YouTube login. Your AI finds the endpoint, says the price and fetches.

Canonical page: https://okdata.online/ko/mcp/youtube/

## Connect your AI in one sentence

```text
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
```

## What it answers

| Question | Endpoint | Price |
|---|---|---|
| YouTube 동영상 검색: 키워드와 일치하는 동영상을 조회수, 길이, 채널과 함께 반환합니다. 게시 시간은 대략적입니다(YouTube 검색 표기 "1 year ago"). 정확한 시간은 youtube.videos.get을 호출하세요. most_viewed는 YouTube 인기 필터를 사용하므로 페이지가 더 짧고(보통 5개) 각 페이지 안에서 조회수순으로 정렬됩니다. latest는 관련성순으로 대체됩니다. | [youtube.videos.search](https://okdata.online/apis/youtube/videos/search/) | $0.004 per call · about 20 videos per page |
| YouTube 동영상 상세: ID나 링크로 동영상 하나를 조회합니다: 제목, 설명, 조회수, 좋아요, 댓글, 게시 시각, 채널을 정확한 수치로 제공합니다. YouTube가 표시하지 않는 수치(댓글 사용 중지)나 이번에 읽지 못한 항목은 null로 반환되며 meta.unavailable에 표시됩니다. | [youtube.videos.get](https://okdata.online/apis/youtube/videos/get/) | $0.002 per call |
| YouTube 동영상 댓글: 동영상의 댓글, 인기순 또는 최신순. | [youtube.videos.comments.list](https://okdata.online/apis/youtube/videos/comments/list/) | $0.002 per call · about 20 comments per page |
| YouTube 동영상 스크립트: 동영상의 스크립트를 타임스탬프와 함께 원어 또는 선택한 언어로 제공합니다. | [youtube.videos.transcript.get](https://okdata.online/apis/youtube/videos/transcript/get/) | $0.004 per call |
| YouTube 댓글 답글: 댓글의 답글을 답글 토큰으로 한 번에 약 10개씩 조회합니다: 본문, 답글 작성자(핸들, 아바타, 인증), 좋아요, 대략적인 게시 시점(YouTube 표기 "6 years ago"). post_id와 parent_id는 토큰에서 읽습니다. | [youtube.comments.replies.list](https://okdata.online/apis/youtube/comments/replies/list/) | $0.002 per call · about 10 comments per page |
| YouTube 채널 게시물: 채널의 게시물 탭(구 커뮤니티) 게시물을 최신순으로 페이지당 약 10개씩, 채널 ID 또는 핸들로 조회합니다: 본문, 이미지, 좋아요, 게시물이 공유한 동영상(ext.video_id, 커버는 images), 대략적인 게시 시점(YouTube 표기 "4 days ago"). 존재하지 않는 채널 ID는 게시물이 없는 채널처럼 빈 페이지로 반환됩니다. | [youtube.channels.posts.list](https://okdata.online/apis/youtube/channels/posts/list/) | $0.002 per call · about 10 posts per page |
| YouTube 게시물 상세: ID나 링크로 채널 게시물(이전 Community 게시물) 하나를 조회합니다: 본문, 채널, 이미지, 좋아요, 공유한 동영상(ext.video_id, 커버는 images에 포함), 대략적인 게시 시점. | [youtube.posts.get](https://okdata.online/apis/youtube/posts/get/) | $0.002 per call |
| YouTube 채널 프로필: ID나 핸들로 조회하는 채널: 이름, 핸들, 설명, 아바타, 인증, 구독자 수, 동영상 수, 그리고 ext에 총 조회수, 가입일, 정보 섹션의 링크, 국가, 배너. 구독자 수는 YouTube 표시대로 반올림되며(15.1M은 15100000로 반환), 동영상 수도 가끔 그렇습니다(6.2K). ext.followers_text와 ext.posts_text에는 표시된 텍스트가 그대로 담깁니다. | [youtube.channels.get](https://okdata.online/apis/youtube/channels/get/) | $0.002 per call |
| YouTube 채널 검색: 키워드로 채널을 찾습니다. YouTube 순서대로 페이지당 20개: 채널 ID, 이름, 설명 앞부분, 아바타, 구독자 수(YouTube 표시 기준 반올림). 핸들과 배지는 포함되지 않으며, 배지는 youtube.channels.get에서 확인할 수 있습니다. | [youtube.channels.search](https://okdata.online/apis/youtube/channels/search/) | $0.004 per call · about 20 accounts per page |
| YouTube 채널 동영상: 채널 ID나 핸들로 조회하는 채널의 동영상 또는 Shorts, 최신순, 페이지당 약 30개: 제목, 조회수, 커버, 그리고 동영상의 경우 길이와 대략적인 게시 시기. YouTube가 보여 주는 채널 목록 그대로이므로 조회수는 반올림되고("75K views"는 75000로 반환되며 텍스트는 ext.views_text에), 시간은 대략적입니다(YouTube 표기 "3 weeks ago"). 동영상의 정확한 조회수, 좋아요, 게시 시각은 youtube.videos.get을 호출하세요. 존재하지 않는 채널 ID는 해당 동영상이 없는 채널처럼 빈 페이지를 반환합니다. | [youtube.channels.videos.list](https://okdata.online/apis/youtube/channels/videos/list/) | $0.002 per call · about 30 videos per page |

## Two calls

1. `find {"query":"youtube videos"}`: free
2. `call {"capability":"youtube.videos.search","query":"claude code tutorial"}`: $0.004 per call · about 20 videos per page

## Skill package

- `okdata-youtube`: https://okdata.online/.well-known/agent-skills/okdata-youtube/SKILL.md · https://okdata.online/skills/okdata-youtube.zip

[Every YouTube endpoint](https://okdata.online/apis/youtube/) · [MCP server](https://okdata.online/mcp/) · [Integrations](https://okdata.online/integrations/)
