Radarr and Sonarr
БесплатноНе проверенIntegrates with Radarr and Sonarr to enable natural language querying and filtering of movie and TV show collections by various criteria like year, watched stat
Описание
Integrates with Radarr and Sonarr to enable natural language querying and filtering of movie and TV show collections by various criteria like year, watched status, and actors.
README
A Python-based Model Context Protocol (MCP) server that provides AI assistants like Claude with access to your Radarr (movies) and Sonarr (TV series) data.
Overview
This MCP server allows AI assistants to query your movie and TV show collection via Radarr and Sonarr APIs. Built with FastMCP, it implements the standardized protocol for AI context that Claude Desktop and other MCP-compatible clients can use.
Features
- Native MCP Implementation: Built with FastMCP for seamless AI integration
- Radarr Integration: Access your movie collection
- Sonarr Integration: Access your TV show and episode data
- Rich Filtering: Filter by year, watched status, actors, and more
- Claude Desktop Compatible: Works seamlessly with Claude's MCP client
- Easy Setup: Interactive configuration wizard
- Well-tested: Comprehensive test suite for reliability
Installation
From Source
Clone this repository:
git clone https://github.com/yourusername/radarr-sonarr-mcp.git cd radarr-sonarr-mcp-pythonInstall the package:
pip install -e .
Using pip (coming soon)
pip install radarr-sonarr-mcp
Quick Start
Configure the server:
radarr-sonarr-mcp configureFollow the prompts to enter your Radarr/Sonarr API keys and other settings.
Start the server:
radarr-sonarr-mcp startConnect Claude Desktop:
- In Claude Desktop, go to Settings > MCP Servers
- Add a new server with URL:
http://localhost:3000(or your configured port)
Configuration
The configuration wizard will guide you through setting up:
- NAS/Server IP address
- Radarr API key and port
- Sonarr API key and port
- MCP server port
You can also manually edit the config.json file:
{
"nasConfig": {
"ip": "10.0.0.23",
"port": "7878"
},
"radarrConfig": {
"apiKey": "YOUR_RADARR_API_KEY",
"basePath": "/api/v3",
"port": "7878"
},
"sonarrConfig": {
"apiKey": "YOUR_SONARR_API_KEY",
"basePath": "/api/v3",
"port": "8989"
},
"server": {
"port": 3000
}
}
Available MCP Tools
This server provides the following tools to Claude:
Movies
get_available_movies- Get a list of movies with optional filterslookup_movie- Search for a movie by titleget_movie_details- Get detailed information about a specific movie
Series
get_available_series- Get a list of TV series with optional filterslookup_series- Search for a TV series by titleget_series_details- Get detailed information about a specific seriesget_series_episodes- Get episodes for a specific series
Resources
The server also provides standard MCP resources:
/movies- Browse all available movies/series- Browse all available TV series
Filtering Options
Most tools support various filtering options:
year- Filter by release yearwatched- Filter by watched status (true/false)downloaded- Filter by download status (true/false)watchlist- Filter by watchlist status (true/false)actors- Filter by actor/cast nameactresses- Filter by actress name (movies only)
Example Queries for Claude
Once your MCP server is connected to Claude Desktop, you can ask questions like:
- "What sci-fi movies from 2023 do I have?"
- "Show me TV shows starring Pedro Pascal"
- "Do I have any unwatched episodes of The Mandalorian?"
- "Find movies with Tom Hanks that I haven't watched yet"
- "How many episodes of Stranger Things do I have downloaded?"
Finding API Keys
Radarr API Key
- Open Radarr in your browser
- Go to Settings > General
- Find the "API Key" section
- Copy the API Key
Sonarr API Key
- Open Sonarr in your browser
- Go to Settings > General
- Find the "API Key" section
- Copy the API Key
Command-Line Interface
The package provides a command-line interface:
radarr-sonarr-mcp configure- Run configuration wizardradarr-sonarr-mcp start- Start the MCP serverradarr-sonarr-mcp status- Show the current configuration
Development
Running Tests
To run the test suite:
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run tests with coverage
pytest --cov=radarr_sonarr_mcp
Local Development
For quick development and testing:
# Run directly without installation
python run.py
Requirements
- Python 3.7+
- FastMCP
- Requests
- Pydantic
Notes
- The watched/watchlist status functionality assumes these are tracked using specific mechanisms in Radarr/Sonarr. You may need to adapt this to your specific setup.
- For security reasons, it's recommended to run this server only on your local network.
Установка Radarr and Sonarr
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/berrykuipers/mcp_services_radarr_sonarrFAQ
Radarr and Sonarr MCP бесплатный?
Да, Radarr and Sonarr MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Radarr and Sonarr?
Нет, Radarr and Sonarr работает без API-ключей и переменных окружения.
Radarr and Sonarr — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Radarr and Sonarr в Claude Desktop, Claude Code или Cursor?
Открой Radarr and Sonarr на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Radarr and Sonarr with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
