tmdb-mcp
Provides tools for accessing TMDB data: searching movies, TV shows and people; fetching details such as runtime, genres, scores, directors, top cast, budget/revenue and trailers; discovering titles by genre, year, score, runtime, language or streaming service; trending titles, 'more like this' recommendations, and where-to-watch/streaming availability by country.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tmdb-mcp find me a 90s thriller on Netflix under 2 hours"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tmdb-mcp
An MCP server that gives AI agents access to The Movie Database (TMDB): movies, TV shows, people, trending titles, recommendations and where to watch.
It is designed around how agents actually use tools, not around TMDB's endpoints:
Compact, typed outputs. Every tool returns a trimmed result with a declared output schema (
structuredContent). Agents pay for each token a tool returns, so raw TMDB payloads (image paths, popularity floats, duplicate ids) are cut down to the fields that help answer questions.Names, not ids.
discovertakes genres and streaming services by name ("sci-fi","Netflix") and resolves them to TMDB ids itself, so "a 90s thriller on Netflix under 2 hours" is a single call.One call per question. Detail tools bundle what is usually needed together (credits, trailer, top cast), instead of making the agent chain three requests.
Errors the agent can act on. Unknown genres come back with the list of valid ones; a 404 tells the agent to search for a valid id first.
Production basics. In-memory TTL/LRU cache, retries with
Retry-Afteron 429/5xx, request timeouts, and an HTTP mode with bearer auth and per-client rate limiting.
Measured output size
Characters returned to the agent versus the raw TMDB response for the same request (npm run smoke, 14 Oct 2026):
Tool | Example | Tool output | Raw TMDB | Reduction |
| Inception, with credits and videos | 1,115 | 213,588 | 99.4% |
| Inception, US | 432 | 88,595 | 99.5% |
| Christopher Nolan, with credits | 2,350 | 96,965 | 97.5% |
| "Inception" | 4,184 | 7,063 | 40.7% |
| sci-fi on Netflix, score ≥ 7 | 8,179 | 12,920 | 36.6% |
The large savings come from endpoints that return far more than a question needs: full cast and crew lists, every video, every country's streaming offers. Search and discover results are already lists of summaries, so the saving there comes from dropping image paths and internal fields.
Tools
Tool | What it does |
| Find movies by title (optionally by year) |
| Find TV series by name |
| Find actors, directors and crew |
| Runtime, genres, score, directors, writers, top cast, budget, revenue, trailer |
| Status, seasons, episodes, networks, creators, top cast |
| Biography and the 15 best-known credits with roles |
| Where a title streams, rents or sells in a given country |
| Find titles by genres, years, score, runtime, language and streaming service |
| Trending movies, shows or people, today or this week |
| "More like this" for a movie or show |
It also provides a resource, tmdb://genres, with the valid genre names, and a movie_night prompt that picks three movies for a group from the services they subscribe to.
Related MCP server: IMDB MCP
Quick start
Get a free TMDB API Read Access Token at https://www.themoviedb.org/settings/api.
Add the server to your MCP client.
Claude Code
claude mcp add tmdb -e TMDB_READ_ACCESS_TOKEN=your-token -- npx -y @wsqreis/tmdb-mcpClaude Desktop (claude_desktop_config.json) or any client using the same format:
{
"mcpServers": {
"tmdb": {
"command": "npx",
"args": ["-y", "@wsqreis/tmdb-mcp"],
"env": { "TMDB_READ_ACCESS_TOKEN": "your-token" }
}
}
}VS Code (.vscode/mcp.json):
{
"inputs": [{ "id": "tmdb-token", "type": "promptString", "description": "TMDB Read Access Token", "password": true }],
"servers": {
"tmdb": {
"command": "npx",
"args": ["-y", "@wsqreis/tmdb-mcp"],
"env": { "TMDB_READ_ACCESS_TOKEN": "${input:tmdb-token}" }
}
}
}Then ask things like:
"What should I watch tonight? Something like Arrival, available on Netflix in the UK."
"Which movies have Denis Villeneuve and Roger Deakins made together?"
"Best-rated Korean thrillers from the 2010s under two hours."
Remote (HTTP) mode
The same server can run as a remote MCP endpoint over Streamable HTTP:
TMDB_READ_ACCESS_TOKEN=... MCP_HTTP_AUTH_TOKEN=$(openssl rand -hex 32) npx -y @wsqreis/tmdb-mcp --http
# or
docker build -t tmdb-mcp . && docker run -p 3000:3000 --env-file .env tmdb-mcpPOST /mcprequiresAuthorization: Bearer <MCP_HTTP_AUTH_TOKEN>. The server refuses to start in HTTP mode without a token, so it is never exposed without auth by accident.Each client IP gets a token bucket of
MCP_HTTP_RATE_LIMIT_PER_MINUTErequests (default 60). Over the limit it returns429withRetry-After.It runs stateless: a fresh MCP server per request, so instances scale horizontally without sticky sessions.
GET /healthzis open for load balancers and container health checks.
When deploying behind a reverse proxy, every request will appear to come from the proxy's IP. Enforce per-client limits at the proxy, or extend the limiter to read a trusted X-Forwarded-For.
Configuration
Variable | Default | |
| – | v4 token (preferred), sent as a bearer header |
| – | v3 key, used only if no read access token is set |
|
| Language of titles and overviews |
|
| Default country for watch providers and |
|
|
|
|
| LRU eviction above this |
|
| Per-request timeout and retries on 429/5xx |
|
| HTTP mode only |
| – | Required in HTTP mode |
|
| Per client IP, |
Development
Requires Node.js 22.18+ (TypeScript runs natively in development; the published package is compiled to JavaScript).
npm install
npm test # unit + MCP protocol + HTTP tests, no network needed
npm run typecheck
npm run inspect # open the MCP Inspector against the local server
cp .env.example .env && npm run smoke # live check against TMDB, with output-size comparisonThe tests drive the server through a real MCP client over an in-memory transport, with a fake fetch standing in for TMDB, so they cover schemas, argument validation and error handling end to end without network access.
src/
├── index.ts # entry point: stdio (default) or --http
├── server.ts # MCP server: tools, resource, prompt, instructions
├── schemas.ts # zod output schemas (compact shapes)
├── tools/ # tool definitions, name→id resolution, error mapping
├── tmdb/ # HTTP client (auth, cache, retries), raw types, formatters
└── http/ # Streamable HTTP app, bearer auth, rate limiterAttribution
This product uses the TMDB API but is not endorsed or certified by TMDB. Streaming availability data is provided by JustWatch through TMDB.
License
Available Tools
10 toolsdiscoverDiscover movies or TV showsARead-onlyIdempotent
Find titles by criteria instead of by name: genres (by name, e.g. "sci-fi", "comedy"), year range, minimum score, max runtime, original language and streaming service (e.g. "Netflix") in a country. Best tool for requests like "a good 90s thriller on Netflix under 2 hours".
Inputs: page, genres, region, sortBy, +9 more. Returns: page, results, totalPages, totalResults
get_movie_detailsMovie detailsARead-onlyIdempotent
Full details for one movie in a single call: runtime, genres, score, directors, writers, top cast, budget, revenue and trailer.
Inputs: movieId (required). Returns: id, title, votes, genres, +13 more
get_person_detailsPerson detailsARead-onlyIdempotent
Biography and the 15 best-known movies/shows of an actor or crew member, with the role they had in each.
Inputs: personId (required). Returns: id, name, birthday, deathday, +4 more
get_recommendationsSimilar titlesARead-onlyIdempotent
Titles that people who liked a given movie or show also liked. Use for "something like X" requests; combine with get_watch_providers to check availability.
Inputs: id (required), mediaType (required), page. Returns: page, results, totalPages, totalResults
get_trendingTrending nowBRead-onlyIdempotent
What is trending on TMDB today or this week: movies, TV shows, people, or all of them mixed.
Inputs: mediaType, timeWindow. Returns: results
get_tv_show_detailsTV show detailsARead-onlyIdempotent
Full details for one TV series: status, seasons, episodes, networks, creators, top cast and score.
Inputs: tvId (required). Returns: id, name, votes, genres, +11 more
get_watch_providersWhere to watchARead-onlyIdempotent
Where a movie or show can be streamed, rented or bought in a country. Data comes from JustWatch; mention that source when showing it to users.
Inputs: id (required), mediaType (required), region. Returns: buy, free, link, rent, +5 more
search_moviesSearch moviesARead-onlyIdempotent
Find movies by title (fuzzy). Returns ids to use with get_movie_details, get_recommendations and get_watch_providers. Pass year to disambiguate remakes.
Inputs: query (required), page, year. Returns: page, results, totalPages, totalResults
search_peopleSearch peopleARead-onlyIdempotent
Find actors, directors and other crew by name. Returns ids to use with get_person_details.
Inputs: query (required), page. Returns: page, results, totalPages, totalResults
search_tv_showsSearch TV showsARead-onlyIdempotent
Find TV series by name (fuzzy). Returns ids to use with get_tv_show_details and other tools.
Inputs: query (required), page, firstAirYear. Returns: page, results, totalPages, totalResults
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct intent: search_* tools find by name for a specific resource type, discover browses by filters, and the get_* tools each retrieve details for a specific resource. discover vs search_movies and get_recommendations vs discover are the closest overlap but descriptions clearly delineate criteria-based browsing from name lookup and 'more like X' requests.
Consistent verb_noun pattern across search_movies, search_tv_shows, search_people, get_movie_details, get_tv_show_details, get_person_details, get_watch_providers, get_trending, and get_recommendations. The lone outlier is the bare-verb 'discover', a minor deviation.
Ten tools is well-scoped for a media discovery domain, with search, details, discovery, trending, recommendations, and availability each earning a distinct slot without redundancy.
The surface covers the core lifecycle: finding titles/people, browsing by filters, fetching details, watching providers, trending, and recommendations. Minor gaps exist around season/episode-level detail and collection/list operations, but agents can work around these.
Maintenance
Related MCP Connectors
YouTube transcripts, IMDb search and podcast search as agent tools.
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
15 media & data tools for AI agents: search, transcribe, subtitles, voiceover, translate & more.
Discover, inspect and run 63,000+ agent tools from one balance. Pay per call, no subscriptions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides integration with The Movie Database (TMDB) API for searching movies, TV shows, and people, accessing detailed information, and discovering popular and trending content. Enables AI assistants to access comprehensive movie and television metadata including ratings, cast, crew, and overviews.1ISC
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to search IMDb titles, retrieve detailed metadata and ratings, list top-rated titles with filters, and browse TV series episodes with per-episode ratings and crew information.58 npm1MIT

amodb-mcpofficial
AlicenseAqualityCmaintenanceEnables MCP clients such as Claude, Cursor, and VS Code to search movie and TV titles, read full records for movies, TV shows, seasons, and people, check trending lists, discover titles, and find cinema showtimes.9MIT- AlicenseNot gradedqualityCmaintenanceEnables movie and TV lookups through twelve read-only tools: title and person search, full details, episode lists, discovery by genre/year/language/streaming service, trending and recommendations, where to watch by country, and merged critic/audience scores from IMDb, Rotten Tomatoes, Metacritic, Letterboxd and others. Runs as a local stdio server or a containerized Streamable HTTP service with bearer auth.1MIT