MCP Bgm Recommender MCP Server

An MCP server that helps YouTube content creators find perfect background music for their shorts by analyzing script content and recommending tracks

Local serverstdioPython

What is the MCP Bgm Recommender MCP server?

An MCP server that helps YouTube content creators find perfect background music for their shorts by analyzing script content and recommending tracks from YouTube Music. That is what the mcp bgm recommender mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

  • Script Analysis — Analyzes mood, theme, pacing, and sentiment from video scripts
  • Smart Recommendations — Uses YouTube Music API to find suitable background tracks
  • Duration Filtering — Ensures recommendations fit your short video length
  • Confidence Scoring — Ranks recommendations by relevance to your content

The tools it exposes

The server publishes 3 tools. What each one is for:

  • Parameters — The Parameters tool exposed by this server
  • ScriptAnalyzer — Analyzes script content to detect mood, theme, and pacing using natural language processing
  • BGMTools — MCP tool interface that orchestrates script analysis and music recommendations

Getting it running

The server ships on PyPI as ytmusicapi, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: BGM_LOG_LEVEL, BGM_OAUTH_FILE, BGM_MAX_DURATION, BGM_SEARCH_LIMIT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP Bgm Recommender's toolset — Parameters, ScriptAnalyzer, BGMTools — is a fair guide to whether it matches your workflow. It is maintained by opiuman; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Bgm Recommender's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ParametersThe Parameters tool exposed by this server.
ScriptAnalyzerAnalyzes script content to detect mood, theme, and pacing using natural language processing.
BGMToolsMCP tool interface that orchestrates script analysis and music recommendations.

How to install the MCP Bgm Recommender MCP server

{
  "mcpServers": {
    "bgm-recommender": {
      "command": "uvx",
      "args": ["ytmusicapi"],
      "env": {
        "BGM_LOG_LEVEL": "your-value",
        "BGM_OAUTH_FILE": "your-value",
        "BGM_MAX_DURATION": "your-value",
        "BGM_SEARCH_LIMIT": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
BGM_LOG_LEVELConfiguration value read at startup.Optional
BGM_OAUTH_FILEConfiguration value read at startup.Optional
BGM_MAX_DURATIONConfiguration value read at startup.Optional
BGM_SEARCH_LIMITConfiguration value read at startup.Optional

Example prompts to try

  • Use MCP Bgm Recommender to Parameters.
  • Use MCP Bgm Recommender to ScriptAnalyzer.
  • Use MCP Bgm Recommender to BGMTools.

Frequently asked questions

It connects MCP Bgm Recommender to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Parameters, ScriptAnalyzer, BGMTools) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Bgm Recommender directly.