IMDB MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add --transport http imdb-mcp https://your-deployed-url.com/mcp
README.md

Provides access to IMDB movie and person data via the Model Context Protocol.

IMDB MCP Server

A cloud-runnable JSON-RPC service that provides access to IMDB data. Designed to work with LLMs via the MCP (Model Context Protocol).

How It Works

  1. LLM Configuration: Add the MCP server URL to your LLM's configuration
  2. Discovery: The LLM queries the server URL to understand available tools
  3. Query: The LLM sends JSON-RPC requests to fetch IMDB data
  4. Response: The server returns structured data that the LLM interprets and explains to users

Endpoints

Endpoint Method Description
/ GET HTML documentation (human-readable)
/info GET Service information (JSON)
/jsonrpc POST JSON-RPC 2.0 endpoint
/mcp POST MCP protocol endpoint for LLM tool calling
/health GET Health check for cloud deployments

Available Tools

Tool Description Parameters
search_movies Search movies by title query, limit
get_movie_details Get full movie info movie_id
search_people Search actors/directors query, limit
get_person_details Get person info/filmography person_id
get_top_250_movies Get IMDB Top 250 limit
get_movie_cast Get cast of a movie movie_id, limit

JSON-RPC Usage

Send a POST request to /jsonrpc:

{
    "jsonrpc": "2.0",
    "method": "search_movies",
    "params": {"query": "The Matrix", "limit": 5},
    "id": 1
}

Response:

{
    "jsonrpc": "2.0",
    "result": [
        {"id": "0133093", "title": "The Matrix", "year": 1999},
        {"id": "0234215", "title": "The Matrix Reloaded", "year": 2003}
    ],
    "id": 1
}

LLM MCP Configuration

Add to your LLM's MCP server configuration:

{
    "mcpServers": {
        "imdb": {
            "url": "https://your-deployed-url.com/mcp",
            "transport": "http"
        }
    }
}

Local Development

Run locally

pip install -r requirements.txt
python app.py

Server runs at http://localhost:8080

Run with Docker

docker build -t imdb-mcp .
docker run -p 8080:8080 imdb-mcp

Cloud Deployment

Cloud Foundry

cf push

Uses manifest.yaml configuration.

SAP BTP (Cloud Foundry)

# Build MTA archive
mbt build

# Deploy
cf deploy mta_archives/imdb-mcp-server_1.0.0.mtar

Uses mta.yaml configuration.

Heroku

heroku create imdb-mcp-server
git push heroku main

Uses Procfile and runtime.txt.

Docker (Any Cloud)

# Build
docker build -t imdb-mcp .

# Run
docker run -p 8080:8080 imdb-mcp

# Push to registry
docker tag imdb-mcp your-registry/imdb-mcp:latest
docker push your-registry/imdb-mcp:latest

Google Cloud Run

gcloud run deploy imdb-mcp \
    --source . \
    --platform managed \
    --allow-unauthenticated

AWS App Runner / ECS

Use the Dockerfile with your preferred AWS container service.

Project Structure

imdb-mcp/
├── app.py              # FastAPI JSON-RPC server
├── imdb_backend.py     # Cinemagoer wrapper
├── server.py           # FastMCP server (for local MCP)
├── requirements.txt    # Python dependencies
├── pyproject.toml      # Project metadata
├── Dockerfile          # Container image
├── Procfile            # Heroku/PaaS process file
├── runtime.txt         # Python version
├── manifest.yaml       # Cloud Foundry manifest
├── mta.yaml            # SAP BTP MTA descriptor
├── .dockerignore       # Docker ignore patterns
└── .cfignore           # Cloud Foundry ignore patterns

Environment Variables

Variable Default Description
PORT 8080 Server port

Notes

  • Cinemagoer queries IMDB via web scraping, responses may be slower than API-based solutions
  • For non-commercial use only (per IMDB terms of service)
  • No API key required

Tools (6)

search_moviesSearch movies by title
get_movie_detailsGet full movie info
search_peopleSearch actors/directors
get_person_detailsGet person info/filmography
get_top_250_moviesGet IMDB Top 250
get_movie_castGet cast of a movie

Environment Variables

PORTServer port

Configuration

claude_desktop_config.json
{"mcpServers": {"imdb": {"url": "https://your-deployed-url.com/mcp", "transport": "http"}}}

Try it

Search for the movie 'The Matrix' and tell me its release year.
Who are the main cast members of the movie with ID 0133093?
Find the top 10 movies from the IMDB Top 250 list.
Search for the director Christopher Nolan and list his filmography details.

Frequently Asked Questions

What are the key features of IMDB MCP Server?

Search for movies by title. Retrieve comprehensive movie metadata and cast information. Search for actors and directors to view their filmography. Access the official IMDB Top 250 movie list. Cloud-ready JSON-RPC service compatible with MCP.

What can I use IMDB MCP Server for?

Researching film history and cast information for writing projects. Building automated movie recommendation workflows within an LLM. Quickly verifying movie release dates and director credits. Integrating cinematic metadata into creative writing or analysis tasks.

How do I install IMDB MCP Server?

Install IMDB MCP Server by running: pip install -r requirements.txt && python app.py

What MCP clients work with IMDB MCP Server?

IMDB MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep IMDB MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare