SuperAPI AI Directory

youtube-mcp

YouTube search, video and channel data and transcripts as JSON.

Open website

About this tool

YouTube MCP Server is a hosted Model Context Protocol (MCP) server provided by HasData, offering four read-only YouTube tools for Claude, Cursor, Windsurf, and any other MCP client. It requires no Google Cloud project and no YouTube Data API key, only a HasData API key. The server is remote and connects via streamable HTTP with custom request headers; the simplest way to use it is to provide a URL and a header, with no container to run and no Google account needed throughout the process. For clients that only support stdio, the @hasdata/youtube-mcp (npm) or hasdata-youtube-mcp (PyPI) launchers can be used.

The main capabilities include four tools:

  1. hasdata_youtube_search_getYoutubeSearchResults: Searches YouTube and returns the entire results page split by result type, including videoResults, shortsResults, inlineShortsResults, playlistResults, channelResults, shelves, as well as paid ads in adsResults and sponsoredResults. It supports YouTube's own filter tokens, allowing filtering by upload date, duration, and content type without post-processing.
  2. hasdata_youtube_video_getYoutubeVideo: Retrieves data for a single video by video ID, returning the title, thumbnail, channel, publication date, duration in seconds, category, whether it is family safe, whether it is unlisted, and arrays such as related videos, end screen videos, keywords, captions, music, and social links. The description is an object containing the full text and an array of links.
  3. hasdata_youtube_channel_getYoutubeChannel: Retrieves channel data by channel ID or handle, one tab at a time. It returns channelInfo, featuredVideo, and the sections of the default tab. channelInfo includes the channel handle, avatar, banner, description, channel keywords, and RSS URL.
  4. hasdata_youtube_transcript_getYoutubeTranscript: Retrieves the time-coded transcript of a video. The response lists the available language tracks and indicates whether they are human-written or ASR-generated. Requesting a language that does not exist silently falls back to the default track.

Usage: The server URL is the same for all clients, which is https://mcp.hasdata.com/mcp?apis=youtube。支持 OAuth clients can add it as a connector and sign in without placing keys in configuration files. For the configuration file approach, Claude Desktop only loads local stdio servers, and can connect to the remote server via the @hasdata/youtube-mcp launcher, reading the key from environment variables. Other clients such as Cursor, Windsurf, VS Code, Codex, Gemini, etc. also have their own documented remote server configuration formats. Windsurf uses the serverUrl field rather than url.

The free tier provides 1,000 credits per month, no credit card required, equivalent to 100 YouTube calls, renewing with the billing cycle. Paid plans start at $59 per month, providing 200,000 credits (20,000 calls), with unit price decreasing as usage increases, from $2.95 per 1,000 calls on the entry plan to $1.19 on Basic and $0.83 on Growth. Each YouTube tool consumes 10 credits per successful call, and response size does not affect the price. Requests with non-200 responses are not billed, and successful calls with no results are still billed. Concurrency limits: 1 request at a time on the free tier, 5 on Startup, 15 on Basic, and 50 to 500 on Growth.

The server also provides 2 prompts and 10 resources, with resource URI format hasdata://youtube/<parameter>, one resource per parameter, listing the accepted fixed value list. Prompts and resources can be read without an API key.

Regarding error handling: the MCP layer usually returns 200 and places the failure inside the result, with isError set to true. An invalid key appears as tool output rather than a connection failure. A missing key is the only true HTTP error, and the connection itself fails with 401. Parameters that violate the schema are rejected before fetching, returning isError: true and an input validation error. When successful but with no results, requestMetadata.status is ok and the data key is missing. An invalid identifier returns 400 with status error.

Limitations: the server does not provide comments, channel management, uploads, analytics, or private data, and only reads public content visible to signed-out visitors. Data is fetched in real time, not cached. YouTube layout changes are tracked by HasData, and the response schema remains stable. Transcriptions are only available when the video itself has a transcription. Regarding compliance, HasData only accesses public data, platform terms may restrict automated access, and users are responsible for compliant use. This product is maintained by HasData and is not an official Google MCP server; YouTube has no first-party MCP server.