plex

Query Plex media catalogs and playback history using plexapi in Python.

2|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/eddmann/jeeves --skill plex-eddmann
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plex
Source: https://github.com/eddmann/jeeves/tree/main/skills/plex
Command: npx skills add https://github.com/eddmann/jeeves --skill plex-eddmann

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Plex users often need to access their media catalog, fetch metadata, and monitor playback history from code instead of the Plex Web UI.

Core Features & Use Cases

  • Inline Python scripts using plexapi to query library sections, list recently added items, and fetch playback history.
  • Step-by-step authentication guidance for Plex OAuth PIN-based flow and token management to persist access.
  • Use cases include listing all movies, retrieving show metadata, and auditing what was watched.

Quick Start

Connect to your Plex server by setting PLEX_SERVER_URL in your environment, then run the provided inline Python script to list your library items.

Frequently Asked Questions about plex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query my Plex Media Server catalog using Python scripts?

To automate querying your Plex server, this Skill runs inline Python scripts using the plexapi library to connect programmatically, discover library contents, and fetch metadata without using the Plex Web UI.

How do I authenticate to the Plex API using an OAuth PIN flow?

Plex API authentication uses a two-step OAuth PIN-based flow to generate and manage tokens, requiring your specific Plex server URL to establish and persist programmatic access for your scripts.

What Python dependencies do I need to automate Plex media server tasks?

You need the plexapi and requests Python dependencies installed to run these inline Plex automation scripts and query your media catalogs and playback history programmatically.

Can I retrieve Plex playback history and recently added movies programmatically?

Yes, inline Python scripts using plexapi can automate the discovery of recently added items and fetch detailed playback history across your movie, TV show, and music libraries.

Does querying the Plex API require setting up a specific server URL?

Yes, you must set the PLEX_SERVER_URL environment variable before running the inline Python script so plexapi can successfully locate and connect to your specific media server instance.