imsdbMCP
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., "@imsdbMCP Recap Inception up to the scene where they wake up on the beach."
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.
IMSDb Movie Catch-Up MCP
An MCP server that gives an LLM the tools to catch you up on a movie you joined partway through. Describe the scene you're at, and it recaps everything before that point with no spoilers for what comes after.
How it works
You give the LLM a movie title and a description of where you are.
movie_matcherchecks the SQLite cache. If the movie isn't there, it scrapes the script from IMSDb, splits it into scenes by detectingINT./EXT.headings, writes a one-line summary of each scene with Claude, and stores everything.movie_matcherreturns the scene summaries, and the LLM picks the scene that matches your description.summary_to_fullreturns the full text of every scene up to that point, and the LLM writes the spoiler-free recap.
Related MCP server: Movie Search MCP Server
Design Decisions
The summaries are cached to reduce the amount of API calls. Each scene requires an API call to be summarized, so by caching them, we can reduce the API calls the second time a movie is asked about by the amount of scenes in the movie (often 90+). This also increases speed of the response.
Matching is done by the LLM, not code. Viewers describe a scene in their own words and notice different details, so there's rarely a word-for-word match. Fuzzy matching is what an LLM does well.
One shared SQLite table. A new movie is new rows, not a new table. Separate tables would mean generating table names from movie titles at runtime.
Setup
Install uv and run
uv sync.Create a
.envfile withANTHROPIC_API_KEY=your-key(requires API credits).Test with the MCP Inspector:
uv run mcp dev server.py(needs Node.js).To use with Claude Desktop, add this to
claude_desktop_config.json:
{
"mcpServers": {
"imsdb-recap": {
"command": "/path/to/uv",
"args": ["run", "--directory", "/path/to/this/repo", "server.py"]
}
}
}Known Limitations
Pariah parses to 91 scenes, not the script's 88 numbered ones. Lettered scenes (84A, 84B) are counted separately, and one extra heading wasn't traced. Scene numbers are this tool's own count, not the script's printed numbers, and matching works on those.
The titles of the movie must match what IMSDb has, or the LLM must be able to check for multiple possible matching names. For example, 'The Back-Up Plan' is 'Back-Up Plan, The' in the database. However, the LLM in testing has been able to find the right movie.
As well, the first run for a new movie makes about 90 API calls, so it can take over a minute. Some MCP clients time out, so run the Inspector with a longer timeout for the first request.
To run, this product needs paid Anthropic API credits.
Scripts that don’t use INT./EXT. headings won’t parse.
Coverage is limited to what IMSDb has.
Cache keys are case-sensitive.
A note on sources
Scripts are copyrighted and come from IMSDb. The tool uses them as source material: scene text is passed to the LLM to write recaps, and users receive the recap, not the script. movies.db is gitignored, so no script text is in the repo.
Future Work
Allow the user to tell the LLM the timestamp so they don't have to describe the scene.
Add in new database sources other than IMSDb, so there can be more movies + shows.
Available Tools
2 toolsmovie_matcherA
This tool uses the movie title to get all scene summaries. Use to find where the user is in the movie.
Inputs: movie_title (required). Returns: result
summary_to_fullB
This tool uses the movie title and scene number to get all full scenes from the beginning to scene n, so the LLM can explain the movie up until scene n.
Inputs: n (required), movie_title (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have mostly distinct outputs: movie_matcher returns scene summaries for a title, while summary_to_full returns full scene text up to a specified scene. They are complementary rather than overlapping, though both operate on movie title and scene data, so an agent may briefly need to reason about which retrieval granularity to use.
Both names use snake_case, but they follow different conventions: movie_matcher is a noun-plus-agent-noun pattern, while summary_to_full is a noun-plus-prepositional phrase. The names are readable but do not form a predictable verb_noun or parallel pattern.
Two tools is thin for a movie-script retrieval server, though each has a clear role in the intended summary-to-full-scene workflow. The surface feels borderline minimal rather than well-scoped.
The core workflow of locating scenes via summaries and then fetching full scenes up to a point is covered. However, there is no movie search or listing operation, so the server may dead-end when the exact title is unknown, and there is no way to retrieve a single specific full scene without fetching from the beginning.
Maintenance
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
MCP server for RiverScript, an AI transcription platform - fetches transcripts shared via a link.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA server that connects to The Movie Database API, enabling clients to fetch popular movies, now playing movies, movie details, cast information, and search for movies through a Message Control Protocol interface.10ISC
- AlicenseDqualityDmaintenanceAn MCP server that allows users to search for movies, get detailed information, receive genre-based recommendations, and discover popular/trending films using OMDb and TMDb APIs.5MIT
- FlicenseAqualityDmaintenanceAn MCP server that wraps The Movie Database (TMDB) API, enabling search for movies and TV shows, retrieval of movie details, recommendations, similar movies, trending content, streaming providers, and movie discovery.8-
- FlicenseNot gradedqualityCmaintenanceA robust MCP server that wraps The Movie Database API, enabling LLMs to search movies, get details, popular movies, and recommendations.-