TMDB MCP Server

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.

Category
访问服务器

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 fetch does not respect system proxy settings (http_proxy/https_proxy)
  • curl automatically 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

  1. Go to TMDB
  2. Create an account
  3. Go to Settings > API
  4. Generate your API key

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选