tmdb

tmdb is a skill for Claude Code, Codex from ryanxili/tmdb-mcp. It costs 52 tokens per session (3,397 once invoked), scanned A, original, MIT.

A connection to The Movie Database, an online catalogue of films, television shows, and people involved in them. It can search content and retrieve details such as cast, crew, similar titles, and recommendations.

In plain words
What is it for?
Use it to find movies, shows, or actors; browse trending, popular, or highly rated titles; and retrieve title details, credits, similar works, or recommendations. It requires a TMDB API key.
Why use it?
It avoids manually searching movie and TV information when building an application or answering a request.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions OpenCode.

Good fit Use it to find movies, shows, or actors; browse trending, popular, or highly rated titles; and retrieve title details, credits, similar works, or recommendations. It requires a TMDB API key.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ryanxili/tmdb-mcp/tmdb-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ryanxili/tmdb-mcp --skill tmdb-mcp
Clone the repo
git clone --depth 1 https://github.com/ryanxili/tmdb-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tmdb

README.md
[![agentmods](https://agentmods.dev/badge/skills/ryanxili/tmdb-mcp/tmdb-mcp/github.svg)](https://agentmods.dev/skills/ryanxili/tmdb-mcp/tmdb-mcp)
Your own site
<a href="https://agentmods.dev/skills/ryanxili/tmdb-mcp/tmdb-mcp"><img src="https://agentmods.dev/badge/skills/ryanxili/tmdb-mcp/tmdb-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tmdb

Your own site · 80×15
<a href="https://agentmods.dev/skills/ryanxili/tmdb-mcp/tmdb-mcp"><img src="https://agentmods.dev/badge/skills/ryanxili/tmdb-mcp/tmdb-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.03397
Opus 5.5 $0.00021 $0.01359
Sonnet 5.5 $0.00010 $0.00679
Haiku 4.5 $0.00005 $0.00340

Measured 2mo ago against content hash e63c51c6ec8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tmdb scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://api.themoviedb.org/3/search/movie?api_key=$TMDB_API_KEY&language=zh-CN&query=流浪地球"
SKILL.md · 407 lines

How it starts

The opening of the file, as written. The whole thing — 407 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TMDB API Skill

This skill enables AI agents to interact with The Movie Database (TMDB) API v3.

When to Use This Skill

Use this skill when users:

  • Search for movies, TV shows, or actors
  • Get trending, popular, or top-rated content
  • View movie/TV details, cast, crew, similar movies
  • Get recommendations or discover new content

API Configuration

  • Base URL: https://api.themoviedb.org/3
  • Language: zh-CN (Chinese Simplified)
  • Authentication: API Key via api_key query parameter

API Key Handling

  1. First check for TMDB_API_KEY environment variable using echo $TMDB_API_KEY
  2. If not found or empty, prompt user to enter API key manually using read command
  3. Store in a session variable for current session only (do not persist)
  4. Example session setup:
# Check if API key exists, if not prompt user
if [ -z "$TMDB_API_KEY" ]; then
  read -p "请输入 TMDB API Key: " TMDB_API_KEY
  export TMDB_API_KEY
fi

Available Endpoints

Search

Endpoint Description
/search/movie Search movies by query
/search/tv Search TV shows by query
/search/person Search people by query
/search/multi Search movies, TV shows, and people

Trending

Endpoint Description
/trending/{media_type}/day Trending today
/trending/{media_type}/week Trending this week

Movie

Endpoint Description
/movie/popular Popular movies
/movie/top_rated Top rated movies
/movie/now_playing Now playing in theaters
/movie/upcoming Upcoming movies
/movie/{movie_id} Movie details
/movie/{movie_id}/credits Cast and crew
/movie/{movie_id}/similar Similar movies
/movie/{movie_id}/recommendations Recommendations
/movie/{movie_id}/videos Videos (trailers)

TV

Endpoint Description
/tv/popular Popular TV shows
/tv/top_rated Top rated TV shows
/tv/airing_today Airing today
/tv/on_the_air Currently on air
/tv/{tv_id} TV show details
/tv/{tv_id}/credits Cast and crew
/tv/{tv_id}/similar Similar shows
/tv/{tv_id}/recommendations Recommendations
/tv/{tv_id}/videos Videos

Read the full file on GitHub · 407 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 407 lines · 52 tokens per session scan A e63c51c6ec8a

Subscribe to this mod's changes

tmdb is a skill published in the GitHub repository ryanxili/tmdb-mcp (0 stars, last pushed 7mo ago), licensed MIT. It adds 52 tokens to every session and 3,397 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

tmdb compared with skills from other repositories

tmdb next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tmdbryanxili/tmdb-mcpSkill07mo agoMITA52Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code