what is TMDB MCP Server?
TMDB MCP Server is a Model Context Protocol (MCP) server that provides access to The Movie Database (TMDB) API, enabling AI assistants to search and retrieve movie information through the MCP interface.
how to use TMDB MCP Server?
To use TMDB MCP Server, clone the repository, install the dependencies, build the server, and configure it with your TMDB API key in the MCP settings file.
key features of TMDB MCP Server?
- Search movies by title, year, and other criteria
- Retrieve detailed movie information
- Easy integration with MCP-compatible AI assistants
use cases of TMDB MCP Server?
- AI assistants providing movie recommendations based on user queries.
- Applications that need to fetch movie details for display.
- Research projects analyzing movie data from TMDB.
FAQ from TMDB MCP Server?
- Do I need an API key to use TMDB MCP Server?
Yes, you need to obtain a TMDB API key to access the movie database.
- What are the prerequisites for running TMDB MCP Server?
You need Node.js version 18 or higher and a TMDB API key.
- Is TMDB MCP Server open source?
Yes, TMDB MCP Server is open source and licensed under the MIT License.
TMDB MCP Server
A Model Context Protocol (MCP) server that provides access to The Movie Database (TMDB) API. This server enables AI assistants to search and retrieve movie information through the MCP interface.
Features
- Search movies by title, year, and other criteria
- Retrieve detailed movie information
- Easy integration with MCP-compatible AI assistants
Prerequisites
- Node.js >= 18
- TMDB API key (get one from TMDB)
Installation
- Clone the repository:
git clone https://github.com/rakeshgangwar/tmdb-mcp-server.git
cd tmdb-mcp-server
- Install dependencies:
npm install
- Build the server:
npm run build
Configuration
Configure the MCP server in your MCP settings file (typically cline_mcp_settings.json
):
{
"mcpServers": {
"tmdb": {
"command": "node",
"args": ["/path/to/tmdb-mcp-server/dist/index.js"],
"env": {
"TMDB_API_KEY": "your-api-key-here"
},
"disabled": false,
"autoApprove": []
}
}
}
Replace your-api-key-here
with your TMDB API key and replace /path/to/
with actual path.
Available Tools
search_movies
Search for movies using The Movie Database API.
Parameters:
query
(required): Search query stringyear
(optional): Filter by release yearpage
(optional): Page number (default: 1)
Example:
{
"query": "Inception",
"year": 2010,
"page": 1
}
Development
- Make your changes in the
src
directory - Build the project:
npm run build
- Test your changes by configuring the MCP server in your settings
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -am 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- TMDB API for providing the movie database API
- Model Context Protocol for the MCP SDK