Tubealfred MCP logo

Tubealfred MCP

Access YouTube transcripts, comments, channel data, search, playlists, and video metadata through 34 read-only MCP tools.

Install Tubealfred MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "tubealfred-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@tubealfred/mcp"
      ],
      "env": {
        "TUBEALFRED_API_KEY": "YOUR_VALUE_HERE",
        "TUBEALFRED_MCP_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

@tubealfred/mcp connects MCP clients to TubeAlfred's hosted YouTube data service through a local stdio bridge. It exposes 34 read-only tools for transcripts, comments, channels, videos, playlists, search, trending content, and URL resolution. Use it when an agent needs structured YouTube research without managing a YouTube Data API key or quota. A hosted MCP endpoint with OAuth is also available for compatible remote clients.

Use cases

  • Summarize YouTube videos with timestamp references
  • Analyze comments and threaded replies
  • Research a channel's videos, Shorts, and streams
  • Search YouTube content and hashtags
  • Compare metadata across batches of videos or channels

Key features

  • YouTube transcript retrieval with timestamps and language metadata
  • Video comments, replies, details, and related-content lookup
  • Channel, playlist, stream, Shorts, and community-post access
  • YouTube search, hashtag search, suggestions, and trending discovery
  • Batch video and channel lookups
  • Hosted MCP and local npm stdio connection options

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @tubealfred/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars13Stargazers on the source repository.
npm downloads272Package downloads in the last 30 days.
Last commit19d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Tubealfred MCP works

What @tubealfred/mcp does

@tubealfred/mcp gives MCP-compatible agents access to public YouTube information through TubeAlfred. Its tool set covers video metadata, transcripts, comments and replies, channel information, playlists, streams, Shorts, community posts, search, hashtags, suggestions, trending content, related videos, and URL resolution.

Transcript retrieval includes available caption tracks, timestamps, language metadata, and automatic or manually supplied captions. Channel and playlist tools can enumerate content, while batch operations support lookups for multiple videos or channels. All 34 published tools are read-only, so the server is intended for research and retrieval rather than publishing, editing, or moderation.

How it works

The package acts as a local stdio bridge between an MCP client and the TubeAlfred service. It forwards requests using a TubeAlfred API key and does not require a YouTube API key. The same key can be used with TubeAlfred's REST API.

A separate hosted deployment is available at https://mcp.tubealfred.com/. Remote clients connect there and complete an OAuth sign-in flow. The local bridge defaults to that endpoint, but its upstream URL can be changed through configuration.

Setup and configuration

For Claude Desktop, Cursor, Continue, Claude Code, Zed, or another stdio client, run the package with npx and provide TUBEALFRED_API_KEY. A typical MCP configuration uses:

config.json
{
  "command": "npx",
  "args": ["-y", "@tubealfred/mcp"],
  "env": {
    "TUBEALFRED_API_KEY": "ta_live_..."
  }
}

Claude Desktop also supports a downloadable desktop extension. The extension prompts for the TubeAlfred key during installation. Claude Code can add the server with claude mcp add, while Smithery can generate the client configuration and request the key.

TUBEALFRED_API_KEY is required and can be created from the TubeAlfred API keys page. TUBEALFRED_MCP_URL is optional; when omitted, requests go to the hosted TubeAlfred MCP endpoint.

Tools and capabilities

The tool inventory includes:

  • Retrieve video details, enhanced video information, transcripts, related videos, comments, replies, and batches of video details.
  • Inspect channels, channel descriptions, videos, streams, Shorts, playlists, community posts, and batches of channel details.
  • Read playlist metadata and contents, including paginated results.
  • Search YouTube, search by hashtag, request search suggestions, and resolve YouTube URLs.
  • Browse trending videos and Shorts.

Many collection-oriented tools have separate page variants for pagination. Tool costs and operation mappings are published by TubeAlfred, and most successful calls cost one credit.

Limitations and notes

The server only exposes read operations. Transcript results depend on captions being available for the requested video; an agent should report when no caption track can be retrieved rather than infer transcript text.

TubeAlfred accounts use credits. New free accounts receive 50 credits, and the free allowance returns to 50 each month on the account's signup anniversary. Unused free credits do not carry over, and no credit card is required for the free allowance. Consult TubeAlfred's pricing information for plan-specific usage details.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Tubealfred MCP

@tubealfred/mcp is an MCP server that connects AI clients to TubeAlfred's hosted YouTube data service. Its main tools retrieve transcripts, video details, comments, replies, channel and playlist data, search results, trending content, related videos, and URL resolutions. The 34 tools are read-only and require a TubeAlfred API key when using the npm bridge.

Install it by configuring your MCP client to run `npx -y @tubealfred/mcp` and setting `TUBEALFRED_API_KEY`. Claude Desktop also offers a downloadable desktop extension, and Smithery can create the configuration for supported clients.

No, it requires a TubeAlfred API key instead of a YouTube API key. The npm bridge uses `TUBEALFRED_API_KEY`, and the service does not require you to manage YouTube Data API quota.

Yes, Cursor can run @tubealfred/mcp as a stdio MCP server. Add a server in Cursor Settings, provide the `npx` command and package arguments, and set `TUBEALFRED_API_KEY` in the environment.

Connect it through Claude Desktop's MCP configuration or use TubeAlfred's hosted endpoint as a custom connector. Claude Desktop supports both the local npm bridge and a downloadable extension, while the hosted option uses OAuth sign-in.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTubealfred MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tubealfred-mcp?style=directory)](https://allmcps.com/mcp/tubealfred-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/tubealfred-mcp"><img src="https://allmcps.com/api/badge/tubealfred-mcp?style=directory" alt="Tubealfred MCP on AllMCPs" /></a>