Model Context Protocol · AI Agent Integration
Give Claude & Cursor live YouTube intelligence.
Expose real-time YouTube video transcripts, metadata, keyword searches, channel feeds, and comment threads directly to Claude Desktop, Cursor, Windsurf, or custom LangChain / LlamaIndex agents.
1. Add to claude_desktop_config.json or .cursor/mcp.json
{
"mcpServers": {
"youtubeapi": {
"command": "npx",
"args": ["-y", "@youtubeapi/mcp-server"],
"env": {
"YOUTUBEAPI_KEY": "yt_live_your_api_key_here"
}
}
}
}Need an API key? Sign up for 2,000 free Credits and copy your yt_live_... key from the dashboard.
No-Code Alternative
Prefer spreadsheets over code?
Run our pre-built YouTube scrapers in the browser on Apify and export video transcripts, channel feeds, and comments directly to CSV, Excel, JSON, or Google Sheets.
Included MCP Tools
youtube_transcriptGET /v1/youtube/transcriptExtract timed subtitle segments (offset_ms, duration_ms) and full plain-text transcript for any YouTube video or Short.
youtube_video_infoGET /v1/youtube/videoFetch full video metadata, view count, like count, duration, chapters, keywords, and channel info.
youtube_searchGET /v1/youtube/searchSearch YouTube videos or Shorts by keyword, sorted by relevance, upload date, view count, or rating.
youtube_commentsGET /v1/youtube/commentsExtract up to 100 top or newest video comments with like counts, author handles, and continuation pagination.
youtube_channelGET /v1/youtube/channelResolve any @handle (e.g. @MrBeast) or UC... channel ID into subscriber count, video count, bio, and avatar.
youtube_channel_videosGET /v1/youtube/channel/videosPaginate through a YouTube channel's uploaded videos sorted by newest, popular, or oldest.