mcp-server-tmdb logo

MCP Server Tmdb

by Laksh-star

2 forks
10 stars
Free

What is mcp-server-tmdb

mcp-server-tmdb is a robust server developed by Laksh-star that seamlessly integrates with The Movie Database (TMDB) API. This server is designed to provide comprehensive movie information, facilitate movie searches, and deliver personalized movie recommendations. It operates as part of the Model Context Protocol (MCP), an open-source framework that allows AI systems to securely connect with diverse data sources and tools. This makes mcp-server-tmdb a powerful asset for AI platforms like Claude to access real-time movie data.

How to Use mcp-server-tmdb

To use mcp-server-tmdb, you'll need to ensure you have the necessary software, accounts, and configurations as described below:

Prerequisites:

  • Software: Ensure Node.js (v18.0.0 or higher) and npm (v8.0.0 or higher) are installed. TypeScript will be installed as a project dependency.
  • Accounts & API Keys: Obtain a free TMDB account and an API key from the TMDB dashboard.
  • System Requirements: Compatible with macOS (10.15 or later) and modern Linux distributions. Requires at least 4GB RAM, 1GB of free disk space, and a stable internet connection.

Setup Process:

  1. Get a TMDB API Key: Register at TMDB and request an API key for developer use.
  2. Clone the Project: Use a Git command to clone the mcp-server-tmdb repository and navigate to the project directory.
  3. Install Dependencies: Run npm install to set up the required packages.
  4. Build the Server: Execute npm run build to compile the server.
  5. Configure Environment Variables: Set your TMDB API key using export TMDB_API_KEY=your_api_key_here.

Integration with Claude Desktop:

  • Update the configuration file to include the path and environment settings for the server.

Example Commands:

  • Search for movies: "Search for movies about artificial intelligence"
  • Get trending movies: "What are the trending movies today?"
  • Get recommendations: "Get movie recommendations based on movie ID 550"

Key Features of mcp-server-tmdb

mcp-server-tmdb provides a range of powerful features to enhance your interaction with movie data:

  • search_movies: Allows you to search for movies by title or keywords. Provides detailed results including titles, release years, IDs, ratings, and overviews.

  • get_recommendations: Generates movie recommendations based on a specific movie ID, offering the top 5 recommended movies with detailed information.

  • get_trending: Fetches the top 10 trending movies based on a specified time window, such as "day" or "week."

Comprehensive Movie Details:

  • Access extensive movie information including titles, release dates, ratings, genres, poster URLs, cast information, directors, and selected reviews. All data is delivered in a user-friendly JSON format.

Error Handling:

  • The server includes detailed error handling for scenarios like invalid API keys, network issues, and malformed requests, ensuring smooth operation and clear communication of any issues.

These features make mcp-server-tmdb an essential tool for anyone looking to integrate movie data into their applications, providing reliable and detailed information at your fingertips.

How to Use

To use the mcp-server-tmdb, follow these steps:

  1. Visit https://github.com/Laksh-...
  2. Follow the setup instructions to create an account (if required)
  3. Connect the MCP server to your Claude Desktop application
  4. Start using mcp-server-tmdb capabilities within your Claude conversations

Additional Information

Created

March 12, 2025

Company

Laksh-star

Start building your own MCP Server

Interested in creating your own MCP Server? Check out the official documentation and resources.

Learn More