TMDB MCP Server
Provides access to The Movie Database (TMDB) API, enabling users to search and retrieve comprehensive information about movies, TV shows, and people. It supports trending lists, recommendations, and media details, returning results in Chinese by default.
README
TMDB MCP Server
Model Context Protocol (MCP) server for The Movie Database (TMDB) API.
Features
- Search: movies, TV shows, people, multi
- Trending: daily/weekly for movies, TV, all
- Movies: popular, top_rated, now_playing, upcoming, details, credits, similar, recommendations, videos
- TV: popular, top_rated, airing_today, on_the_air, details, credits, similar, videos
- People: details, movie_credits, tv_credits
- Genres: movie and TV genre lists
Requirements
- Node.js >= 18
- TMDB API Key
Installation
npm install @ryanxili/tmdb-mcp
Quick Start
Install
npm install @ryanxili/tmdb-mcp
Run
# With TMDB API key
TMDB_API_KEY=your_key node node_modules/@ryanxili/tmdb-mcp/index.js
Or create a runner script:
# run.js
import('@ryanxili/tmdb-mcp');
Local Development
# Clone
git clone https://github.com/ryanxili/tmdb-mcp.git
cd tmdb-mcp
# Install
npm install
# Run
export TMDB_API_KEY=your_key
npm start
Configuration
Set your TMDB API key as an environment variable:
export TMDB_API_KEY="your_api_key_here"
Or the MCP server will prompt for API key if not set.
Running
# With environment variable
TMDB_API_KEY=your_key npm start
# Or export first
export TMDB_API_KEY=your_key
npm start
MCP Client Configuration
Add to your MCP config:
{
"mcpServers": {
"tmdb": {
"command": "node",
"args": ["node_modules/@ryanxili/tmdb-mcp/index.js"],
"env": {
"TMDB_API_KEY": "your_api_key"
}
}
}
}
Or with npx (requires internet):
{
"mcpServers": {
"tmdb": {
"command": "npx",
"args": ["-y", "@ryanxili/tmdb-mcp"],
"env": {
"TMDB_API_KEY": "your_api_key"
}
}
}
}
Implementation Note
This MCP server uses curl instead of native fetch for API requests because:
- Node.js built-in
fetchdoes not respect system proxy settings (http_proxy/https_proxy) curlautomatically uses proxy environment variables, ensuring compatibility with various network environments
Available Tools
| Tool | Description |
|---|---|
| search_movie | Search movies by query |
| search_tv | Search TV shows by query |
| search_person | Search people by query |
| search_multi | Multi search (movies, TV, people) |
| trending_movie_day | Trending movies today |
| trending_movie_week | Trending movies this week |
| trending_tv_day | Trending TV today |
| trending_tv_week | Trending TV this week |
| trending_all_day | All trending today |
| trending_all_week | All trending this week |
| movie_popular | Popular movies |
| movie_top_rated | Top rated movies |
| movie_now_playing | Now playing movies |
| movie_upcoming | Upcoming movies |
| movie_details | Movie details by ID |
| movie_credits | Movie cast & crew |
| movie_similar | Similar movies |
| movie_recommendations | Movie recommendations |
| movie_videos | Movie videos/trailers |
| tv_popular | Popular TV shows |
| tv_top_rated | Top rated TV shows |
| tv_airing_today | TV airing today |
| tv_on_the_air | TV on the air |
| tv_details | TV show details |
| tv_credits | TV cast & crew |
| tv_similar | Similar TV shows |
| tv_videos | TV videos |
| person_details | Person details |
| person_movie_credits | Person movie credits |
| person_tv_credits | Person TV credits |
| genre_movie_list | Movie genres |
| genre_tv_list | TV genres |
Language
All results are returned in Chinese (zh-CN) by default.
Get TMDB API Key
- Go to TMDB
- Create an account
- Go to Settings > API
- Generate your API key
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.