[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [TMDB streaming availability](https://spiral.ai/integrations/windsurf/tmdb-streaming-availability)

# How to Use TMDB streaming availability in Windsurf

Returns country-specific streaming, rental, and purchase availability from TMDB's JustWatch-sourced listings. Use it to answer where a title is available in a particular market.

|  |  |
| --- | --- |
| Model | TMDB streaming availability |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TMDB streaming availability in Windsurf

- Use TMDB streaming availability for Paddington 2 in the United States and add the returned viewing options to this project's title page.
- Use TMDB streaming availability to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TMDB streaming availability and tell me what changed since last week.
- Check TMDB streaming availability and summarize what you find in three bullet points.
- Pull the newest data from TMDB streaming availability and give me the result as a table.

## How to set up TMDB streaming availability in Windsurf

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run TMDB streaming availability**: One request; the result comes back by polling or a webhook.

```bash
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_watch_providers",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds TMDB streaming availability on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/windsurf

## TMDB streaming availability tools and prices

- [TMDB (The Movie Database) · Get watch providers](https://spiral.ai/tools/alexandria/themoviedb-org/films/get_watch_providers) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A themoviedb.org movie or TV URL; alternative to media_type + tmdb_id. |
| country |  | — | ISO 3166-1 alpha-2 country whose offers to list; default US. Pattern: ^[A-Za-z]{2}$. |
| tmdb_id | 1 to … | — | tmdb_id |
| media_type | movie, tv | — | media_type |

## What can you do with TMDB streaming availability in Windsurf?

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.

### Research a director retrospective

Find a director's filmography, identify recurring collaborators, compare title summaries and release dates, and check where audiences can watch the selected films.

### Compare movie releases across countries

Match each movie to its TMDB record, compare country-specific release events and certifications, and check the viewing offers listed for each market.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## TMDB streaming availability in other agents

- [Amp](https://spiral.ai/integrations/amp/tmdb-streaming-availability)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/tmdb-streaming-availability)
- [Claude](https://spiral.ai/integrations/claude-desktop/tmdb-streaming-availability)
- [Claude Code](https://spiral.ai/integrations/claude-code/tmdb-streaming-availability)
- [Cline](https://spiral.ai/integrations/cline/tmdb-streaming-availability)
- [Codex](https://spiral.ai/integrations/codex/tmdb-streaming-availability)
- [Cursor](https://spiral.ai/integrations/cursor/tmdb-streaming-availability)
- [Devin](https://spiral.ai/integrations/devin/tmdb-streaming-availability)
- [dots](https://spiral.ai/integrations/dots/tmdb-streaming-availability)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/tmdb-streaming-availability)
- [Gemini](https://spiral.ai/integrations/gemini/tmdb-streaming-availability)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/tmdb-streaming-availability)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/tmdb-streaming-availability)
- [goose](https://spiral.ai/integrations/goose/tmdb-streaming-availability)
- [Grok](https://spiral.ai/integrations/grok/tmdb-streaming-availability)
- [Grok Build](https://spiral.ai/integrations/grok-build/tmdb-streaming-availability)
- [Hermes](https://spiral.ai/integrations/hermes/tmdb-streaming-availability)
- [Instinct](https://spiral.ai/integrations/instinct/tmdb-streaming-availability)
- [Manus](https://spiral.ai/integrations/manus/tmdb-streaming-availability)
- [Muse](https://spiral.ai/integrations/muse/tmdb-streaming-availability)
- [Muse Code](https://spiral.ai/integrations/muse-code/tmdb-streaming-availability)
- [n8n](https://spiral.ai/integrations/n8n/tmdb-streaming-availability)
- [Notion](https://spiral.ai/integrations/notion/tmdb-streaming-availability)
- [OpenClaw](https://spiral.ai/integrations/openclaw/tmdb-streaming-availability)
- [opencode](https://spiral.ai/integrations/opencode/tmdb-streaming-availability)
- [Perplexity](https://spiral.ai/integrations/perplexity/tmdb-streaming-availability)
- [Raycast](https://spiral.ai/integrations/raycast/tmdb-streaming-availability)
- [VS Code](https://spiral.ai/integrations/vscode/tmdb-streaming-availability)
- [Zapier](https://spiral.ai/integrations/zapier/tmdb-streaming-availability)

## More Windsurf guides

- [TMDB movie, TV, and person search](https://spiral.ai/integrations/windsurf/tmdb-movie-tv-and-person-search)
- [Talents Forever leveling talents](https://spiral.ai/integrations/windsurf/talents-forever-leveling-talents)
- [TMDB movie release dates](https://spiral.ai/integrations/windsurf/tmdb-movie-release-dates)
- [Talents Forever popular builds](https://spiral.ai/integrations/windsurf/talents-forever-popular-builds)
- [TMDB movie and TV details](https://spiral.ai/integrations/windsurf/tmdb-movie-and-tv-details)
- [Talents Forever talent details](https://spiral.ai/integrations/windsurf/talents-forever-talent-details)

## Questions about TMDB streaming availability in Windsurf

**Can Windsurf use TMDB streaming availability?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run TMDB streaming availability like any built-in tool.

**How much does TMDB streaming availability cost in Windsurf?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

**Do I need an Alexandria account to use TMDB streaming availability in Windsurf?**

No. Spiral runs TMDB streaming availability 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 streaming availability in Windsurf?**

About two minutes: add the server, then sign in, then check it.

**Does Windsurf wait while TMDB streaming availability runs?**

TMDB streaming availability runs in the background. Windsurf 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.

