
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@htekdev/youtube-mcp-server
Advanced tools
MCP server providing full YouTube Data API v3 search and retrieval capabilities for AI agents
A Model Context Protocol (MCP) server providing full YouTube Data API v3 search and retrieval capabilities for AI agents.
npm install @htekdev/youtube-mcp-server
Or run directly with npx:
npx @htekdev/youtube-mcp-server
Add to your claude_desktop_config.json:
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": ["@htekdev/youtube-mcp-server"],
"env": {
"YOUTUBE_API_KEY": "your_api_key_here"
}
}
}
}
Run the server directly:
YOUTUBE_API_KEY=your_api_key npx @htekdev/youtube-mcp-server
You can also configure the API key at runtime using the setup_youtube tool.
| Tool | Description |
|---|---|
setup_youtube | Configure API key and defaults |
youtube_status | Check configuration status |
| Tool | Description |
|---|---|
youtube_search | Full-featured search with all filters |
youtube_search_videos | Simplified video search |
youtube_search_related | Find videos related to a specific video |
| Tool | Description |
|---|---|
youtube_video_details | Get comprehensive video information |
youtube_video_list | Batch retrieve multiple videos |
youtube_trending | Get trending/popular videos |
| Tool | Description |
|---|---|
youtube_channel_details | Get channel info (by ID, handle, or username) |
youtube_channel_videos | List videos from a channel |
youtube_channel_search | Search within a specific channel |
| Tool | Description |
|---|---|
youtube_playlist_details | Get playlist information |
youtube_playlist_items | List all videos in a playlist |
youtube_playlists_by_channel | Get all playlists from a channel |
| Tool | Description |
|---|---|
youtube_comment_threads | Get top-level comments on a video |
youtube_comment_replies | Get replies to a specific comment |
| Tool | Description |
|---|---|
youtube_captions_list | List available captions/subtitles |
youtube_live_broadcasts | Search for live streams |
{
"tool": "youtube_search",
"args": {
"q": "machine learning tutorial",
"type": "video",
"maxResults": 10,
"order": "viewCount",
"videoDuration": "medium"
}
}
{
"tool": "youtube_video_details",
"args": {
"videoId": "dQw4w9WgXcQ",
"parts": ["snippet", "statistics", "contentDetails"]
}
}
{
"tool": "youtube_channel_details",
"args": {
"handle": "@MrBeast"
}
}
{
"tool": "youtube_live_broadcasts",
"args": {
"q": "gaming",
"eventType": "live",
"maxResults": 10
}
}
npm install
npm test # Run tests once
npm run test:watch # Watch mode
npm run test:coverage # With coverage report
npm run typecheck
npm run bundle
YouTube Data API has quota limits (default 10,000 units/day). Tool quota costs:
| Operation | Cost |
|---|---|
| Search | 100 units |
| Videos list | 1 unit |
| Channels list | 1 unit |
| Playlists list | 1 unit |
| PlaylistItems list | 1 unit |
| CommentThreads list | 1 unit |
| Comments list | 1 unit |
| Captions list | 50 units |
MIT
FAQs
MCP server providing full YouTube Data API v3 search and retrieval capabilities for AI agents
The npm package @htekdev/youtube-mcp-server receives a total of 9 weekly downloads. As such, @htekdev/youtube-mcp-server popularity was classified as not popular.
We found that @htekdev/youtube-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.