YouTube MCP servers

We found no official MCP server for YouTube from Google. We list 4 options: three open-source servers you run on your own machine, for channel data, uploads and transcripts, and HasData's hosted server that reads public YouTube pages.

Docs reviewed Oct 26, 20264 optionsSocial publishing and listening

Short answer

Best for channel and competitor research YouTube Data MCP (kirbah)

Search, trending lists, channel stats, top videos and comments through the YouTube Data API, with an optional MongoDB cache to save quota.

Best for publishing to your channel YouTube Uploader MCP

Upload videos and set privacy, publish time, playlist, thumbnail and subtitles from your assistant, signed in with your own Google OAuth client.

Best for transcripts only YouTube Transcript MCP (jkawamoto)

No API key. It pulls plain or timestamped transcripts in several languages and pages through long videos in chunks.

Best with no Google Cloud project HasData YouTube MCP

One HasData key and a hosted URL. Four read-only tools for search, video, channel and transcript data, at 10 credits per call.

All 4 options compared

Official first. Everything here comes from each server's own docs.

Community

A community Node.js server that wraps the YouTube Data API v3 and trims the responses so they use less of the model's context. Transcripts work without an API key.

  • Search videos and channels with filters
  • Get video details, channel statistics and a channel's top videos
  • List trending videos by region and category
  • Fetch transcripts and video comments

Everything except transcripts needs your own YouTube Data API key, and the API has a daily limit of 10,000 quota units. The niche outlier tool needs a MongoDB connection.

Local or self-hostedAPI key or tokenRead-only
Community

A community server, shipped as a single binary, that uploads and updates videos on your YouTube channel through Google OAuth.

  • Upload a video with title, description, tags, category and privacy status
  • Schedule a publish time
  • Add a video to a playlist, set a custom thumbnail under 2MB and attach subtitles
  • List a channel's videos, including private and unlisted ones

You create your own OAuth client in Google Cloud and download client_secret.json. Caption uploads need the youtube.force-ssl scope, and Google shows an unverified app warning for it.

Local or self-hostedOAuthRead and write

A community Python server that fetches YouTube transcripts and basic video info, run with uvx. It needs no API key or Google account.

  • Get the plain-text transcript of a video URL
  • Get timestamped transcript segments
  • List the transcript languages a video has
  • Get a video's title and channel info

The README says YouTube blocks many automated transcript requests from cloud and data center IPs, and it documents proxy settings for that case. It does not search or read channel stats.

Local or self-hostedRead-only
Third-party

HasData's hosted YouTube server. It reads public YouTube pages, so you need only a HasData API key and no Google Cloud project.

  • Search YouTube with duration, upload date and content type filters
  • Read video details such as views, likes, length and tags
  • Read a channel's subscribers, total views and tabs
  • Fetch a video's timed transcript

Each successful call costs 10 credits. The free tier is 1,000 credits a month, which is 100 calls, and paid plans start at $59 a month.

Hosted (remote URL)OAuth or API credentialsRead-only

Set it up

YouTube Data MCP (kirbah)

Claude
  1. In Google Cloud Console, create or pick a project, enable YouTube Data API v3 and create an API key.
  2. Optionally create a MongoDB connection string so repeat requests come from a cache instead of your quota.
  3. Add the block below to claude_desktop_config.json. If you only need transcripts, leave out the env block.
{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": [
        "-y",
        "@kirbah/mcp-youtube"
      ],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_YOUTUBE_API_KEY_HERE",
        "MDB_MCP_CONNECTION_STRING": "mongodb+srv://user:pass@cluster0.abc.mongodb.net/youtube_niche_analysis"
      }
    }
  }
}

From the vendor's docs.

YouTube Uploader MCP

