movie-xray-mcp

movie-xray-mcp

Enables searching for movies and TV shows, viewing cast details, exploring actor bios and filmographies, checking streaming availability, and cross-referencing actor work against Netflix's catalog.

Category
访问服务器

README

movie-xray-mcp

A FastMCP server that gives Claude an Amazon Prime "X-Ray"-style view of movies and TV shows: look up a title, see the cast, drill into an actor's bio and filmography, find out what else of theirs is on Netflix right now, and link out to IMDb for more detail.

Ask Claude things like:

  • "Search for The Matrix and tell me about the cast"
  • "Who plays Neo, and what else has Keanu Reeves been in?"
  • "Is anything from Keanu Reeves' filmography on Netflix right now?"
  • "What's the IMDb rating and Rotten Tomatoes score for Oppenheimer?"
  • "Show me everything streaming for The Bear, with cast and IMDb links"

Tools

Tool Description Auth required
search_title Search for a movie or TV show No
get_title_details Synopsis, cast, ratings, IMDb link, and streaming availability No
get_actor_info Actor bio, photo, and IMDb link No
get_actor_filmography An actor's filmography, sorted by popularity No
get_watch_providers Where a title is streaming/renting/buying (incl. Netflix) No
get_actor_netflix_titles Cross-references an actor's filmography against Netflix's catalog No

Everything here uses public catalog data — no Spotify-style OAuth login is needed.


Prerequisites

  • Python 3.10+ (required by FastMCP and the underlying MCP SDK — see below if you're not sure what you have)
  • A free TMDb account and API key
  • A free OMDb API key (optional — adds IMDb/Rotten Tomatoes/Metacritic ratings and plot text to get_title_details)

Checking your Python version

python3 --version

If this prints 3.10.x, 3.11.x, 3.12.x, or 3.13.x, you're good — skip to Step 1.

If it prints 3.9.x or lower (common on macOS, which ships an old system Python), you need to install a newer Python before creating the virtual environment in Step 3. pip install -r requirements.txt will fail with Could not find a version that satisfies the requirement fastmcp>=2.0 if you try to use Python 3.9 or earlier.

Installing Python 3.10+

macOS (Homebrew):

brew install python@3.12

This installs a separate python3.12 binary alongside your system Python — it won't replace or break anything else. Verify with:

python3.12 --version

macOS (no Homebrew): Download the installer from python.org/downloads and run it. After installing, use python3.12 (or whichever version you installed) in place of python3 below.

Windows: Download the installer from python.org/downloads, run it, and check "Add python.exe to PATH" during install. Verify with:

python --version

Linux (Debian/Ubuntu):

sudo apt update
sudo apt install python3.12 python3.12-venv

Using pyenv (any OS, if you manage multiple Python versions):

pyenv install 3.12.7
pyenv local 3.12.7   # sets this version for the movie-xray-mcp directory

Once you have a 3.10+ interpreter available, use that binary (e.g. python3.12) instead of python3 when creating the virtual environment in Step 3.


Step 1: Get a TMDb API key

  1. Create a free account at themoviedb.org
  2. Go to Settings → API (themoviedb.org/settings/api)
  3. Request an API key (choose "Developer" — instant approval for personal use)
  4. Copy the API Key (v3 auth) value

Step 2: Get an OMDb API key (optional)

  1. Go to omdbapi.com/apikey.aspx
  2. Select the free tier and enter your email
  3. Activate the key via the email OMDb sends you

If you skip this, get_title_details still works — it just won't include the ratings field (IMDb rating, Rotten Tomatoes, Metascore, plot, etc.).


Step 3: Local Setup

cd movie-xray-mcp

# Create virtual environment using Python 3.10+
# If `python3 --version` showed 3.10+, use python3 below.
# Otherwise, substitute the 3.10+ binary you installed above (e.g. python3.12).
python3 -m venv .venv
source .venv/bin/activate        # Mac/Linux
# .venv\Scripts\activate         # Windows

# Confirm the venv is using Python 3.10+
python --version

# Install dependencies
pip install -r requirements.txt

# Copy env template and fill in your keys
cp .env.example .env

If pip install -r requirements.txt fails with Could not find a version that satisfies the requirement fastmcp>=2.0, your venv was created with Python <3.10. Delete it and recreate using a 3.10+ binary:

rm -rf .venv
python3.12 -m venv .venv   # use whichever 3.10+ binary you installed
source .venv/bin/activate
pip install -r requirements.txt

Edit .env:

TMDB_API_KEY=your_tmdb_v3_api_key_here
OMDB_API_KEY=your_omdb_api_key_here
DEFAULT_REGION=US

DEFAULT_REGION is an ISO 3166-1 country code used by default for streaming availability (e.g. US, GB, CA). It can be overridden per-call on any tool that takes a region argument.


Step 4: Run Locally

Option A: stdio (for Claude Desktop)

python server.py
# or explicitly:
python server.py stdio

Option B: SSE (for Railway / remote clients)

python server.py sse
# Server starts on http://localhost:8000

Step 5: Connect to Claude Desktop

Add this to your Claude Desktop config file:

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "movie-xray-mcp": {
      "command": "/absolute/path/to/.venv/bin/python",
      "args": ["/absolute/path/to/movie-xray-mcp/server.py"],
      "env": {
        "TMDB_API_KEY": "your_tmdb_v3_api_key_here",
        "OMDB_API_KEY": "your_omdb_api_key_here",
        "DEFAULT_REGION": "US"
      }
    }
  }
}

