Cover image
Try Now
2025-02-27

Serveur MCP avec TMDB

3 years

Works with Finder

1

Github Watches

3

Github Forks

24

Github Stars

TMDB MCP Server

smithery badge This MCP server integrates with The Movie Database (TMDB) API to provide movie information, search capabilities, and recommendations.

mcp-server-tmdb MCP server

Prerequisites

Before installing and running the TMDB MCP server, ensure you have the following prerequisites installed and configured:

Required Software

  • Node.js

  • npm (Node Package Manager)

    • Version 8.0.0 or higher (comes with Node.js)
    • Verify installation: npm --version
  • TypeScript

    • Will be installed as a project dependency
    • Can be installed globally: npm install -g typescript
    • Verify installation: tsc --version

Required Accounts & API Keys

  • TMDB Account

    • Free account at TMDB
    • API key from TMDB dashboard
    • API access must be approved by TMDB
  • Claude Desktop Application

    • Latest version installed
    • Access to modify configuration files

System Requirements

  • Operating Systems

    • macOS (10.15 or later)
    • Linux (modern distributions)
  • Hardware Requirements

    • Minimum 4GB RAM
    • 1GB free disk space
    • Stable internet connection

Development Environment

For the best development experience, we recommend:

  • A code editor with TypeScript support (e.g., VS Code)
  • Terminal access
  • Git (for version control)

Features

Tools

  • search_movies

    • Search for movies by title or keywords
    • Input: query (string): Search query
    • Returns: List of movies with titles, release years, IDs, ratings, and overviews
    • Example: Search for movies about space exploration
  • get_recommendations

    • Get movie recommendations based on a movie ID
    • Input: movieId (string): TMDB movie ID
    • Returns: Top 5 recommended movies with details
    • Example: Get recommendations based on movie ID 550 (Fight Club)
  • get_trending

    • Get trending movies for a specified time window
    • Input: timeWindow (string): Either "day" or "week"
    • Returns: Top 10 trending movies with details
    • Example: Get today's trending movies

Resources

The server provides access to TMDB movie information:

  • Movies (tmdb:///movie/<movie_id>)

    • Comprehensive movie details including:
      • Title and release date
      • Rating and overview
      • Genres
      • Poster URL
      • Cast information (top 5 actors)
      • Director
      • Selected reviews
    • All data is returned in JSON format

    Getting Started

  1. Get a TMDB API key:

    • Sign up at TMDB
    • Go to your account settings
    • Navigate to the API section
    • Request an API key for developer use
  2. Clone and set up the project:

    git clone [repository-url]
    cd mcp-server-tmdb
    npm install
    
  3. Build the server:

    npm run build
    
  4. Set up your environment variable:

    export TMDB_API_KEY=your_api_key_here
    

Usage with Claude Desktop

To integrate this server with Claude Desktop, add the following to your app's server configuration file (located at ~/Library/Application Support/Claude/config.json):

{
  "mcpServers": {
    "tmdb": {
      "command": "/full/path/to/dist/index.js",
      "env": {
        "TMDB_API_KEY": "your_api_key_here"
      }
    }
  }
}

Replace /full/path/to with the actual path to your project directory.

Installing via Smithery

To install TMDB Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @Laksh-star/mcp-server-tmdb --client claude

Example Usage

Once the server is running with Claude Desktop, you can use commands like:

  1. Search for movies:

    "Search for movies about artificial intelligence"
    
  2. Get trending movies:

    "What are the trending movies today?"
    "Show me this week's trending movies"
    
  3. Get movie recommendations:

    "Get movie recommendations based on movie ID 550"
    
  4. Get movie details:

    "Tell me about the movie with ID 550"
    

Error Handling

The server includes comprehensive error handling for:

  • Invalid API keys
  • Network errors
  • Invalid movie IDs
  • Malformed requests

Error messages will be returned in a user-friendly format through Claude Desktop.

Development

To watch for changes during development:

npm run watch

License

This MCP server is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • https://hubeiqiao.com
  • IT problem solver with clear, step-by-step guidance.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Navid RezaeiSarchoghaei
  • Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://cantaspinar.com
  • Summarizes videos and answers related questions.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • oatpp
  • Implémentation du protocole de contexte du modèle d'Anthropic pour l'avoine ++

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocole de connecteur de message) 服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

    Reviews

    2 (1)
    Avatar
    user_lh8ncj1S
    2025-04-15

    I've been using the NS Lookup MCP Server by wgr1984 and it has exceeded my expectations. This tool is incredibly efficient for detailed DNS queries. The ease of use and precise results make it invaluable for anyone in network management. Highly recommend!