The AI music companion your Plex library deserves.

Dig into your stacks.

Type "late night psychedelic soul" and get a playlist. Filter by female artists from the 70s. Discover you've scrobbled Stereolab 247 times but don't own a single album. Runs on your NAS. Your data stays yours.

Plex Music Brain playlist generator

Everything Plexamp Should Do

Plex has the data. Music Brain surfaces it intelligently.

🎙️

Natural Language Playlists

Type any mood or vibe. "Quiet and watery." "Those cats are jumpin'." AI expands your prompt into specific genre tags and scores your library against them.

🏷️

AI Genre Enrichment

Your entire library gets tagged with specific subgenres — shoegaze, dance-punk, balearic, cosmic disco — and written back into Plex. Genre browsing finally makes sense.

📻

Last.fm Integration

111K+ scrobbles drive real play counts, listening patterns, and loved track ratings. Plex's play counts are unreliable. Last.fm's aren't.

🕐

Listening Context

"Your Afternoon" — what you actually play 1-5pm. "Weekend Flow." "Often Together" — tracks that appear in the same listening session, cross-artist.

📋

Missing From Your Collection

Artists you've scrobbled 50+ times that aren't in your library. Categorized into Worth Acquiring, Classical, Ambient/Meditation, and Unknown.

🎼

Instrumental Detection

AI classifies every track as instrumental or vocal. Filter playlists to instrumentals only, or auto-detect from your prompt.

🔍

Smart Filters

Filter by gender, country, era, decade, genre, year range, play count, or rating. "Female artists from Brazil in the 70s" is a valid query.

📊

The Collection

Your library and listening history at a glance. Scrobbles by year, top artists, genre breakdown, library by era and country, gender split.

⚙️

One-Click Sync

Full sync pipeline in one button: scan Plex for new files → ingest → sync Last.fm → AI tag new tracks. Runs on your NAS, streams live output.


How It Works

Four steps from setup to your first AI-generated playlist.

1

Install on your NAS

Python app runs alongside Plex. No cloud required. Your music never leaves your network.

2

Ingest your library

Pulls all tracks from Plex into SQLite. AI tags every track with specific genre and mood tags via OpenAI.

3

Connect Last.fm

Sync your scrobble history. Real play counts, listening patterns, loved tracks — all imported.

4

Start digging

Type a mood, set filters, hit Preview. Click Create in Plex — your playlist appears in Plexamp instantly.


The Stacks

A look inside Plex Music Brain.

Playlist generator

Natural language playlist generator with filters

The Collection stats page

The Collection — your library at a glance

Missing From Your Collection

Missing From Your Collection — gap analysis

Back Office admin panel

Back Office — one-click sync pipeline

Free & Open Source

Plex Music Brain is free to download and self-host. The only cost is a one-time ~$2 OpenAI charge to tag your library.

What you need

  • Synology NAS (or any Linux box running Plex)
  • Python 3.12
  • Plex Media Server
  • OpenAI API key (~$2 one-time)
  • Last.fm account + free API key
Download on GitHub →

Free forever. No subscription. Your data stays on your hardware.