Skip to main content
Glama
TMDB MCP Server

TMDB MCP Server

by lonzzi

TMDB MCP Server

A Model Context Protocol (MCP) server that allows LLMs to search for movies and TV shows using the The Movie Database (TMDB) API.

Features

  • Search Movies: Find movies by title with support for region and language.

  • Search TV Shows: Find TV shows by title with language support.

  • Get Details: Retrieve detailed metadata for movies and TV shows (runtime, budget, seasons, etc.).

  • Trending: Discover today's or this week's trending movies and TV shows.

  • Search People: Search for actors, directors, and other crew members.

  • Direct Links: Provides TMDb URLs for easy access to more details.

Related MCP server: wizzy-mcp-tmdb

Prerequisites

  • Node.js (v18 or higher)

  • A TMDB API Key. You can get one by creating an account on themoviedb.org and applying for an API key in your account settings.

Configuration

MCP Client Configuration (e.g., Claude Desktop)

To use this server with Claude Desktop, add it to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "tmdb": {
      "command": "npx",
      "args": ["-y", "@lonzzi/tmdb-mcp-server"],
      "env": {
        "TMDB_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available Tools

All tools support an optional language argument (e.g., en-US, zh-CN, fr-FR) to get localized results. Default is en-US.

search_movies

Search for movies on TMDB by title.

  • Arguments:

    • query (string, required): The movie title to search for.

    • language (string, optional): Language code (default: en-US).

    • region (string, optional): ISO 3166-1 code to filter release dates (e.g., US, KR).

search_tv_shows

Search for TV shows on TMDB by title.

  • Arguments:

    • query (string, required): The TV show title to search for.

    • language (string, optional): Language code (default: en-US).

get_movie_details

Get detailed information about a specific movie.

  • Arguments:

    • movieId (number, required): The TMDB ID of the movie.

    • language (string, optional): Language code (default: en-US).

get_tv_show_details

Get detailed information about a specific TV show.

  • Arguments:

    • tvShowId (number, required): The TMDB ID of the TV show.

    • language (string, optional): Language code (default: en-US).

Get the daily or weekly trending movies.

  • Arguments:

    • timeWindow (string, optional): day or week (default: week).

    • language (string, optional): Language code (default: en-US).

Get the daily or weekly trending TV shows.

  • Arguments:

    • timeWindow (string, optional): day or week (default: week).

    • language (string, optional): Language code (default: en-US).

search_person

Search for people (actors, directors, etc.).

  • Arguments:

    • query (string, required): The name to search for.

    • language (string, optional): Language code (default: en-US).

Development

  1. Clone the repository:

    git clone https://github.com/lonzzi/tmdb-mcp-server.git
    cd tmdb-mcp-server
  2. Install dependencies:

    npm install
  3. Create a .env file with your TMDB_API_KEY.

  4. Build the project:

    npm run build

Running Tests

npm test

Available Tools

7 tools
get_movie_detailsA

Get detailed information about a specific movie by its ID

Inputs: movieId (required), language.

get_tv_show_detailsB

Get detailed information about a specific TV show by its ID

Inputs: tvShowId (required), language.

search_moviesB

Search for movies on TMDB by title to get metadata like overview, release date, and rating

Inputs: query (required), region, language.

search_personA

Search for people (actors, directors, etc.) on TMDB

Inputs: query (required), language.

search_tv_showsA

Search for TV shows on TMDB by title to get metadata like overview, first air date, and rating

Inputs: query (required), language.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct resource: movie details, TV details, trending movies, trending TV, search movies, search TV, and search people. No overlap exists.

    Naming Consistency5/5

    All tools use a consistent verb_noun pattern in snake_case (e.g., get_movie_details, search_movies, search_person), making the naming predictable.

    Tool Count5/5

    7 tools is well-scoped for a TMDB server, covering search, details, trending, and people without being excessive or insufficient.

    Completeness4/5

    Covers core workflows (search, details, trending) for both movies and TV, plus people search. Missing credits, recommendations, or genres, but not critically incomplete.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables searching and retrieving detailed information about movies and TV shows using The Movie Database (TMDB) API.
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
      23
      13 npm
      4
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      An MCP server that wraps The Movie Database (TMDB) API, enabling search for movies and TV shows, retrieval of movie details, recommendations, similar movies, trending content, streaming providers, and movie discovery.
      8
      -
    • F
      license
      A
      quality
      D
      maintenance
      An MCP server that wraps the TMDB API, enabling search of movies and TV shows, retrieval of details, trending titles, recommendations, and streaming provider information.
      8
      -