YouTube Data MCP
A production-grade MCP server for AI agents that retrieves structured YouTube data via the Data API v3. It optimizes token usage by stripping redundant payloads, supports smart caching to protect API quotas, and includes strict type safety and testing for reliable agentic workflows.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Retrieve token-optimized video details for LLMs
- Search videos with reduced context window usage
- Get channel statistics efficiently
- Cache data to protect daily API quotas
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@kirbah/mcp-youtube 1.1.15
{
"version": "1.1.15",
"transport": "stdio",
"identifier": "@kirbah/mcp-youtube",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "YOUTUBE_API_KEY",
"format": "string",
"description": "YouTube Data API v3 key"
},
{
"name": "MDB_MCP_CONNECTION_STRING",
"format": "string",
"description": "MongoDB connection string for caching"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"youtube-data-mcp": {
"command": "npx",
"args": [
"-y",
"@kirbah/mcp-youtube@1.1.15"
],
"env": {
"YOUTUBE_API_KEY": "<YOUR_YOUTUBE_API_KEY>",
"MDB_MCP_CONNECTION_STRING": "<YOUR_MDB_MCP_CONNECTION_STRING>"
}
}
}
}Cline
{
"mcpServers": {
"youtube-data-mcp": {
"command": "npx",
"args": [
"-y",
"@kirbah/mcp-youtube@1.1.15"
],
"env": {
"YOUTUBE_API_KEY": "<YOUR_YOUTUBE_API_KEY>",
"MDB_MCP_CONNECTION_STRING": "<YOUR_MDB_MCP_CONNECTION_STRING>"
}
}
}
}VS Code
{
"servers": {
"youtube-data-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kirbah/mcp-youtube@1.1.15"
],
"env": {
"YOUTUBE_API_KEY": "<YOUR_YOUTUBE_API_KEY>",
"MDB_MCP_CONNECTION_STRING": "<YOUR_MDB_MCP_CONNECTION_STRING>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"youtube-data-mcp": {
"command": "npx",
"args": [
"-y",
"@kirbah/mcp-youtube@1.1.15"
],
"env": {
"YOUTUBE_API_KEY": "<YOUR_YOUTUBE_API_KEY>",
"MDB_MCP_CONNECTION_STRING": "<YOUR_MDB_MCP_CONNECTION_STRING>"
}
}
}
}Let your agent find its tools
Find servers like YouTube Data MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.