Movie Database MCP Server
Provides natural language access to MongoDB movie databases, enabling search by title, genre, actor, year, and rating, as well as retrieving top-rated movies and detailed movie information from the sample_mflix collection.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Movie Database MCP Serverfind movies with Leonardo DiCaprio from the 2000s"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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_mflixdatabase withmoviescollection
Installation
Clone this repository:
git clone https://github.com/patw/movie-mcp-simple.git
cd movie-mcp-simpleInstall dependencies:
pip install pymongo fastmcp python-dotenvCreate a
.envfile with your MongoDB connection string:
cp sample.env .envEdit 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
This server cannot be deployed
Maintenance
Related MCP Connectors
The Needle MCP server enables semantic search on documents stored in files like PDFs, DOCX, and XLSX by connecting AI applications to external data sources. It provides capabilities to create and manage document collections, perform natural language searches on stored content, and retrieve relevant information without requiring exact keyword matches.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Search and analyze meeting transcripts, summaries, soundbites and analytics from Fireflies.ai
- VivuOAuthio.github.vivuai
Search your video library with natural language and retrieve relevant moments through MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables 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.3,642 npm6MIT
- AlicenseNot gradedqualityDmaintenanceEnables 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.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact natively with MongoDB databases, including schema discovery, CRUD operations, aggregation pipelines, and index management via natural language.19 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with MongoDB databases through natural language, supporting document CRUD, aggregation, collection listing, and statistics.56,328 npmApache 2.0