IMDB MCP
Provides semantic search, similarity matching, hybrid search, and traditional filtering across IMDB movie data.
Uses PostgreSQL with pgvector for vector storage and efficient similarity searches on movie embeddings.
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., "@IMDB MCPfind movies similar to The Matrix"
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.
IMDB MCP
Model Context Protocol (MCP) server for movie data with semantic vector search using embeddings and PostgreSQL with pgvector.
Overview
Provides semantic search, similarity matching, and traditional filtering across IMDB movie data:
Semantic Search: Find movies by meaning using embeddings
Similarity Search: Get similar movies based on descriptions
Hybrid Search: Combine semantic and keyword matching
Traditional Filters: Genre, country, title, ratings
Related MCP server: RAG-MCP Knowledge Base Server
Setup
Prerequisites
Python 3.12+
PostgreSQL 12+ with pgvector extension
GCP Secret Manager (for credentials)
~400MB for embedding model download
Installation
uv syncEnvironment
Set required environment variable:
export GCP_PROJECT_ID=your-gcp-project-id
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.jsonGCP Secret Manager must contain:
db-host: PostgreSQL hostdb-port: PostgreSQL portdb-name: Database namedb-user: Database userdb-password: Database passworddb-admin-password: Admin password
Usage - Database
Run the ETL pipeline to set up and seed the database:
python extract.py # Extract from source
python transform.py # Generate embeddings
python load.py # Load into PostgreSQL with pgvectorPlace the CSV file in the data/ folder: data/imdb_movies.csv
Usage - MCP
Start the MCP server:
python -m mcp_serverServer runs on port 3000 with tools for:
semantic_search: Search by description meaningsimilarity_search: Find similar movieshybrid_search: Combined semantic and keyword searchget_movie_by_id: Retrieve movie detailssearch_movies: Title-based searchAdditional filtering and stats tools
Tests
Run manually via GitHub Actions or locally:
uv run pytest tests/ -v --cov=. --cov-report=term-missingFuture
My next step for this project would be to use a GCP solution for the postgres database and connect the MCP to this rather than a local pgsql database.
Deployment
Currently this project is meant for local use only, but I have added workflows for deployment to GCP, with small modification to the mcp server to read from bigquery or cloud SQL instead of a local postgres database.
Contributing
Write tests for new features
Run test suite locally
Push to feature branch
Manual test trigger in Actions
Deploy on approval
This server cannot be deployed
Maintenance
Related MCP Connectors
A collaborative substrate over your data: vector, knowledge graph, SQL, geospatial, streaming.
Semantic search across 50,000+ food recipes with hybrid retrieval and reranking.
Hosted persistent memory with semantic search, importance and TTL for AI agents.
Ingest, manage, and retrieve documents for RAG-powered AI applications
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceImplements long-term memory capabilities for AI assistants using PostgreSQL with pgvector for efficient vector similarity search, enabling semantic retrieval of stored information.6 npm64MIT
- AlicenseNot gradedqualityDmaintenanceEnables semantic search across text documents using vector embeddings stored in PostgreSQL. Provides multiple search modalities including semantic similarity, question/answer, and style-based search through a retrieval-augmented generation system.3Apache 2.0
- FlicenseCqualityDmaintenanceEnables AI agents to ingest documents, generate embeddings, and perform semantic search via PostgREST APIs.3-
- AlicenseAqualityBmaintenanceEnables ingestion and semantic search over text documents using PostgreSQL + pgvector and OpenAI-compatible embeddings, allowing any LLM agent to retrieve relevant chunks for grounded answers.4AGPL 3.0