Skip to main content
Glama
patw

Movie Database MCP Server

by patw

Movie Database MCP Server (Simplified)

A FastMCP server that provides access to a MongoDB movie database with natural language queries.

Features

  • Search movies by title, genre, actor, year, or rating

  • Get top-rated movies by year or genre

  • Count movies matching criteria

  • Get detailed information about specific movies

Related MCP server: MongoDB Movie Database

Prerequisites

  • Python 3.7+

  • MongoDB (local or cloud)

  • sample_mflix database with movies collection

Installation

  1. Clone this repository:

git clone https://github.com/patw/movie-mcp-simple.git
cd movie-mcp-simple
  1. Install dependencies:

pip install pymongo fastmcp python-dotenv
  1. Create a .env file with your MongoDB connection string:

cp sample.env .env

Edit the .env file to add your actual MongoDB URI.

Usage

Configure the MCP server in Claude desktop with the following config:

{
"mcpServers": {
"Movie Database": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "fastmcp, pymongo",
        "fastmcp",
        "run",
        "<path to>/movie-mcp-simple/movie-mcp.py"
      ]
    }
  }
}

Example queries you can ask:

  • "Find movies with Tom Hanks"

  • "How many Comedy movies are there?"

  • "What are the top 5 movies from 1994?"

  • "Show me details for The Shawshank Redemption"

MCP Tools

The server provides these tools:

find_movies

Search for movies with various filters:

find_movies(title=None, genre=None, actor=None, year=None, min_rating=None, limit=10)

count_movies

Count movies matching criteria:

count_movies(genre=None, year=None, min_rating=None)

get_top_movies

Get highest rated movies:

get_top_movies(year=None, genre=None, limit=5)

get_movie_details

Get full details for a specific movie:

get_movie_details(title)

License

MIT

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    Enables natural language querying of MongoDB data by transforming AI agent questions into MongoDB aggregations. Supports secure data separation, semantic vector search, and advanced lookup capabilities for database interactions.
    Last updated
    4,425
    6
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables querying and analyzing the MongoDB sample_mflix movie dataset through natural language, supporting searches by title, genre, actors, directors, ratings, and providing aggregate statistics like counts and averages.
    Last updated
    MIT
  • A
    license
    -
    quality
    F
    maintenance
    Enables Claude to interact with MongoDB databases through natural language, supporting queries, aggregations, CRUD operations, and index management with optional Mongoose schema validation.
    Last updated
    44
    3
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to interact natively with MongoDB databases, including schema discovery, CRUD operations, aggregation pipelines, and index management via natural language.
    Last updated
    40
    MIT

View all related MCP servers

Related MCP Connectors

  • Agentic search over your Dewey document collections from any MCP-compatible client.

  • Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.

  • GibsonAI MCP server: manage your databases with natural language

View all MCP Connectors

Appeared in Searches

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/patw/movie-mcp-simple'

If you have feedback or need assistance with the MCP directory API, please join our Discord server