by Laksh-star
mcp-server-tmdb is an MCP server that integrates with The Movie Database (TMDB) API to provide movie information, search capabilities, and recommendations, primarily for use with Claude Desktop.
mcp-server-tmdb is a server designed to extend the functionality of Claude Desktop by integrating with The Movie Database (TMDB) API. It allows users to access movie information, perform searches, and receive recommendations directly through their Claude Desktop application. This project is built with JavaScript and leverages Node.js and npm.
To use mcp-server-tmdb, you need to have Node.js (v18.0.0+), npm (v8.0.0+), and TypeScript installed. You also need a TMDB API key and the Claude Desktop application. The setup involves cloning the repository, installing dependencies, building the server, and setting up an environment variable for your TMDB API key. Integration with Claude Desktop requires modifying its configuration file to include the server. Alternatively, you can install it automatically via Smithery CLI.
Q: What are the prerequisites for running mcp-server-tmdb? A: You need Node.js (v18.0.0+), npm (v8.0.0+), TypeScript, a TMDB API key, and the Claude Desktop application.
Q: How do I get a TMDB API key? A: You can sign up at TMDB, go to your account settings, navigate to the API section, and request an API key for developer use.
Q: Can I use this server with other applications besides Claude Desktop? A: While primarily designed for Claude Desktop, the server provides a general API integration with TMDB, so it could potentially be adapted for other applications that can interact with external servers.
Q: How do I handle errors? A: The server includes comprehensive error handling, and error messages are returned in a user-friendly format through Claude Desktop.
Q: Is there a way to install this automatically?
A: Yes, you can use the Smithery CLI to install it automatically with npx -y @smithery/cli install @Laksh-star/mcp-server-tmdb --client claude
.
This MCP server integrates with The Movie Database (TMDB) API to provide movie information, search capabilities, and recommendations.
Before installing and running the TMDB MCP server, ensure you have the following prerequisites installed and configured:
Node.js
node --version
npm (Node Package Manager)
npm --version
TypeScript
npm install -g typescript
tsc --version
TMDB Account
Claude Desktop Application
Operating Systems
Hardware Requirements
For the best development experience, we recommend:
search_movies
query
(string): Search queryget_recommendations
movieId
(string): TMDB movie IDget_trending
timeWindow
(string): Either "day" or "week"The server provides access to TMDB movie information:
Movies (tmdb:///movie/<movie_id>
)
Get a TMDB API key:
Clone and set up the project:
git clone [repository-url]
cd mcp-server-tmdb
npm install
Build the server:
npm run build
Set up your environment variable:
export TMDB_API_KEY=your_api_key_here
To integrate this server with Claude Desktop, add the following to your app's server configuration file (located at ~/Library/Application Support/Claude/config.json
):
{
"mcpServers": {
"tmdb": {
"command": "/full/path/to/dist/index.js",
"env": {
"TMDB_API_KEY": "your_api_key_here"
}
}
}
}
Replace /full/path/to
with the actual path to your project directory.
To install TMDB Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Laksh-star/mcp-server-tmdb --client claude
Once the server is running with Claude Desktop, you can use commands like:
Search for movies:
"Search for movies about artificial intelligence"
Get trending movies:
"What are the trending movies today?"
"Show me this week's trending movies"
Get movie recommendations:
"Get movie recommendations based on movie ID 550"
Get movie details:
"Tell me about the movie with ID 550"
The server includes comprehensive error handling for:
Error messages will be returned in a user-friendly format through Claude Desktop.
To watch for changes during development:
npm run watch
This MCP server is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
Please log in to share your review and rating for this MCP.