Mediasage MCP Server

A Model Context Protocol (MCP) server that tracks movies, books, and TV shows, providing intelligent recommendations based on your preferences. Built

Local serverstdio

What is the Mediasage MCP server?

If you already use Mediasage, the mediasage mcp server is the piece that lets your assistant work with it directly. 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).

What the server does

  • 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

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • search_and_add_movie — Search for a movie and add it with auto-populated metadata from OMDB
  • search_and_add_book — Search for a book and add it with auto-populated metadata from Google Books
  • search_and_add_tv_show — Search for a TV show and add it with auto-populated metadata from TMDB
  • list_media — The list_media tool exposed by this server
  • add_movie_to_watchlist — The add_movie_to_watchlist tool exposed by this server
  • get_smart_recommendations — Get intelligent recommendations based on your preferences across all media types
  • mark_as_watched — The mark_as_watched tool exposed by this server
  • analyze_preferences — The analyze_preferences tool exposed by this server
  • update_movie — The update_movie tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: API_KEY, PORT, OMDB_API_KEY, TMDB_API_KEY, GOOGLE_BOOKS_API_KEY, YOUR_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Where it fits

Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Mediasage's toolset — search_and_add_movie, search_and_add_book, search_and_add_tv_show and 6 more — is a fair guide to whether it matches your workflow. It is maintained by imjoshnewton; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Mediasage.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
search_and_add_movieSearch for a movie and add it with auto-populated metadata from OMDB.
search_and_add_bookSearch for a book and add it with auto-populated metadata from Google Books.
search_and_add_tv_showSearch for a TV show and add it with auto-populated metadata from TMDB.
list_mediaThe list_media tool exposed by this server.
add_movie_to_watchlistThe add_movie_to_watchlist tool exposed by this server.
get_smart_recommendationsGet intelligent recommendations based on your preferences across all media types.
mark_as_watchedThe mark_as_watched tool exposed by this server.
analyze_preferencesThe analyze_preferences tool exposed by this server.
update_movieThe update_movie tool exposed by this server.

How to install the Mediasage MCP server

{
  "mcpServers": {
    "mediasage": {
      "command": "bun",
      "args": ["run", "/path/to/mediasage/index.ts"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
API_KEYCredential the server authenticates with.Yes
PORTConfiguration value read at startup.Optional
OMDB_API_KEYCredential the server authenticates with.Yes
TMDB_API_KEYCredential the server authenticates with.Yes
GOOGLE_BOOKS_API_KEYCredential the server authenticates with.Yes
YOUR_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Mediasage to search and add movie.
  • Use Mediasage to search and add book.
  • Use Mediasage to search and add tv show.

Frequently asked questions

It connects Mediasage to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (search_and_add_movie, search_and_add_book, search_and_add_tv_show, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Mediasage directly.