YouTube Music MCP logo

YouTube Music MCP

by instructa

This is a simple MCP server that allows you to search for and play tracks on YouTube Music directly from your AI assistant like Cursor or Claude Desktop.

View on GitHub

Last updated: N/A

What is YouTube Music MCP?

YouTube Music MCP is a server that enables AI assistants like Cursor or Claude to search and play tracks from YouTube Music.

How to use YouTube Music MCP?

To use, you need a Google Youtube API Key and add the provided MCP configuration to your Cursor .cursor/mcp.json settings, replacing <INSERT_API_KEY_HERE> with your actual API key.

Key features of YouTube Music MCP

  • Search for tracks on YouTube Music

  • Play tracks directly in your default browser

  • Integration with Cursor and Claude

  • Simple configuration

Use cases of YouTube Music MCP

  • Playing music through AI assistants

  • Searching for music hands-free

  • Integrating music playback into AI workflows

  • Quickly accessing and playing music without leaving your editor

FAQ from YouTube Music MCP

What is a Google Youtube API Key and where do I get it?

A Google Youtube API Key is required to access YouTube's data and services. You can obtain one from the Google Cloud Console.

Where do I add the MCP configuration?

The MCP configuration should be added to your Cursor .cursor/mcp.json settings.

Do I need to install anything locally?

Typically, no. The MCP is run directly using npx. Local installation is only required if you intend to modify the source code.

Can I use this with other AI assistants besides Cursor and Claude?

While specifically mentioned for Cursor and Claude, it might be adaptable to other AI assistants that support MCP configurations.

Is there a cost associated with using the Youtube API?

The YouTube API has a free tier, but exceeding usage limits may incur costs. Refer to Google's documentation for pricing details.