get_schedule

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

What TV shows are airing on a given day in a country. Useful for “what aired last night on UK TV”. Returns episode + show records.

Parameters

NameTypeRequiredDescription
countrystringno2-letter country code (default “US”)
datestringnoYYYY-MM-DD (default today)

Example call

Arguments

{
  "country": "US",
  "date": "2024-01-15"
}

curl

curl -X POST https://gateway.pipeworx.io/tvmaze/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_schedule","arguments":{"country":"US","date":"2024-01-15"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_schedule', {
  "country": "US",
  "date": "2024-01-15"
});

More examples

{
  "country": "GB"
}

Response shape

Always returns: country, date, count, airings

FieldTypeDescription
countrystring2-letter country code
datestringDate (YYYY-MM-DD) or ‘today’
countnumberNumber of airings
airingsarrayEpisodes airing on specified date/country
Full JSON Schema
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "description": "2-letter country code"
    },
    "date": {
      "type": "string",
      "description": "Date (YYYY-MM-DD) or 'today'"
    },
    "count": {
      "type": "number",
      "description": "Number of airings"
    },
    "airings": {
      "type": "array",
      "description": "Episodes airing on specified date/country",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "number",
              "null"
            ],
            "description": "TVMaze episode ID"
          },
          "season": {
            "type": [
              "number",
              "null"
            ],
            "description": "Season number"
          },
          "number": {
            "type": [
              "number",
              "null"
            ],
            "description": "Episode number in season"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Episode title"
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Episode type"
          },
          "airdate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Air date (YYYY-MM-DD)"
          },
          "airtime": {
            "type": [
              "string",
              "null"
            ],
            "description": "Air time (HH:MM)"
          },
          "runtime_min": {
            "type": [
              "number",
              "null"
            ],
            "description": "Episode runtime in minutes"
          },
          "rating": {
            "type": [
              "number",
              "null"
            ],
            "description": "Episode rating"
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "HTML-stripped episode summary"
          },
          "tvmaze_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Episode page URL"
          },
          "show": {
            "type": [
              "object",
              "null"
            ],
            "description": "Show information for the episode",
            "properties": {
              "id": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "TVMaze show ID"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Show name"
              },
              "type": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Show type"
              },
              "language": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Primary language"
              },
              "genres": {
                "type": "array",
                "description": "Genre tags",
                "items": {
                  "type": "string"
                }
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Show status"
              },
              "runtime_min": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Episode runtime in minutes"
              },
              "premiered": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Premiere date"
              },
              "ended": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "End date or null"
              },
              "official_site": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Official website URL"
              },
              "rating": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Average rating"
              },
              "network": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Network or web channel name"
              },
              "network_country": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "2-letter country code"
              },
              "imdb_id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "IMDb ID"
              },
              "tvdb_id": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "TheTVDB ID"
              },
              "image": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Show poster image URL"
              },
              "summary": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "HTML-stripped show summary"
              },
              "tvmaze_url": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "TVMaze show page URL"
              }
            }
          }
        }
      }
    }
  },
  "required": [
    "country",
    "date",
    "count",
    "airings"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build June 26, 2026