This MCP server provides TV show recommendations and information by integrating with The Movie Database (TMDb) API. It enables natural language interactions with AI assistants to discover, explore, and get personalized TV show recommendations through the Model Context Protocol.
The quickest way to run the server without installation:
# Set TMDb API key (required)
export TMDB_API_KEY=your_api_key_here
# Run the server
npx tv-recommender-mcp-server
# Install globally from NPM
npm install -g tv-recommender-mcp-server
# Set environment variable
export TMDB_API_KEY=your_api_key_here
# Run the server
tv-recommender-mcp-server
# Clone the repository
git clone <repository-url>
cd tv-recommender-mcp-server
# Install dependencies
npm install
# Configure environment variables
# Copy .env-example to .env
# Get an API key from TMDb and add it to the TMDB_API_KEY field
# Build and run
npm run build
npm start
.cursor/mcp.json
in your project root{
"mcpServers": {
"TVRecommender": {
"command": "env",
"args": [
"TMDB_API_KEY=your_api_key_here",
"npx",
"tv-recommender-mcp-server"
]
}
}
}
/
and selecting TVRecommenderThe server provides the following tools:
/TVRecommender get_watch_providers --show_title="Stranger Things" --country_code="US"
/TVRecommender discover_shows --with_genres=["Science Fiction", "Thriller"] --vote_average_gte=8.0 --first_air_date_year=2022
/TVRecommender get_actor_details_and_credits --actor_name="Bryan Cranston"
/TVRecommender get_popular_shows
/TVRecommender get_trending_shows --time_window="day"
/TVRecommender get_show_videos --show_title="Game of Thrones"
/TVRecommender get_show_reviews --show_title="Breaking Bad" --page=1
get_popular_shows
or get_trending_shows
to find current hot showsget_show_details
get_show_videos
get_watch_providers
get_actor_details_and_credits
get_recommendations_by_actor
get_show_reviews
Use discover_shows
with multiple criteria like genre, year, rating, or keywords to find exactly what you want.
After finishing a show you enjoyed, use get_similar_shows
to find stylistically similar content.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "TVRecommender" '{"command":"env","args":["TMDB_API_KEY=your_api_key_here","npx","tv-recommender-mcp-server"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"TVRecommender": {
"command": "env",
"args": [
"TMDB_API_KEY=your_api_key_here",
"npx",
"tv-recommender-mcp-server"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"TVRecommender": {
"command": "env",
"args": [
"TMDB_API_KEY=your_api_key_here",
"npx",
"tv-recommender-mcp-server"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect