Skip to main content
Glama

Plex MCP Server

get_popular_content

Retrieve top-performing Plex media content based on plays or duration within a specified time range. Filter by media type and set limit for precise results.

Instructions

Get most popular content by plays or duration

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of items to return (default: 10)
mediaTypeNoFilter by media typeall
metricNoSort by plays or total durationplays
timeRangeNoTime range in days (default: 30)

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 10, "description": "Number of items to return (default: 10)", "type": "number" }, "mediaType": { "default": "all", "description": "Filter by media type", "enum": [ "movie", "show", "episode", "all" ], "type": "string" }, "metric": { "default": "plays", "description": "Sort by plays or total duration", "enum": [ "plays", "duration" ], "type": "string" }, "timeRange": { "default": 30, "description": "Time range in days (default: 30)", "type": "number" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/niavasha/plex-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server