tmdb-mcp
The tmdb-mcp server provides a comprehensive toolkit for searching, discovering, and retrieving detailed information about movies, TV shows, and people from TMDB, optionally enriched with IMDb, Rotten Tomatoes, and Metacritic ratings via OMDb.
Search & Discovery
search_movies,search_tv,search_people,search_multi– Search by title/name across movies, TV, and peoplesearch_keywords– Resolve keyword names to TMDB IDs for filteringdiscover_movies/discover_tv– Filter by genre, year, rating, runtime, cast/crew, keywords, watch providers, certification, etc.get_trending– Get trending movies, TV, or people for today or this week
Movie Details
get_movie– Full details: overview, genres, runtime, budget/revenue, ratings, certification, links; optional IMDb/RT/Metacritic scoresget_movie_credits– Top-billed cast and headline crewget_movie_recommendations/get_similar– Editorial or algorithmic recommendationsget_collection– Movie franchises and their parts in release order
TV Show Details
get_tv– Full details: overview, genres, seasons/episodes, networks, status, optional ratingsget_tv_credits– Main cast and headline crewget_tv_recommendations– Recommendations based on a TV showget_tv_season/get_tv_episode– Season episode lists or single episode details (guest stars, director, writer)
People
get_person– Biography, birthday/deathday, department, and linksget_person_credits– Full filmography (cast roles and crew jobs)
Ratings, Reviews & Videos
get_ratings– IMDb, Rotten Tomatoes, and Metacritic scores by IMDb ID or title (requires OMDb key)get_reviews– User reviews with author, rating, and textget_videos– Trailers, teasers, and clips with YouTube links
Streaming & Utilities
get_watch_providers– Where to stream, rent, or buy by countryfind_by_imdb_id– Resolve an IMDb ID to TMDB dataget_movie_genres/get_tv_genres– List all TMDB genres with IDs
Provides IMDb ratings enrichment via OMDb, included in movie/TV details when available.
Provides Metacritic ratings enrichment via OMDb, included in movie/TV details when available.
Provides Rotten Tomatoes ratings enrichment via OMDb, included in movie/TV details when available.
Primary source for movie, TV show, and person metadata; provides search, details, credits, recommendations, trending, discover, watch providers, and more via TMDB API.
Provides links to trailers, teasers, and clips for movies and TV shows via the get_videos tool.
Click on "Install 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-mcpfind 'The Matrix' and get its ratings"
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 for The Movie Database (TMDB): search and look up movies, TV shows and people, and read IMDb / Rotten Tomatoes / Metacritic ratings (via OMDb) in the same call.
The server speaks standard MCP over stdio, so it works with any MCP client (Claude Desktop/Code, Cursor, VS Code, Cline, …).
Once it's connected, just ask your agent in natural language (needs a free TMDB token — see Getting your credentials):
"Search for the movie Dune: Part Two and show its overview, genres and runtime."
"What movies are trending this week?"
"Find TV shows similar to Breaking Bad."
"Who directed Oppenheimer? Show the main cast."
"What's Greta Gerwig's filmography?"
"Discover highly-rated sci-fi movies from the 2010s, sorted by rating."
"Where can I stream The Bear in the US?"
"Show me the trailer for Deadpool & Wolverine."
"List the episodes of Severance season 1."
"Which movie has IMDb id tt0111161?"
"Search for people named Zendaya."With an optional (free) OMDb key, ratings are added too:
"What are the IMDb, Rotten Tomatoes and Metacritic scores for The Godfather?"
"Compare the critics' scores for Barbie and Oppenheimer."Install
Add it to your MCP client's config. The only required credential is a TMDB v4
Read Access Token; OMDB_API_KEY (ratings) and TMDB_LANGUAGE / TMDB_REGION
(localization) are optional.
Via npx (no install):
{
"mcpServers": {
"tmdb": {
"command": "npx",
"args": ["-y", "tmdb-mcp"],
"env": {
"TMDB_API_TOKEN": "your-tmdb-v4-read-access-token (required)",
"OMDB_API_KEY": "your-omdb-key (optional — IMDb/RT/Metacritic ratings)",
"TMDB_LANGUAGE": "en-US (optional — localize, e.g. ru-RU)",
"TMDB_REGION": "US (optional — region for certifications, e.g. RU)"
}
}
}
}Replace each value with your own. Only
TMDB_API_TOKENis required — delete the lines marked optional if you don't need them.
As a .mcpb bundle (easiest for Claude Desktop): download tmdb-mcp.mcpb
from the latest release,
then open it / drag it into Claude Desktop's Extensions. It's a self-contained
bundle (no Node or npm needed); enter the token and the optional fields in the
install dialog. Re-download and reinstall to update.
From source: git clone, then npm ci && npm run build, and point the client
at it with "command": "node", "args": ["/ABS/PATH/tmdb-mcp/dist/index.js"] and
the same env as above.
See docs/clients.md for per-client details and all tunables.
Related MCP server: moviefinder-mcp
What it does
Tool | Purpose |
| Find titles/people by name → TMDB id |
| Search movies, TV and people at once (each row has a |
| Full details + IMDb/RT/Metacritic ratings (toggle with |
| Biography, department, links |
| Top-billed cast and headline crew |
| TMDB's editorial recommendations |
| Algorithmically similar titles ( |
| What's popular now (movies / TV / people, day or week) |
| Genre id ↔ name reference |
| Filter by genre, year/date range, rating, cast/crew, keywords, providers, certification, … |
| Where to stream/rent/buy, by region (JustWatch via TMDB) |
| A person's filmography (cast & crew) |
| Trailers/teasers/clips (YouTube links) |
| User reviews (author, rating, text) for a movie/TV |
| A movie franchise/collection and its parts, in release order |
| Resolve an IMDb id → TMDB movie/TV/person |
| Season episode list / single-episode details |
| Resolve keyword names → ids for |
| IMDb/RT/Metacritic ratings by IMDb id or title (standalone) |
Backbone vs. enrichment. TMDB is the primary source (search, metadata,
people, trending). OMDb is optional enrichment: get_movie/get_tv chain the
imdb_id TMDB returns into an OMDb lookup so ratings come back in one call.
Without an OMDb key the TMDB data still works; the ratings field just reports
that it is unconfigured.
Localization. Set TMDB_LANGUAGE (e.g. ru-RU) and TMDB_REGION (e.g.
RU) to get localized titles/overviews/genre names and region-specific
certifications. Most tools also accept a per-call language override.
Getting your credentials
One token is required (TMDB); the OMDb key is optional. Both are free.
TMDB token (required). Create a free account at themoviedb.org, then open Settings → API and request an API key (personal use). Copy the "API Read Access Token" (the long v4 token, not the short v3 key) into
TMDB_API_TOKEN. It's sent asAuthorization: Bearer ….OMDb key (optional). Grab a free key at omdbapi.com/apikey.aspx (the free tier is fine), click the activation link in the email, and set
OMDB_API_KEY. This unlocksget_ratingsand the IMDb / Rotten Tomatoes / Metacritic scores in movie and TV details. Without it, everything else still works.
Put these in your MCP client config's env block (see
docs/clients.md for per-client snippets) — never commit them.
TMDB_LANGUAGE / TMDB_REGION optionally set default locale/region (e.g. ru-RU, RU).
Develop
npm install
npm run build # type-check + bundle to dist/index.js
npm test # node:test (mocked, offline)
npm run lint
npm run format
npm run check:api # live upstream health-check (needs the env credentials)
npm run inspector # run under the MCP InspectorRuntime requires Node ≥ 20. Contributor/agent guidance lives in AGENTS.md.
Updating
.mcpbbundle: download the new bundle from the releases page and reinstall.From source:
git pull && npm ci && npm run build.npx: unpinned
npx -y tmdb-mcpfetches the latest on the next run.
This product uses the TMDB API but is not endorsed or certified by TMDB.
License
MIT © Grinv
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Grinv/tmdb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server