Claude
  1. Follow youtube_oauth2_setup.md in the repo to create an OAuth client in Google Cloud and download client_secret.json.
  2. Run the install script from the README for Mac, Linux or Windows. It downloads the server and adds it to your Claude Desktop config.
  3. To install by hand instead, download the binary for your system from the Releases page, make it executable and add the block below with absolute paths.
  4. Ask the assistant to run the authenticate tool, approve access in your browser, then pass the code to the accesstoken tool.
{
  "mcpServers": {
    "youtube-uploader-mcp": {
      "command": "/absolute/path/to/youtube-uploader-mcp-<os>-<arch>",
      "args": [
        "-client_secret_file",
        "/absolute/path/to/client_secret.json"
      ]
    }
  }
}

From the vendor's docs.

YouTube Transcript MCP (jkawamoto)

Claude
  1. Install uv, which provides the uvx command.
  2. Add the block below to claude_desktop_config.json and restart Claude Desktop.
  3. Or download the .mcpb bundle from the Releases page and drop it into Claude Desktop settings.
{
  "mcpServers": {
    "youtube-transcript": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/jkawamoto/mcp-youtube-transcript",
        "mcp-youtube-transcript"
      ]
    }
  }
}

From the vendor's docs.

Cursor
  1. Open Cursor Settings, then Features, then MCP Servers, and click Add New MCP Server.
  2. Name it youtube-transcript and choose the command type.
  3. Enter the command below.
uvx --from git+https://github.com/jkawamoto/mcp-youtube-transcript mcp-youtube-transcript

From the vendor's docs.

HasData YouTube MCP

Claude
  1. Create a HasData account and API key. The free tier needs no card.
  2. In Claude Desktop, open Settings, then Connectors, then Add custom connector, paste https://mcp.hasdata.com/mcp?apis=youtube and sign in.
  3. To use the config file instead, add the launcher block below with your key.
{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": [
        "-y",
        "@hasdata/youtube-mcp"
      ],
      "env": {
        "HASDATA_API_KEY": "YOUR_KEY"
      }
    }
  }
}

From the vendor's docs.

Claude Code
  1. Run the command below with your HasData API key.
claude mcp add --transport http youtube "https://mcp.hasdata.com/mcp?apis=youtube" \
  --header "x-api-key: HASDATA_API_KEY"

From the vendor's docs.

Cursor
  1. Add the block below to ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one.
{
  "mcpServers": {
    "youtube": {
      "url": "https://mcp.hasdata.com/mcp?apis=youtube",
      "headers": {
        "x-api-key": "HASDATA_API_KEY"
      }
    }
  }
}

From the vendor's docs.

Prompts to start with

Competitor channels

Get subscribers, total views and video count for these three channels, then list each one's 5 top-performing videos with views and engagement ratio: [channel IDs].

Hook review

Pull the transcript of this video and quote the first 30 seconds. Tell me how the opening sets up the topic and where a viewer is likely to lose interest: [video URL].

Comment themes

Fetch 100 comments on this video and group them into the 5 most common questions or complaints, with one example comment for each: [video URL].

Upload and schedule

Upload /videos/q4-launch.mp4 as a private video with the title and description below, add it to the Product demos playlist, and schedule it for Tuesday at 9am Eastern.

Niche trends with YoTrends (by Yoloco)

Using YoTrends MCP, list the rising channels and trend clusters in the home fitness niche this week, then draft three video ideas from the strongest cluster.

Questions

Is there an official YouTube MCP server?

Not that we found. Google publishes the YouTube Data API, and every server here is a community project or a third-party service built on that API or on public YouTube pages.

Do I need a YouTube API key?

It depends on the server. The kirbah server needs a YouTube Data API key for everything except transcripts. The uploader needs your own Google OAuth client. The jkawamoto transcript server needs no key, and HasData needs only a HasData key.

Can an MCP server upload videos to my channel?

Yes. YouTube Uploader MCP uploads videos, sets privacy and publish time, and adds playlists, thumbnails and subtitles on channels you sign in to with OAuth. The other three options only read data.

Can these servers read my YouTube Analytics, such as watch time or retention?

None of the four documents the YouTube Analytics API. They read public numbers such as views, likes, comments and subscriber counts, plus transcripts.