TMDB MCP Server
Provides access to TMDB's movie and TV show database, enabling search, detailed information retrieval, discovery with advanced filters, recommendations, cast and crew details, and trending content for movies, TV shows, and entertainment industry professionals.
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 Server search for Christopher Nolan movies"
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 Server
A Model Context Protocol (MCP) server that provides access to The Movie Database (TMDB) API. This server enables Claude and other MCP clients to search for movies, TV shows, and people, as well as get detailed information and recommendations.
🌟 Now available on the Official MCP Registry
Quick Start
Get started in seconds with npm:
# Install globally
npm install -g tmdb-mcp-server
# Or use with npx (no installation needed)
npx tmdb-mcp-serverGet your free TMDB API token: https://www.themoviedb.org/settings/api
Related MCP server: TMDB MCP Server
Features
🎬 Movie Tools
search_movies - Search for movies by title
get_movie_details - Get detailed information about a specific movie (budget, revenue, runtime, genres, etc.)
discover_movies - Discover movies with advanced filters (genre, language, year range, rating, sorting)
get_recommendations - Get movie recommendations based on a specific movie
get_movie_credits - Get cast and crew information for a movie
📺 TV Show Tools
search_tv_shows - Search for TV shows by name
get_tv_details - Get detailed information about a specific TV show (seasons, episodes, networks, etc.)
discover_tv_shows - Discover TV shows with advanced filters (genre, language, year, rating, sorting)
get_tv_recommendations - Get TV show recommendations based on a specific show
get_tv_credits - Get cast and crew information for a TV show
👥 People Tools
search_people - Search for actors, directors, and other entertainment industry professionals
get_person_details - Get detailed biographical information about a person
🔥 Trending
get_trending - Get daily or weekly trending movies, TV shows, or people
Installation
Option 1: npm (Recommended)
Install from npm registry:
npm install -g tmdb-mcp-serverThat's it! No build step required.
Option 2: From Source (For Development)
Prerequisites:
Node.js (v18 or higher)
A TMDB API access token (get one free at TMDB)
Steps:
Clone the repository:
git clone https://github.com/tcehjaava/tmdb-mcp-server.git
cd tmdb-mcp-serverInstall dependencies:
npm installCreate a
.envfile with your TMDB access token:
cp .env.example .env
# Edit .env and add your TMDB_ACCESS_TOKENBuild the server:
npm run buildUsage
With Claude Desktop
Add the server to your Claude Desktop configuration:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
If installed via npm:
{
"mcpServers": {
"tmdb": {
"command": "npx",
"args": ["-y", "tmdb-mcp-server"],
"env": {
"TMDB_ACCESS_TOKEN": "your_tmdb_access_token_here"
}
}
}
}If installed from source:
{
"mcpServers": {
"tmdb": {
"command": "node",
"args": ["/absolute/path/to/tmdb-mcp-server/build/index.js"],
"env": {
"TMDB_ACCESS_TOKEN": "your_tmdb_access_token_here"
}
}
}
}With Other MCP Clients
The server runs on stdio by default, making it compatible with any MCP client that supports stdio transport.
Remote Deployment (HTTP Mode)
The server also supports Streamable HTTP transport for remote deployment:
MCP_TRANSPORT=http PORT=3000 node build/index.jsSee TRANSPORT.md for detailed deployment instructions for platforms like Railway.
Development
Local Development
Run the server in watch mode for development:
npm run watchDebugging
Use the MCP Inspector for debugging:
npm run inspectorThe Inspector provides a web interface for testing and debugging MCP tools.
Code Formatting
Format code with Prettier:
npm run formatExample Queries
Here are some example queries you can try with Claude:
"Find Japanese sci-fi movies from 2020 onwards with a rating above 7"
"What are the top trending movies this week?"
"Get me recommendations based on The Matrix"
"Search for Christopher Nolan movies"
"Show me details about the TV show Breaking Bad"
"Find Korean dramas with high ratings"
API Rate Limits
TMDB API has rate limits on their free tier:
50 requests per second
Consider implementing caching for production use
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
See CONTRIBUTING.md for guidelines.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Built with the Model Context Protocol SDK
Data provided by The Movie Database (TMDB)
This product uses the TMDB API but is not endorsed or certified by TMDB
Links
Available Tools
13 toolsdiscover_moviesA
Discover movies with advanced filters including genre, language, year range, rating, and sorting. Perfect for finding movies that match specific criteria like 'Japanese sci-fi movies from 2020 onwards with rating above 7' or 'Korean dramas with high ratings'.
Inputs: with_genres, with_original_language, min_year, max_year, +5 more.
discover_tv_showsB
Discover TV shows with advanced filters including genre, language, year, rating, and sorting. Perfect for finding shows that match specific criteria like 'Korean dramas from 2023 with rating above 7' or 'Japanese anime shows'.
Inputs: with_genres, with_original_language, year, min_rating, +3 more.
get_movie_creditsA
Get cast and crew information for a specific movie. Returns actors with their characters and crew members with their roles/departments.
Inputs: movie_id (required).
get_movie_detailsB
Get detailed information about a specific movie using its TMDB ID. Returns comprehensive details including budget, revenue, runtime, genres, production companies, and more.
Inputs: movie_id (required).
get_person_detailsB
Get detailed biographical information about a person (actor, director, crew member). Returns full biography, birth info, death date (if applicable), IMDb ID, homepage, and more.
Inputs: person_id (required).
get_recommendationsA
Get movie recommendations based on a specific movie. Returns similar movies that users who liked the given movie also enjoyed. Great for 'If you liked X, try Y' suggestions.
Inputs: movie_id (required), page.
get_trendingC
Get daily or weekly trending movies, TV shows, or people. Returns what's currently popular on TMDB based on user activity.
Inputs: media_type, time_window, page.
get_tv_creditsA
Get cast and crew information for a specific TV show. Returns actors with their characters and crew members with their roles/departments.
Inputs: tv_id (required).
get_tv_detailsA
Get detailed information about a specific TV show using its TMDB ID. Returns comprehensive details including number of seasons, episodes, networks, creators, and more.
Inputs: tv_id (required).
get_tv_recommendationsB
Get TV show recommendations based on a specific show. Returns similar shows that users who liked the given show also enjoyed.
Inputs: tv_id (required), page.
search_moviesB
Search for movies by title. Returns a list of movies matching the search query with basic information like title, release date, overview, and rating.
Inputs: query (required), page.
search_peopleA
Search for people (actors, directors, producers, crew) by name. Returns basic info including profile photo, known for department, and movies/TV shows they're known for.
Inputs: query (required), page.
search_tv_showsC
Search for TV shows by name. Returns a list of TV shows matching the search query with basic information like name, first air date, overview, and rating.
Inputs: query (required), page.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools have distinct purposes targeting specific resources (movies, TV shows, people) with clear action differentiation. However, discover_movies and search_movies have potential overlap in movie-finding functionality, though their descriptions clarify discover uses advanced filters while search uses title matching.
All tools follow a consistent verb_noun pattern with clear action prefixes (discover_, get_, search_) and specific resource suffixes (_movies, _tv_shows, _person, _people). The naming is perfectly predictable and systematic throughout the set.
13 tools is well-scoped for a movie/TV database server, providing comprehensive coverage without bloat. The count aligns with the domain's natural divisions between movies, TV shows, and people, with appropriate operations for each.
The toolset provides complete coverage for a TMDB-like domain with discovery, search, detailed retrieval, credits, recommendations, and trending operations for both movies and TV shows, plus person/people functionality. No obvious gaps exist for typical agent workflows.
Maintenance
Related MCP Connectors
OMDb MCP — IMDB-derived movie / TV / episode data (BYO key)
Unofficial Movies MCP — wraps iTunes Search API (movies, free, no auth) and TVmaze API (TV shows…
Find movies and TV shows, track watches, and get suggestions based on your taste.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceIntegrates with The Movie Database (TMDB) API to provide movie information, search capabilities, and recommendations.77MIT
- 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
- FlicenseNot gradedqualityNot gradedmaintenanceProvides access to The Movie Database (TMDB) API for searching movies, retrieving movie details, cast information, and browsing current, upcoming, popular, and top-rated films, as well as searching for actors and directors.61 npm-
- AlicenseNot gradedqualityDmaintenanceIntegrates with The Movie Database (TMDB) API to provide movie information, search capabilities, and recommendations.18 npmMIT