Skip to main content
Glama
seasonpackarr-mcp

seasonpackarr-mcp

by arr-mcps

seasonpackarr-mcp

Part of the arr-mcps collection. An MCP server exposing SeasonPackArr's REST API as tools for checking, matching, and importing TV season packs, plus on-demand Prowlarr searches.

Requirements

  • SeasonPackArr with its REST API reachable (tested against v1.0.0)

  • Python 3.11+ and uv for source development

Related MCP server: arr-mcp

Configuration

Variable

Required

Description

SEASONPACKARR_URL

Yes

SeasonPackArr base URL, for example http://10.10.10.15:42069. The server appends /api.

SEASONPACKARR_API_KEY

No

Token sent as X-API-Token. Leave unset when SeasonPackArr's apiToken is empty.

Install a built wheel and register it with Claude Code:

uv tool install seasonpackarr_mcp-*.whl
claude mcp add seasonpackarr \
  --env SEASONPACKARR_URL=http://10.10.10.15:42069 \
  --env SEASONPACKARR_API_KEY=<token> \
  -- seasonpackarr-mcp

For a source checkout:

uv sync
claude mcp add seasonpackarr \
  --env SEASONPACKARR_URL=http://10.10.10.15:42069 \
  --env SEASONPACKARR_API_KEY=<token> \
  -- uv run --directory /path/to/seasonpackarr-mcp seasonpackarr-mcp

Tools

3 resource-scoped tools cover all 6 SeasonPackArr REST operations via an operation parameter. Call a tool with operation set to one of its listed operations and an arguments dict matching that operation's parameters. Each tool's own description (visible to your MCP client) lists every operation, its signature, and a one-line doc, so no discovery round-trip is needed.

Tool

Operations

Covers

seasonpackarr_health

2

Liveness/readiness probes (no auth needed)

seasonpackarr_pack

3

Candidate check, match, and import webhooks

seasonpackarr_search

1

Targeted Prowlarr search with dry-run/verify modes

The health group is marked readOnlyHint=True; the other two groups contain write operations and carry no hint.

Example:

seasonpackarr_health(operation="seasonpackarr_health_get_readiness", arguments={})
seasonpackarr_pack(operation="seasonpackarr_pack_check_candidate", arguments={"name": "Show.S01.1080p.WEB-DL-GRP"})
seasonpackarr_search(operation="seasonpackarr_search_run_search", arguments={"dry_run": true})

Notes on special operations:

  • Successful match/import responses are bare text (successful match) with HTTP status 250; rejections and failures return JSON ({"statusCode": ..., "error": ...}) with the status code from SeasonPackArr's table (see upstream docs/API.md). A 200 search report still needs its failures checked - a 200 status alone does not prove all work succeeded.

  • torrent accepts the .torrent bytes as a base64 string or as the byte list that autobrr writes for {{ .TorrentDataRawBytes | js }}.

  • Omitting clientname uses the client named default.

  • seasonpackarr_pack_import_pack hardlinks episodes and adds the pack to the torrent client; seasonpackarr_search_run_search without dry_run does the same for every pack it accepts. Do not call either casually.

  • Do not put real API keys, passwords, or tokens in prompts.

Development

make sync
make test
make test-integration   # requires SEASONPACKARR_URL and optionally SEASONPACKARR_API_KEY
make build

The offline tests use httpx.MockTransport; integration tests are skipped by default and only hit the unauthenticated health endpoints.

Available Tools

3 tools
seasonpackarr_healthSeasonpackarr HealthA
Read-only

seasonpackarr health operations on SeasonPackArr. Pass operation and an arguments dict matching that operation's parameters.

  • seasonpackarr_health_get_liveness() - Liveness (GET /api/healthz/liveness). Returns text OK. No auth needed.

  • seasonpackarr_health_get_readiness() - Readiness (GET /api/healthz/readiness). Returns text OK. No auth needed.

Inputs: operation (required), arguments. Returns: result

seasonpackarr_packSeasonpackarr PackA

seasonpackarr pack operations on SeasonPackArr. Pass operation and an arguments dict matching that operation's parameters.

  • seasonpackarr_pack_check_candidate(name, clientname=None, torrent=None) - Candidate check (POST /api/candidate). Compares the release name with the episode torrents in the client. Downloads no torrent and changes nothing; torrent is accepted but ignored.

  • seasonpackarr_pack_import_pack(name, torrent, clientname=None) - Import (POST /api/import). Creates hardlinks and adds the season pack to the client. Uses the stored import plan from the match when still in memory. This writes files and modifies the client.

  • seasonpackarr_pack_match_pack(name, torrent, clientname=None) - Match (POST /api/match). Reads the torrent file list, accepts or rejects the season pack, and keeps an accepted import plan in memory. Changes no files and touches no client. torrent is the .torrent bytes as a base64 string or byte list.

Inputs: operation (required), arguments. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    The three top-level tools map cleanly to health, pack, and search, with no apparent overlap. The pack tool groups match/check/import, but its description clearly distinguishes those operations and the overall domain boundaries remain clear.

    Naming Consistency5/5

    All three tools follow the same seasonpackarr_<domain> snake_case pattern. The suboperation names are verbose but consistently use the same prefix and verb_noun style.

    Tool Count5/5

    Three tools is within the well-scoped range and each covers a distinct area of the SeasonPackArr integration. The operation-based grouping keeps the surface compact without excessive fragmentation.

    Completeness4/5

    Core workflows are covered: health checks, candidate check, match, import, and search. Minor gaps such as client/config management or broader status introspection may exist, but they are not clearly required for the stated purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server exposing Prowlarr's API v1 as tools for managing indexers, applications, download clients, and more, including cross-indexer searches and system commands.
      10
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to interact with the arr media stack (Sonarr, Radarr, Prowlarr, Jellyseerr, Bazarr) via clean, typed tools over each app's REST API.
      1
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables any MCP client to read and change your Teamarr sports-EPG configuration, including teams, event groups, templates, settings, channels, and Dispatcharr sync. Also provides curated tools for safe settings updates, template fillers, event channel summaries, unmatched stream discovery, and TheSportsDB gating checks.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to interact with Sonarr for listing series, checking missing episodes, searching for new series, triggering episode searches, and retrieving system status.
      MIT