How to Use TMDB TV season episodes in opencode
Returns a TV season's episode list and air dates. Use it to build an episode guide or viewing calendar when a show-level record is too broad.
Prompts to try with TMDB TV season episodes in opencode
Copy an example into opencode, or ask in your own words.
Use TMDB TV season episodes for Breaking Bad season 1 and populate an episode calendar in this project.
Use TMDB TV season episodes to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from TMDB TV season episodes and tell me what changed since last week.
Check TMDB TV season episodes and summarize what you find in three bullet points.
Pull the newest data from TMDB TV season episodes and give me the result as a table.
How to set up TMDB TV season episodes in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run TMDB TV season episodes
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "themoviedb-org/films/get_season", "input": { "tmdb_id": 1, "season_number": 0 } }'
Then paste one of the prompts above: opencode finds TMDB TV season episodes on Spiral, shows the price and runs it.
TMDB TV season episodes providers and prices
Spiral runs TMDB TV season episodes through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Tmdb ID | a number from 1 | TMDB TV show id. | |
| Season number | a number from 0 | Season number as TMDB numbers it (0 = specials). |
Every API field of TMDB (The Movie Database) · Get season is on its tool page: open its card above.
What can you do with TMDB TV season episodes in opencode?
Build a film and TV reference feature populated with TMDB records. A coding agent can turn the returned metadata into searchable title cards, credit views, episode guides, or regional availability tables.
Build a film and TV reference catalog
Resolve ambiguous titles, add summaries and credits, connect public filmmaker profiles, and include movie release histories, TV episode guides, and regional viewing options.
Prepare film and TV club discussion guides
Create guides with production summaries, cast and filmmaker background, movie release context, episode schedules for series, and viewing options in the club's country.
Research an entertainment newsletter
Check title identities and credits, research featured screen professionals, distinguish movie release events, list series episodes, and report viewing availability by market.
Prepare a screen studies syllabus
Compile film and television reading notes with summaries, production credits, filmmaker careers, release context, assigned episodes, and country-specific viewing options.
Create a TV episode calendar
Resolve each series, retrieve its title record, and turn season episode lists and air dates into a viewing calendar.
More on TMDB TV season episodes and opencode
Overview
TMDB TV season episodes in other agents
Questions about TMDB TV season episodes in opencode
Can opencode use TMDB TV season episodes?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TMDB TV season episodes like any built-in tool.
How much does TMDB TV season episodes cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use TMDB TV season episodes in opencode?
No. Spiral runs TMDB TV season episodes on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up TMDB TV season episodes in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while TMDB TV season episodes runs?
TMDB TV season episodes runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What does TMDB cover?
TMDB covers movies, TV shows, and people. Its combined search can return all three in one request.
How quickly does TMDB data change?
TMDB documents change lists for movies, TV shows, and people that cover the previous 24 hours by default and can extend to 14 days. Those are change-tracking windows, not a guaranteed refresh schedule for these tools.
Is all TMDB metadata translated?
TMDB says most metadata endpoints support translated data, but identifies two gaps: person names and character names.
Can TMDB find a title under another name?
TMDB text search considers original, translated, and alternative names and titles. A localized title can therefore help resolve the same production.
What do TMDB's terms require when publishing its data?
TMDB requires attribution for noncommercial use and directs commercial users to obtain a license for its data and images. Its attribution instructions also require the TMDB logo and a notice that the product is not endorsed or certified by TMDB.
Start using TMDB TV season episodes in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


