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.