home / mcp / youtube to mp315 mcp server

Youtube To Mp315 MCP Server

Provides YouTube to MP3 conversion endpoints via MCP, with status, download, and title endpoints.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bach-ai-tools-bachai-youtube-to-mp315": {
      "command": "python",
      "args": [
        "server.py"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

This MCP server lets you access the Youtube To Mp315 API from your applications. You can connect via a local stdio-based runner or via a CLI tool, enabling easy integration of YouTube to MP3 conversion endpoints into your workflows without manual configuration.

How to use

To use this server with an MCP client, choose a stdio-based run method or a local command, then point your client to the corresponding runtime. You’ll authenticate requests with an API key and you can access the available endpoints such as status, download, and title.

How to install

Prerequisites: ensure you have Python and pip installed, and optionally uvx for easy running.

pip install bach-youtube_to_mp315

If you prefer to install from source, run the editable install.

pip install -e .

Run using uvx (recommended, no additional installation required):

uvx --from bach-youtube_to_mp315 bach_youtube_to_mp315

Or run directly in development mode with Python:

python server.py

After installing, you can also run the packaged CLI command if you installed the package:

bach_youtube_to_mp315

Available tools

status

Check the status of the file conversion via GET /status/{id}

download

Convert a YouTube video to MP3 asynchronously via POST /download with fields like url, endTime, format, quality, startTime, and callbackUrl

title

Get the title of a YouTube video via GET /title with the required url parameter