Price Per TokenPrice Per Token
Plex Media Library Search Server

Plex Media Library Search Server

by vyb1ng

0

About

Plex MCP Server enables AI assistants to search, browse, and manage your Plex media libraries. Connect to your Plex server to explore movies, TV shows, music, and other content with natural language queries. Key features of Plex MCP Server: - Natural language search across all Plex libraries for movies, shows, music, and more - Smart music discovery with queries like "songs from the 90s" and "rock bands I haven't heard" - Playlist management including creation, editing, and intelligent randomization - Browse collections, recently added content, and viewing history - Detailed media metadata including codecs, bitrates, file sizes, and watch status - Secure authentication via OAuth or static Plex tokens - Resource-based data access through structured URIs (plex://libraries, plex://playlists, etc.)

README

Plex MCP Server

[](https://smithery.ai/server/@vyb1ng/plex-mcp)

Search and manage your Plex media libraries with Claude. Actively developed by Claude and a nerdy human who mostly uses Plex for auditory delights and wanted to see how much could be accomplished without knowing much about what they're doing. Results may vary, but probably in a good way.

Quick Start

Install via Smithery (Recommended)

npx -y @smithery/cli install @vyb1ng/plex-mcp --client claude

Manual Setup for Claude Desktop

Add to your Claude Desktop MCP settings:

{
  "mcpServers": {
    "plex": {
      "command": "npx",
      "args": ["plex-mcp"],
      "env": {
        "PLEX_URL": "http://your-plex-server:32400"
      }
    }
  }
}

Authentication

Option 1: OAuth (Recommended)

  • Use the authenticate_plex tool to get a login URL
  • Sign in through your browser
  • Option 2: Static Token

  • Add "PLEX_TOKEN": "your_token" to the env section
  • Get your token from Plex Support
  • Note: Replace your-plex-server:32400 with your actual Plex server address and port.

    HTTP Debug Logging

    For troubleshooting connection issues, you can enable comprehensive HTTP request/response logging:

    {
      "mcpServers": {
        "plex": {
          "command": "npx",
          "args": ["plex-mcp"],
          "env": {
            "PLEX_URL": "http://your-plex-server:32400",
            "MCP_HTTP_DEBUG": "true"
          }
        }
      }
    }
    

    When MCP_HTTP_DEBUG=true, the server will log:

  • Request Details: Method, URL, headers, parameters, timing
  • Response Details: Status codes, headers, response size, duration
  • Error Diagnostics: Connection details, TLS/SSL certificate info, troubleshooting suggestions
  • Performance Metrics: DNS lookup, TCP connection, TLS handshake timing
  • Security: All sensitive headers (tokens, auth) are automatically redacted
  • All logs are structured JSON with correlation IDs for request/response tracking.

    What You Can Do

    Search & Browse

  • Search movies, TV shows, music, and other content
  • Browse libraries and collections
  • View recently added content and watch history
  • Music Discovery

  • Natural language music discovery ("songs from the 90s", "rock bands I haven't heard")
  • Smart recommendations based on listening patterns
  • Intelligent randomization for variety and surprise
  • Similar artist discovery and genre exploration
  • Playlists

  • Create and manage playlists
  • Add items to existing playlists
  • Browse playlist contents
  • Media Info

  • Get detailed media information (codecs, bitrates, file sizes)
  • Check watch status and progress
  • View library statistics and listening stats
  • Resources (Data Access)

  • Access structured data via URI: plex://libraries, plex://recent, plex://playlists
  • Library-specific data: plex://library/{id}, plex://library/{id}/recent
  • Server statistics and connection status
  • JSON-formatted data for analysis and automation
  • Prompts (AI Assistance)

  • playlist_description: Generate creative playlist descriptions
  • content_recommendation: Get personalized content recommendations
  • smart_playlist_rules: Create smart playlist criteria and rules
  • media_analysis: Analyze library content and patterns
  • server_troubleshooting: Diagnose server connection issues
  • Status

    ✅ Working: Search, browse, playlists, media info, library stats, watch history, collections, music discovery, resources, prompts

    ❌ Disabled: Smart playlists (filter logic broken)

    🚧 Planned: Remote server browsing

    Development

    Want to contribute? Point Claude at your local version:

    {
      "mcpServers": {
        "plex-dev": {
          "command": "node",
          "args": ["/path/to/plex-mcp/index.js"],
          "env": {
            "PLEX_URL": "http://your-plex-server:32400"
          }
        }
      }
    }
    

    It works for us. If it doesn't work for you, well we tried. Hit us up, we don't bite. Much.

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81