MCP Hub
Back to servers

moviefinder-mcp

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.

glama
Updated
May 5, 2026

moviefinder-mcp

An MCP server that wraps The Movie Database (TMDB) API. Built with @modelcontextprotocol/sdk and stdio transport.

Tools

ToolDescription
search_moviesSearch movies by title, optional year filter.
search_tvSearch TV shows by title.
get_movie_detailsFull movie details with top cast, directors, and trailer.
get_recommendationsTMDB recommendations for a movie.
get_similarMovies similar to a given movie.
get_trendingTrending movie / tv / all for day or week.
where_to_streamStreaming / rental / purchase providers for a movie (default country US).
discover_moviesDiscover by genre name, min rating, year, and sort order.

All tools return summarized JSON (id, title, year, overview, rating, poster URL, etc.) — the noisy raw TMDB fields are stripped.

Setup

1. Get a TMDB API token

  1. Create a free account at https://www.themoviedb.org/.
  2. Visit https://www.themoviedb.org/settings/api and copy the API Read Access Token (v4). This is a long JWT — it is not the v3 API key.

2. Install and build

npm install
npm run build

3. Configure environment

Copy .env.example to .env and paste your token:

cp .env.example .env
TMDB_API_KEY=eyJhbGciOi...your_v4_read_access_token...

4. Run the server

npm start

The server speaks MCP over stdio and is meant to be launched by an MCP client (such as Claude Desktop), not run interactively.

Register with Claude Desktop

Add an entry to 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": "eyJhbGciOi...your_v4_read_access_token..."
      }
    }
  }
}

Restart Claude Desktop after editing the config. The moviefinder tools will then appear in any conversation.

Scripts

ScriptWhat it does
npm run buildCompiles TypeScript to dist/.
npm startRuns the compiled server (node dist/index.js).
npm run devTypeScript watch mode.

Error handling

The server returns helpful messages for common TMDB failures:

  • 401 — token missing or wrong key type (must be v4 read access token).
  • 404 — the requested movie / resource does not exist.
  • 429 — rate limited; the Retry-After value is included when present.

Notes

  • Genre list is fetched once from /genre/movie/list and cached in memory.
  • Poster URLs use https://image.tmdb.org/t/p/w500.
  • No database, no logging framework — by design.

Reviews

No reviews yet

Sign in to write a review