Skip to main content
Glama
moviefinder-mcp

moviefinder-mcp

moviefinder-mcp

一个封装了 TMDB API 的 MCP 服务器,使支持 MCP 的客户端(如 Claude Desktop、Claude Code 等)能够搜索电影和电视节目、查看详细信息、查找热门内容、获取推荐以及查询影片的流媒体播放平台。

工具

工具

描述

search_movies

按标题搜索电影;可选 year 参数。

search_tv

按名称搜索电视节目。

get_movie_details

获取电影详情,包括演职员表、导演和预告片 URL。

get_recommendations

获取指定电影 ID 的 TMDB 推荐。

get_similar

获取与指定电影 ID 相似的电影。

get_trending

获取 day 或 week 的热门 movie / tv / all 内容。

where_to_stream

按国家/地区(默认为 US)查询观看平台(流媒体/租赁/购买)。

discover_movies

通过 genre(流派)名称、min_rating(最低评分)、year 和 sort_by(排序方式)发现电影。

所有工具均返回精简后的 JSON(包含 id、标题、年份、概述、评分、海报 URL 以及工具特定的字段),而非原始的 TMDB 负载。

Related MCP server: wizzy-mcp-tmdb

设置

要求:Node 20+。

npm install
cp .env.example .env
# edit .env and paste your TMDB v4 read access token
npm run build
npm start    # runs the compiled server over stdio

获取 TMDB API 密钥

  1. 在 https://www.themoviedb.org/ 创建一个 TMDB 账户。

  2. 打开 https://www.themoviedb.org/settings/api。

  3. 复制 API Read Access Token (v4 auth) —— 不是 v3 API 密钥。

  4. 将其放入 .env 文件中,格式为 TMDB_API_KEY=...。

服务器会将其作为 Authorization: Bearer <token> 发送。

在 Claude Desktop 中注册

编辑 claude_desktop_config.json(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json,Windows: %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "moviefinder": {
      "command": "node",
      "args": ["/absolute/path/to/moviefinder-mcp/dist/index.js"],
      "env": {
        "TMDB_API_KEY": "your_v4_read_access_token_here"
      }
    }
  }
}

重启 Claude Desktop。上述工具将出现在 moviefinder 服务器下。

注意事项

  • 流派列表 (/genre/movie/list) 会在首次获取后缓存在内存中,供 discover_movies 使用。

  • 401 / 404 / 429 响应会以可操作的消息形式呈现。

  • 在进行任何 TMDB 调用之前,输入内容都会通过 zod 进行验证。

Available Tools

8 tools
discover_moviesC

Discover movies by genre, minimum rating, year, and sort order.

Inputs: genre, min_rating, year, sort_by.

get_movie_detailsA

Fetch full details for a movie including cast, director, and trailer URL.

Inputs: movie_id (required).

get_recommendationsB

Get TMDB's recommendations for users who liked the given movie.

Inputs: movie_id (required).

get_similarA

Get movies similar to the given movie (matched on keywords/genres).

Inputs: movie_id (required).

search_moviesB

Search TMDB for movies by title, optionally filtered by release year.

Inputs: query (required), year.

search_tvB

Search TMDB for TV shows by name.

Inputs: query (required).

where_to_streamA

Show streaming, rental, and purchase options for a movie in a given country (defaults to US).

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

    A3.6/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose. Discovery, details, recommendations, similar, trending, search (movies and TV), and streaming options are all well-separated, with no ambiguous overlaps.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern using snake_case (e.g., discover_movies, get_movie_details, search_movies). The naming is predictable and clear.

    Tool Count5/5

    With 8 tools, the scope is well-balanced for a movie/TV information server. Each tool addresses a distinct need without being excessive or insufficient.

    Completeness4/5

    The set covers key functionalities: search, discover, trending, details, recommendations, similar, and streaming. A minor gap is the lack of TV show details (only search_tv exists), but overall coverage is solid.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      D
      quality
      D
      maintenance
      An 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.
      5
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
      23
      13 npm
      4
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      An MCP server that wraps The Movie Database (TMDB) API, enabling search for movies and TV shows, retrieval of movie details, recommendations, similar movies, trending content, streaming providers, and movie discovery.
      8
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      A robust MCP server that wraps The Movie Database API, enabling LLMs to search movies, get details, popular movies, and recommendations.
      -