Tmdb Mcp Server

io.github.tcehjaava由 GitHub 帳號 tcehjaava 發布v0.1.1更新於 Oct 24, 2026

MCP server for The Movie Database (TMDB) API

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理存取 The Movie Database(TMDB),搜尋與查看電影、影集和人物資訊。

可以做什麼
依片名或姓名搜尋電影、影集和人物,並取得預算、票房、片長、季數、播出頻道和生平簡介等詳細資料。依類型、語言、年份範圍、評分和排序等條件篩選探索影片與影集。取得電影和影集的演員與工作人員名單。依某部電影或影集取得推薦內容。查看每日或每週的熱門電影、影集或人物。
適用情境
當你希望助理回答關於電影、影集和娛樂從業人員的問題,或依 TMDB 資料產生帶篩選條件的探索清單與推薦時,適合使用。
執行需求
以 npm 套件形式透過 stdio 在本機執行(需要 Node.js 18 或以上版本),通常以 npx 啟動或全域安裝。需要 TMDB API 存取權杖,透過環境變數 TMDB_ACCESS_TOKEN 提供,可在 TMDB 免費取得。需要能連線至 TMDB API 的網路。
安裝前請注意
伺服器需要你的 TMDB API 存取權杖,請勿寫入共用設定檔或提交到版本控制。TMDB 免費方案有速率限制(約每秒 50 次請求),高頻使用可能被限流。所有資料都來自 TMDB,每次請求都會把查詢傳送給該第三方。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Tmdb Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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:

bash
# Install globallynpm install -g tmdb-mcp-server
# Or use with npx (no installation needed)npx tmdb-mcp-server

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:

bash
npm install -g tmdb-mcp-server

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:

  1. Clone the repository:
bash
git clone https://github.com/tcehjaava/tmdb-mcp-server.gitcd tmdb-mcp-server
  1. Install dependencies:
bash
npm install
  1. Create a .env file with your TMDB access token:
bash
cp .env.example .env# Edit .env and add your TMDB_ACCESS_TOKEN
  1. Build the server:
bash
npm run build

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:
json
{  "mcpServers": {    "tmdb": {      "command": "npx",      "args": ["-y", "tmdb-mcp-server"],      "env": {        "TMDB_ACCESS_TOKEN": "your_tmdb_access_token_here"      }    }  }}
If installed from source:
json
{  "mcpServers": {    "tmdb": {      "command": "node",      "args": ["/absolute/path/to/tmdb-mcp-server/build/index.js"],      "env": {        "TMDB_ACCESS_TOKEN": "your_tmdb_access_token_here"      }    }  }}

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:

bash
MCP_TRANSPORT=http PORT=3000 node build/index.js

See TRANSPORT.md for detailed deployment instructions for platforms like Railway.

Development

Local Development

Run the server in watch mode for development:

bash
npm run watch

Debugging

Use the MCP Inspector for debugging:

bash
npm run inspector

The Inspector provides a web interface for testing and debugging MCP tools.

Code Formatting

Format code with Prettier:

bash
npm run format

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

Links

來源:README.md,提交 df700a2

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分