npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ryanxili/tmdb-mcp

v1.0.1

Published

TMDB API MCP Server - Search movies, TV shows, trending, and more

Readme

TMDB MCP Server

Model Context Protocol (MCP) server for The Movie Database (TMDB) API.

Features

  • Search: movies, TV shows, people, multi
  • Trending: daily/weekly for movies, TV, all
  • Movies: popular, top_rated, now_playing, upcoming, details, credits, similar, recommendations, videos
  • TV: popular, top_rated, airing_today, on_the_air, details, credits, similar, videos
  • People: details, movie_credits, tv_credits
  • Genres: movie and TV genre lists

Requirements

  • Node.js >= 18
  • TMDB API Key

Installation

npm install @ryanxili/tmdb-mcp

Quick Start

Via npx

npx @ryanxili/tmdb-mcp

Set API key first:

TMDB_API_KEY=your_key npx @ryanxili/tmdb-mcp

Local Development

# Clone
git clone https://github.com/ryanxili/tmdb-mcp.git
cd tmdb-mcp

# Install
npm install

# Run
export TMDB_API_KEY=your_key
npm start

Configuration

Set your TMDB API key as an environment variable:

export TMDB_API_KEY="your_api_key_here"

Or the MCP server will prompt for API key if not set.

Running

# With environment variable
TMDB_API_KEY=your_key npm start

# Or export first
export TMDB_API_KEY=your_key
npm start

MCP Client Configuration

Claude Desktop / OpenCode

Add to your MCP config:

{
  "mcpServers": {
    "tmdb": {
      "command": "npx",
      "args": ["-y", "@ryanxili/tmdb-mcp"],
      "env": {
        "TMDB_API_KEY": "your_api_key"
      }
    }
  }
}

Or with local path:

{
  "mcpServers": {
    "tmdb": {
      "command": "node",
      "args": ["/path/to/tmdb-mcp/index.js"],
      "env": {
        "TMDB_API_KEY": "your_api_key"
      }
    }
  }
}

Implementation Note

This MCP server uses curl instead of native fetch for API requests because:

  • Node.js built-in fetch does not respect system proxy settings (http_proxy/https_proxy)
  • curl automatically uses proxy environment variables, ensuring compatibility with various network environments

Available Tools

| Tool | Description | |------|-------------| | search_movie | Search movies by query | | search_tv | Search TV shows by query | | search_person | Search people by query | | search_multi | Multi search (movies, TV, people) | | trending_movie_day | Trending movies today | | trending_movie_week | Trending movies this week | | trending_tv_day | Trending TV today | | trending_tv_week | Trending TV this week | | trending_all_day | All trending today | | trending_all_week | All trending this week | | movie_popular | Popular movies | | movie_top_rated | Top rated movies | | movie_now_playing | Now playing movies | | movie_upcoming | Upcoming movies | | movie_details | Movie details by ID | | movie_credits | Movie cast & crew | | movie_similar | Similar movies | | movie_recommendations | Movie recommendations | | movie_videos | Movie videos/trailers | | tv_popular | Popular TV shows | | tv_top_rated | Top rated TV shows | | tv_airing_today | TV airing today | | tv_on_the_air | TV on the air | | tv_details | TV show details | | tv_credits | TV cast & crew | | tv_similar | Similar TV shows | | tv_videos | TV videos | | person_details | Person details | | person_movie_credits | Person movie credits | | person_tv_credits | Person TV credits | | genre_movie_list | Movie genres | | genre_tv_list | TV genres |

Language

All results are returned in Chinese (zh-CN) by default.

Get TMDB API Key

  1. Go to TMDB
  2. Create an account
  3. Go to Settings > API
  4. Generate your API key

License

MIT