Replace /absolute/path/to/ with your actual paths.

Restart Claude Desktop after saving. You should see movie-xray-mcp in the tools list.


Step 6: Deploy to Railway

First-time setup

# Install Railway CLI
npm install -g @railway/cli

# Login
railway login

# Initialize project
railway init

# Set environment variables
railway variables set TMDB_API_KEY=your_tmdb_v3_api_key_here
railway variables set OMDB_API_KEY=your_omdb_api_key_here
railway variables set DEFAULT_REGION=US

Deploy

railway up

Railway reads railway.toml and automatically:

  • Detects Python via Nixpacks
  • Installs requirements.txt
  • Runs python server.py sse
  • Sets PORT environment variable

Get your deployed URL

railway domain
# Returns something like: https://movie-xray-mcp-production.up.railway.app

Connect Claude to your Railway deployment

Once deployed, your MCP server is accessible via SSE at:

https://your-app.railway.app/sse

Add this to your Claude Desktop config:

{
  "mcpServers": {
    "movie-xray-mcp": {
      "url": "https://your-app.railway.app/sse"
    }
  }
}

Project Structure

movie-xray-mcp/
├── server.py          # FastMCP server — all tools live here
├── requirements.txt   # Python dependencies
├── railway.toml       # Railway deployment config
├── .env.example       # Environment variable template
├── .env               # Your actual API keys (gitignored)
└── README.md          # This file

Example Prompts for Claude

Once connected, try these:

Search for "The Bear" and give me an overview.

Who's in the cast of Oppenheimer, and what are their IMDb pages?

What's the IMDb rating, Rotten Tomatoes score, and plot summary for Dune: Part Two?

Tell me about Zendaya — bio, IMDb link, and her most popular roles.

Is anything from Pedro Pascal's filmography currently on Netflix in the US?

Where can I stream The Matrix — is it on Netflix?

Notes on Rate Limits & Performance

  • TMDb: generous free-tier limits, suitable for personal/demo use.
  • OMDb: free tier is limited to 1,000 requests/day. get_title_details only calls OMDb once per title (and skips it entirely if OMDB_API_KEY isn't set or the IMDb ID can't be resolved).
  • get_actor_netflix_titles: checks the actor's top_n most popular credits (default 15) against Netflix's catalog for region. Each credit checked is one extra TMDb call, so raising top_n trades speed for completeness — most users only care about an actor's well-known work, which top_n=15 already covers.

Architecture Notes

  • TMDb (themoviedb.org) powers search, cast/crew, filmographies, IMDb ID resolution, and watch/providers (JustWatch-sourced streaming availability, including Netflix, by region).
  • OMDb (omdbapi.com) optionally enriches title details with IMDb/Rotten Tomatoes/Metacritic ratings and plot text.
  • FastMCP handles the MCP protocol — all tools are decorated with @mcp.tool().
  • Transport is switchable: stdio for local/Claude Desktop, sse for Railway/remote.
  • Railway auto-detects Python via Nixpacks — no Dockerfile needed.

Built With

  • FastMCP — MCP server framework
  • TMDb API — movie/TV metadata, cast, and streaming availability
  • OMDb API — IMDb/Rotten Tomatoes/Metacritic ratings
  • Railway — deployment platform

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选