
Tmdb Mcp Server
io.github.tcehjaava由 GitHub 账号 tcehjaava 发布v0.1.1更新于 Oct 24, 2026
MCP server for The Movie Database (TMDB) API
概览
一个本地 MCP 服务器,让助手访问 The Movie Database(TMDB),搜索和查看电影、电视剧与人物信息。
- 可以做什么
- 按标题或姓名搜索电影、电视剧和人物,并获取预算、票房、片长、季数、播出平台和生平简介等详细信息。按类型、语言、年份范围、评分和排序等条件筛选发现影片和剧集。获取电影和电视剧的演员与剧组名单。根据某部电影或剧集获取推荐内容。查看每日或每周的热门电影、电视剧或人物。
- 适用场景
- 当你希望助手回答关于电影、剧集和娱乐从业者的问题,或基于 TMDB 数据生成带筛选条件的发现列表和推荐时,适合使用。
- 运行要求
- 以 npm 包形式通过 stdio 在本地运行(需要 Node.js 18 或更高版本),通常用 npx 启动或全局安装。需要 TMDB API 访问令牌,通过环境变量 TMDB_ACCESS_TOKEN 提供,可在 TMDB 免费获取。需要能访问 TMDB API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Tmdb Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
TMDB MCP Server
[npm version] [npm downloads] [License: MIT]
A Model Context Protocol (MCP) server that provides access to The Movie Database (TMDB) API. This server enables Claude and other MCP clients to search for movies, TV shows, and people, as well as get detailed information and recommendations.
🌟 Now available on the Official MCP Registry
Quick Start
Get started in seconds with npm:
Get your free TMDB API token: https://www.themoviedb.org/settings/api
Features
🎬 Movie Tools
- search_movies - Search for movies by title
- get_movie_details - Get detailed information about a specific movie (budget, revenue, runtime, genres, etc.)
- discover_movies - Discover movies with advanced filters (genre, language, year range, rating, sorting)
- get_recommendations - Get movie recommendations based on a specific movie
- get_movie_credits - Get cast and crew information for a movie
📺 TV Show Tools
- search_tv_shows - Search for TV shows by name
- get_tv_details - Get detailed information about a specific TV show (seasons, episodes, networks, etc.)
- discover_tv_shows - Discover TV shows with advanced filters (genre, language, year, rating, sorting)
- get_tv_recommendations - Get TV show recommendations based on a specific show
- get_tv_credits - Get cast and crew information for a TV show
👥 People Tools
- search_people - Search for actors, directors, and other entertainment industry professionals
- get_person_details - Get detailed biographical information about a person
🔥 Trending
- get_trending - Get daily or weekly trending movies, TV shows, or people
Installation
Option 1: npm (Recommended)
Install from npm registry:
That's it! No build step required.
Option 2: From Source (For Development)
Prerequisites:
- Node.js (v18 or higher)
- A TMDB API access token (get one free at TMDB)
Steps:
- Clone the repository:
- Install dependencies:
- Create a
.envfile with your TMDB access token:
- Build the server:
Usage
With Claude Desktop
Add the server to your Claude Desktop configuration:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
If installed via npm:
If installed from source:
With Other MCP Clients
The server runs on stdio by default, making it compatible with any MCP client that supports stdio transport.
Remote Deployment (HTTP Mode)
The server also supports Streamable HTTP transport for remote deployment:
See TRANSPORT.md for detailed deployment instructions for platforms like Railway.
Development
Local Development
Run the server in watch mode for development:
Debugging
Use the MCP Inspector for debugging:
The Inspector provides a web interface for testing and debugging MCP tools.
Code Formatting
Format code with Prettier:
Example Queries
Here are some example queries you can try with Claude:
- "Find Japanese sci-fi movies from 2020 onwards with a rating above 7"
- "What are the top trending movies this week?"
- "Get me recommendations based on The Matrix"
- "Search for Christopher Nolan movies"
- "Show me details about the TV show Breaking Bad"
- "Find Korean dramas with high ratings"
API Rate Limits
TMDB API has rate limits on their free tier:
- 50 requests per second
- Consider implementing caching for production use
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
See CONTRIBUTING.md for guidelines.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built with the Model Context Protocol SDK
- Data provided by The Movie Database (TMDB)
- This product uses the TMDB API but is not endorsed or certified by TMDB
Links
来源:README.md,提交 df700a2
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分