Skip to main content
Glama

Plex MCP Server

by niavasha

get_popular_content

Identify trending media on your Plex server by retrieving the most-watched content based on play counts or total duration, customizable by time range, media type, and result limit.

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