moviefinder-mcp
moviefinder-mcp
The Movie Database (TMDB) APIをラップしたMCPサーバーです。@modelcontextprotocol/sdkとstdioトランスポートを使用して構築されています。
ツール
ツール | 説明 |
| タイトルで映画を検索します(オプションで |
| タイトルでテレビ番組を検索します。 |
| 主要キャスト、監督、予告編を含む映画の詳細情報を取得します。 |
| TMDBによる映画のおすすめを取得します。 |
| 指定した映画に類似した映画を取得します。 |
|
|
| 映画の配信・レンタル・購入プラットフォームを取得します(デフォルトの国は |
| ジャンル名、最低評価、年、並び順で映画を検索します。 |
すべてのツールは要約されたJSON(ID、タイトル、年、概要、評価、ポスターURLなど)を返します。TMDBの冗長な生データフィールドは削除されています。
Related MCP server: wizzy-mcp-tmdb
セットアップ
1. TMDB APIトークンの取得
https://www.themoviedb.org/ で無料アカウントを作成します。
https://www.themoviedb.org/settings/api にアクセスし、API Read Access Token (v4) をコピーします。これは長いJWTであり、v3のAPIキーではありません。
2. インストールとビルド
npm install
npm run build3. 環境設定
.env.exampleを.envにコピーし、トークンを貼り付けます:
cp .env.example .envTMDB_API_KEY=eyJhbGciOi...your_v4_read_access_token...4. サーバーの実行
npm startこのサーバーはstdio経由でMCP通信を行うため、対話形式で実行するのではなく、MCPクライアント(Claude Desktopなど)によって起動されることを想定しています。
Claude Desktopへの登録
claude_desktop_config.jsonにエントリを追加します:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"moviefinder": {
"command": "node",
"args": ["/absolute/path/to/moviefinder-mcp/dist/index.js"],
"env": {
"TMDB_API_KEY": "eyJhbGciOi...your_v4_read_access_token..."
}
}
}
}設定を編集した後、Claude Desktopを再起動してください。その後、すべての会話でmoviefinderツールが表示されるようになります。
スクリプト
スクリプト | 内容 |
| TypeScriptを |
| コンパイルされたサーバーを実行します ( |
| TypeScriptのウォッチモードを実行します。 |
エラーハンドリング
サーバーは一般的なTMDBの失敗に対して役立つメッセージを返します:
401 — トークンがない、またはキーの種類が間違っている(v4の読み取り専用トークンである必要があります)。
404 — 要求された映画やリソースが存在しません。
429 — レート制限。存在する場合は
Retry-After値が含まれます。
注意事項
ジャンルリストは
/genre/movie/listから一度だけ取得され、メモリ内にキャッシュされます。ポスターURLは
https://image.tmdb.org/t/p/w500を使用します。データベースやログフレームワークは使用していません(設計上の仕様です)。
Available Tools
8 toolsdiscover_moviesC
Discover movies by genre name, minimum rating, year, and sort order. Genre is resolved by name (e.g. 'Action').
Inputs: genre, min_rating, year, sort_by.
get_movie_detailsA
Get full details for a movie, including top cast, directors, and trailer.
Inputs: movie_id (required).
get_recommendationsC
Get TMDB recommendations for a given movie.
Inputs: movie_id (required).
get_similarC
Get movies similar to a given movie.
Inputs: movie_id (required).
get_trendingC
Get trending movies, TV shows, or both.
Inputs: media_type (required), time_window (required).
search_moviesA
Search TMDB for movies by title. Optionally filter by release year.
Inputs: query (required), year.
search_tvB
Search TMDB for TV shows by title.
Inputs: query (required).
where_to_streamA
Find streaming, rental, and purchase providers for a movie in a given country (default US). Data sourced from JustWatch via TMDB.
Inputs: movie_id (required), country_code.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct action: discover by criteria, get full details, get recommendations, get similar, get trending, search movies, search TV, and find streaming providers. No meaningful overlap exists.
All tool names follow a consistent verb_noun snake_case pattern (e.g., discover_movies, get_movie_details, search_tv). 'where_to_stream' is a minor deviation but still clearly readable.
8 tools cover the main use cases for a movie/TV finder: discovery, search, details, trends, recommendations, similar, and streaming info. The scope is well-balanced.
The set covers most core movie operations, but lacks get_tv_details for TV shows. Other gaps like user ratings or reviews are acceptable for the stated purpose.
Maintenance
Related MCP Connectors
Unlock a world of television with the TV Maze MCP server. Effortlessly search for shows by name or
OMDb MCP — IMDB-derived movie / TV / episode data (BYO key)
TheGamesDB MCP — wraps TheGamesDB API (thegamesdb.net), a community video-game metadata database…
Related MCP Servers
- AlicenseDqualityDmaintenanceAn MCP server that allows users to search for movies, get detailed information, receive genre-based recommendations, and discover popular/trending films using OMDb and TMDb APIs.515 npmMIT
- AlicenseAqualityDmaintenanceA MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.2310 npm4MIT
- FlicenseAqualityDmaintenanceAn MCP server that wraps the TMDB API, enabling search of movies and TV shows, retrieval of details, trending titles, recommendations, and streaming provider information.8-
- FlicenseNot gradedqualityDmaintenanceA robust MCP server that wraps The Movie Database API, enabling LLMs to search movies, get details, popular movies, and recommendations.-