search_tv
Pack: tmdb · Endpoint: https://gateway.pipeworx.io/tmdb/mcp
TMDb (The Movie Database) — search TV shows by title. Returns show name, first-air date, popularity, overview, poster path, TMDb tv_id. Use to resolve a TV title into the tv_id needed by tv, tv_season, tv_episode.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | |
first_air_date_year | number | no | |
year | number | no | |
page | number | no | |
language | string | no | |
include_adult | boolean | no |
Example call
Arguments
{
"query": "Breaking Bad"
}
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":"search_tv","arguments":{"query":"Breaking Bad"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_tv', {
"query": "Breaking Bad"
});
More examples
{
"query": "The Office",
"first_air_date_year": 2005
}
Response shape
| Field | Type | Description |
|---|---|---|
page | number | Current page number |
results | array | Array of TV show search results |
total_pages | number | Total number of pages available |
total_results | number | Total number of results |
Full JSON Schema
{
"type": "object",
"properties": {
"page": {
"type": "number",
"description": "Current page number"
},
"results": {
"type": "array",
"description": "Array of TV show search results",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "TV show ID"
},
"name": {
"type": "string",
"description": "TV show name"
},
"first_air_date": {
"type": "string",
"description": "First air date"
},
"popularity": {
"type": "number",
"description": "Popularity score"
},
"vote_average": {
"type": "number",
"description": "Average vote rating"
},
"overview": {
"type": "string",
"description": "Show overview/synopsis"
}
}
}
},
"total_pages": {
"type": "number",
"description": "Total number of pages available"
},
"total_results": {
"type": "number",
"description": "Total number of 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.