# PlexLibrarian

PlexLibrarian is a self-hosted management tool for Plex Media Server that helps you find unwatched or stale media, identify duplicate copies, and review user viewing activity to save bandwidth and storage. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/3198/plexlibrarian

## Description

Plex Librarian is a self-hosted management tool for Plex Media Server that helps you find unwatched or stale media, identify duplicate copies, and review user viewing activity to save bandwidth and storage. It connects to your Plex account via API and optionally integrates with Sonarr, Radarr, Seerr, and qBittorrent to automate library maintenance. Designed for homelab and self-hosted users who want to keep their media library lean without extra media mounts or Docker-socket access.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

58/100 (Fair), based on 3 of 4 factors.
- Maintained: 100 (last commit 11 days ago)
- Popular: 10 (2 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- GitHub: https://github.com/BrycePearce/plex-librarian
- Unraid: https://ca.unraid.net/apps/plexlibrarian-08vc6n70wshbuf?q=PlexLibrarian

## Common questions

### Which port should I map in Docker Compose?

Map host port 8288 to container port 8080, as shown in the example compose.yml.

### Where should Plex Librarian store its data?

Keep the /data volume persistent because it holds the database and settings. You can use the named volume or a bind mount.

### Do I need to mount my media library or expose the Docker socket?

No. Ordinary cleanup uses the service APIs, so it needs no media mounts or Docker socket.

### How should I secure it if I need remote access?

Plex sign-in does not restrict access to its Librarian APIs. For remote access, put it behind a reverse proxy that provides authentication and TLS.

### How do I connect Sonarr and Radarr so cleanup is coordinated?

Add their service URL and API key under Settings → Media connections, assign the Plex libraries, and include the manager in a cleanup.

---
Source: Our Local Host (https://ourlocalhost.com/app/3198/plexlibrarian), the self-hosted and open-source app directory.
