discover_tv

Pack: tmdb · Endpoint: https://gateway.pipeworx.io/tmdb/mcp

Discover TMDB TV shows using advanced filters passed as query params (genre, first_air_date, vote average, network, sort order, etc.). Use genres_tv to get valid genre IDs first.

Example call

Arguments

{
  "sort_by": "popularity.desc"
}

curl

curl -X POST https://gateway.pipeworx.io/tmdb/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"discover_tv","arguments":{"sort_by":"popularity.desc"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('discover_tv', {
  "sort_by": "popularity.desc"
});

More examples

{
  "first_air_date_year": 2022
}

Response shape

FieldTypeDescription
pagenumberCurrent page number
resultsarrayDiscovered TV shows
total_pagesnumberTotal pages
total_resultsnumberTotal results
Full JSON Schema
{
  "type": "object",
  "properties": {
    "page": {
      "type": "number",
      "description": "Current page number"
    },
    "results": {
      "type": "array",
      "description": "Discovered TV shows",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "total_pages": {
      "type": "number",
      "description": "Total pages"
    },
    "total_results": {
      "type": "number",
      "description": "Total results"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "tmdb": {
      "url": "https://gateway.pipeworx.io/tmdb/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026