
Security News
/Company News
Securing the Financial Frontier: How Capital One Uses Socket for Open Source Security
Capital One is partnering with Socket to proactively secure its open source supply chain.
@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 8 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.

Security News
/Company News
Capital One is partnering with Socket to proactively secure its open source supply chain.

Security News
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.

Security News
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.