easy-cine
# easy-cine
MCP server that answers "where and when can I watch this?" for cinemas in Santiago, Chile.
It reads each chain's public showtime data, normalizes room formats and languages, and sorts
results by distance from a saved home address.
## Chains
| Chain | Status | Source |
|----------|--------|--------|
| Cinemark | Working | Public JSON API used by cinemark.cl (no auth) |
| Cineplanet | Working | The site's own cache endpoints; needs the anonymous cookie the home page sets. No room numbers. |
| Cinépolis (incl. ex Cine Hoyts) | Via the user's browser | Blocks non-browser clients. Theaters are a static snapshot; `find_showtimes` returns in-page scripts so an assistant with browser tools (Claude in Chrome) reads the showtimes in the user's own browser. |
More chains plug in as new `Provider` implementations in `src/providers/`.
## Tools
- `set_home_address` / `get_home_address`: geocoded with OpenStreetMap Nominatim, saved to `~/.config/easy-cine/config.json`.
- `list_theaters`: address, formats, distance.
- `search_movies`: billboard and presales.
- `find_showtimes`: one date, grouped by theater, nearest first. Filters: movie, time range,
formats (`2D`, `3D`, `IMAX`, `XD`, `DBOX`, `PRE`, `IV`...), language (`DOB`, `SUB`, `OV`), theater, distance.
Every tool also accepts `near` to sort from another address once.
## Setup
```sh
pnpm install
pnpm build
claude mcp add easy-cine -s user -- node "$(pwd)/dist/index.js"
```
`node scripts/smoke.mjs` runs an end-to-end check against live data.
## Notes
- Data is cached in memory: theaters 24 h, movies 6 h, showtimes 1 h.
- Cinemark returns Santiago wall-clock times with a misleading `Z` suffix; late-night sessions
belong to the previous cartelera day.
- Prices are out of scope.
## License
MIT. See [LICENSE](LICENSE).
TDQS
Scored across 5 tools
Each tool targets a distinct resource+action: write vs read of the home address, theater listing, movie search, and showtime lookup. The set/get_home_address pair is explicitly differentiated by description, and list_theaters vs find_showtimes vs search_movies operate on clearly separate entities.
All five tools follow a strict snake_case verb_noun pattern (set/get_home_address, list_theaters, search_movies, find_showtimes). The verb choices (list/search/find) map to different underlying resources rather than being redundant synonyms.
Five tools is well within the sweet spot for a cinema-browsing agent and each one earns its place in the workflow: configure location, list venues, discover movies, and resolve showtimes. Nothing feels padded or missing at the surface level.
Core workflow (set location → list theaters → search movies → find showtimes) is fully covered, including rich filtering and fallback guidance when no showtimes match. Minor gaps remain: no way to clear/update the home address back to unset, no per-movie detail lookup (synopsis, runtime, rating), and no theater-specific room detail endpoint.