MCP Youtube Extract MCP Server

A Model Context Protocol (MCP) server for YouTube operations, demonstrating core MCP concepts including tools and logging.

Local serverstdioPython

What is the MCP Youtube Extract MCP server?

If you want an AI assistant working directly with MCP Youtube Extract, the mcp youtube extract mcp server is the bridge. A Model Context Protocol (MCP) server for YouTube operations, demonstrating core MCP concepts including tools and logging.

What MCP Youtube Extract does

A Model Context Protocol (MCP) server for YouTube operations, demonstrating core MCP concepts including tools and logging.

Key capabilities

  • MCP Server — A fully functional MCP server with:
  • Tools — Extract information from YouTube videos including metadata and transcripts
  • Comprehensive Logging — Detailed logging throughout the application
  • Error Handling — Robust error handling with fallback logic for transcripts
  • YouTube Integration — Built-in YouTube capabilities using yt-info-extract and yt-ts-extract:
  • Extract video information (title, description, channel, publish date, view count)
  • Get video transcripts with intelligent fallback logic
  • Support for both manually created and auto-generated transcripts

Tools it exposes

Once connected, the assistant can call these 4 tools directly:

  • YOUTUBE_API_KEY — Your YouTube Data API key (optional, provides additional fallback for metadata extraction)
  • Cost — $5 per 1,000 units after free tier
  • Note — API key is only used as a fallback when yt-info-extract fails
  • Building — The Building tool exposed by this server

Installing the mcp youtube extract mcp server

The server is distributed via PyPI as mcp-youtube-extract, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply one environment variable: YOUTUBE_API_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Productivity servers pay off through capture: the tasks and notes that never get filed are the ones where opening the app is more friction than the thought is worth. MCP Youtube Extract sits in that group, and the shape of its toolset — YOUTUBE_API_KEY, Cost, Note among others — tells you what it is really for. Worth comparing against the other productivity servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by sinjab, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp youtube extract mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
YOUTUBE_API_KEYYour YouTube Data API key (optional, provides additional fallback for metadata extraction)
Cost$5 per 1,000 units after free tier
NoteAPI key is only used as a fallback when yt-info-extract fails
BuildingThe Building tool exposed by this server.

How to install the MCP Youtube Extract MCP server

**With optional API key:**
```json
{
  "mcpServers": {
    "mcp_youtube_extract": {
      "command": "mcp_youtube_extract",
      "env": {
        "YOUTUBE_API_KEY": "your_youtube_api_key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
YOUTUBE_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP Youtube Extract to YOUTUBE API KEY.
  • Use MCP Youtube Extract to Cost.
  • Use MCP Youtube Extract to Note.

Frequently asked questions

It connects MCP Youtube Extract to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (YOUTUBE_API_KEY, Cost, Note, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Youtube Extract directly.