MediaSage
About
Tracks movies, books, and TV shows to provide intelligent recommendations based on your preferences.
Details
- Author
- imjoshnewton
- Categories
- Other, Media
Jump to
Setup
Install MediaSage in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/imjoshnewton/mediasage
Follow the installation instructions in the repository README, then restart your MCP client.
A Model Context Protocol (MCP) server that tracks movies, books, and TV shows, providing intelligent recommendations based on your preferences. Built with Bun, SQLite (via Drizzle ORM), and supports both local (stdio) and remote (HTTP/SSE) connections.
- Multi-Media Tracking: Track movies, books, and TV shows with ratings, status, and notes
- Smart Filtering: List media by type, status, rating, genre, and more
- Cross-Media Recommendations: Get suggestions based on your preferences across all media types
- Rich Metadata: Automatic metadata fetching from OMDB (movies), Google Books (books), and TMDB (TV shows)
- Preference Analysis: Understand your favorite genres, creators, and what you typically enjoy
- Persistent Storage: SQLite database with Drizzle ORM and proper relations
- Remote Access: HTTP server with Server-Sent Events (SSE) support
- Secure: API key authentication for remote connections
# Clone the repository git clone <your-repo-url> cd mediasage # Install dependencies bun install # Set up API keys (required for metadata enrichment) cp .env.example .env # Edit .env and add your API keys: # - OMDB_API_KEY (required for movies): Get from http://www.omdbapi.com/apikey.aspx # - TMDB_API_KEY (required for TV shows): Get from https://www.themoviedb.org/settings/api # - GOOGLE_BOOKS_API_KEY (optional for books): Get from Google Cloud Console # Run migration if you have existing movie data bun run src/migrate-to-media.ts
For use with Claude Desktop or other MCP clients:
# Development (with file watching) bun run dev # Production bun run start
# Set environment variables export API_KEY="your-secure-api-key" export PORT=3000 # optional, defaults to 3000 # Development (with file watching) bun run dev:http # Production bun run start:http
Search for a movie and add it with auto-populated metadata from OMDB.
- title(required): Movie title to search for
- year: Release year (helps accuracy)
- watched: Whether you've watched it (default: false)
- rating: Your rating (1-10) if watched
- notes: Personal notes
- likedAspects: What you liked (comma-separated)
- dislikedAspects: What you didn't like
- mood: When/why you watched it
- recommendationContext: How this should influence recommendations
Search for a book and add it with auto-populated metadata from Google Books.
- title(required): Book title to search for
- author: Author name (helps accuracy)
- read: Whether you've read it (default: false)
- rating: Your rating (1-10) if read
- notes: Personal notes
- likedAspects: What you liked (comma-separated)
- dislikedAspects: What you didn't like
- mood: When/why you read it
- recommendationContext: How this should influence recommendations
Search for a TV show and add it with auto-populated metadata from TMDB.
- title(required): TV show title to search for
- year: Year first aired (helps accuracy)
- watched: Whether you've watched it (default: false)
- rating: Your rating (1-10) if watched
- notes: Personal notes
- likedAspects: What you liked (comma-separated)
- dislikedAspects: What you didn't like
- mood: When/why you watched it
- recommendationContext: How this should influence recommendations
List all media with advanced filtering options.
- type: Filter by media type ('movie', 'book', 'tv_show')
- watched_only: Show only watched/read items
- watchlist_only: Show only unwatched/unread items
- min_rating: Minimum rating filter (1-10)
- genre: Filter by genre
- creator: Filter by director/author/creator
- year: Filter by year
Add a movie to your watchlist (movies you want to watch).
- title(required): Movie title
- year: Release year
- notes: Why you want to watch it
- recommendationContext: Why it was recommended
Get intelligent recommendations based on your preferences across all media types.
- mood: Current mood (e.g., 'action-packed', 'thoughtful')
- genre_preference: Specific genre interest
- length_preference: Preferred length (short/medium/long/any)
- count: Number of recommendations (default: 5)
Mark a movie from your watchlist as watched and rate it.
- id(required): Movie ID
- rating: Your rating (1-10)
- likedAspects: What you liked
- dislikedAspects: What you didn't like
- notes: Your thoughts
Analyze your media preferences to understand your taste.
- id(required): Movie ID
- rating: New rating (1-10)
- watched: Update watch status
- notes: Update notes
- likedAspects: Update liked aspects
- dislikedAspects: Update disliked aspects
- mood: Update mood context
Add to your Claude Desktop configuration:
{ "mcpServers": { "mediasage": { "command": "bun", "args": ["run", "/path/to/mediasage/index.ts"] } } }
Endpoint: http://localhost:3000/mcp Method: POST Headers: - Content-Type: text/event-stream - Authorization: Bearer YOUR_API_KEY
- PORT: HTTP server port (default: 3000)
- API_KEY: Authentication key for remote access (required for HTTP mode)
- OMDB_API_KEY: API key for OMDB movie metadata (get free key atomdbapi.com)
The server automatically fetches movie metadata from OMDB API including:
- Directors, cast, genres, plot summaries
- IMDb ratings, Rotten Tomatoes scores
- Release dates, runtime, box office data
- Poster images and more
To enable metadata fetching, get a free API key fromomdbapi.comand set:
export OMDB_API_KEY="your-api-key"
- Add movies you've watched: Usesearch_and_add_moviewithwatched: trueand your rating
- Build your watchlist: Useadd_movie_to_watchlistfor movies you want to see
- Rate and analyze: Usemark_as_watchedwhen you watch something from your list
- Get recommendations: Useget_smart_recommendationsfor personalized suggestions
- Understand your taste: Useanalyze_preferencesto see your movie patterns
movie-rec-mcp/ ├── index.ts # Main stdio server ├── src/ │ ├── http-server.ts # HTTP/SSE server │ ├── sse-transport.ts # SSE transport implementation │ └── db/ │ ├── index.ts # Database operations │ └── schema.ts # Drizzle schema definitions ├── movies.db # SQLite database (auto-created) └── package.json
- Change the default API key when deploying
- The HTTP server includes CORS headers for development
- Consider using HTTPS in production
- Database file is gitignored for privacy
All-in-one AI creative studio — generate videos, images, audio in 11 Indian languages, and 3D models via MCP. Hosted at mcp.arcframe.ai.
AI podcast editing as a service. Upload raw audio or submit a URL, get back edited episodes with filler words removed, noise reduction, transcripts, show notes, and social clips. Includes webhooks for automation.
A professional Bazi (Chinese astrology) calculation server providing full analysis including four pillars, five elements, zodiac, and lunar dates with timezone support.
Official MCP server for Comfy Cloud - generate images, video, audio, and 3D, run ComfyUI workflows, and search models directly from Claude and other AI agents
34-tool MCP server for CutPro's v1 API — analyze videos, clip, render, and publish posts via AI clients like Claude, ChatGPT, and Cursor.
A server for creating fast and free lipsync videos for digital avatars, supporting both realistic and cartoon styles.
Connect Claude, GPT, and any MCP-compatible AI agent directly to FunGenerators.com. Generate names, insults, job titles, lorem ipsum, lottery numbers, and much more — all from a single tool call.
Give your AI agent access to 150+ translators covering fictional languages, pop culture dialects, historical languages, technical encodings, and internet slang.
7 tools for interior design 3D visualization — room planner, AR furniture placement, material switcher, lighting design, virtual room tours with SceneView.
Generates dog images with an LGTM (Looks Good To Me) overlay using the Dog CEO API.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




