Sonarr MCP Server
Enables management of TV series collections through Sonarr, including searching and adding series, managing quality profiles and season monitoring, interactive release browsing, manual downloads, and series deletion with granular season control.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sonarr MCP Server search for The Mandalorian TV series"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sonarr MCP Server
A Model Context Protocol (MCP) server for Sonarr, enabling AI assistants to manage your TV series collection through natural language interactions.
Features
🔍 Search Series - Find TV series to add to your collection
➕ Add Series - Add TV series with quality profiles, season monitoring, and search options
📋 List Series - View your entire TV series library with episode counts
📺 Series Details - Get detailed information including episode status and downloads
⚙️ Update Series - Change quality profiles, season monitoring, and trigger searches
🗑️ Delete Series/Seasons - Remove entire series or specific seasons (with optional file deletion)
🔍 Interactive Search - Browse available releases for episodes with quality and seeder info
📊 Quality Profiles - View available quality settings
⬇️ Download Release - Manually download specific releases for episodes
🎯 Season Control - Granular monitoring and management of individual seasons
Related MCP server: Arr Suite MCP Server
Installation
From PyPI (Recommended)
pip install sonarr-mcpFrom Source
git clone https://github.com/MichaelReubenDev/sonarr-mcp.git
cd sonarr-mcp
uv syncUsage
Command Line
# Using uvx (if installed from PyPI)
uvx sonarr-mcp --url http://localhost:8989 --api-token YOUR_API_TOKEN
# Using uv run (from source)
uv run sonarr-mcp --url http://localhost:8989 --api-token YOUR_API_TOKEN
# With debug logging
uv run sonarr-mcp --url http://localhost:8989 --api-token YOUR_API_TOKEN --debugWith Claude Desktop
Add this to your Claude Desktop MCP configuration:
{
"mcpServers": {
"sonarr": {
"command": "uvx",
"args": [
"sonarr-mcp",
"--url", "http://localhost:8989",
"--api-token", "YOUR_API_TOKEN"
]
}
}
}With MCP Inspector
For testing and development:
npx @modelcontextprotocol/inspector uv run sonarr-mcp --url http://localhost:8989 --api-token YOUR_API_TOKENConfiguration
Required Parameters
--url: Your Sonarr base URL (e.g.,http://localhost:8989)--api-token: Your Sonarr API token (found in Settings → General → Security)
Optional Parameters
--debug: Enable debug logging
Available Tools
Tool | Description | Parameters |
| Search for TV series to add |
|
| Add a TV series to Sonarr |
|
| List all TV series in library | None |
| Get detailed series information |
|
| Update series settings |
|
| Delete a series or specific seasons |
|
| Browse available releases |
|
| Download a specific release |
|
| List available quality profiles | None |
Monitor Types
The monitor_type parameter supports these options:
all- Monitor all episodesfuture- Monitor future episodes onlymissing- Monitor missing episodesexisting- Monitor existing episodesrecent- Monitor recent episodesfirst- Monitor first season onlylatest- Monitor latest season onlynone- Monitor no episodesseason_specific- Monitor specific seasons (requiresmonitor_seasonsarray)
Example Workflows
Adding a TV Series
Search for series: "Search for Breaking Bad TV series"
Add series: "Add Breaking Bad with HD-1080p quality, monitor all episodes"
Add with specific seasons: "Add The Office with monitor_type: 'season_specific' and monitor_seasons: [1, 2, 3]"
Check status: "Show me details for Breaking Bad"
Managing Your Collection
List series: "Show me all my TV series"
Update monitoring: "Change series ID 123 to monitor only seasons 2 and 4"
Update quality and search: "Change series ID 123 to 4K quality and start searching for missing episodes"
Browse releases: "Show me available releases for series ID 123 season 2"
Season-Specific Management
Monitor specific seasons: "Update series ID 123 with monitor_type: 'season_specific', monitor_seasons: [1, 3, 5]"
Delete specific seasons: "Delete seasons 2 and 4 from series ID 123 including files"
Search specific episodes: "Show releases for series ID 123 season 3 episode 5"
Finding Downloads
Get series details: "Show me the status of Game of Thrones"
Interactive search: "What releases are available for The Walking Dead season 1?"
Episode search: "Find releases for series ID 456 season 2 episode 10"
Requirements
Python 3.13+
Sonarr v3+ with API access
Network access to your Sonarr instance
Development
# Clone the repository
git clone https://github.com/MichaelReubenDev/sonarr-mcp.git
cd sonarr-mcp
# Install dependencies
uv sync
# Test with the MCP Inspector
task mcp_inspector
# Run with debug logging
uv run sonarr-mcp --url http://localhost:8989 --api-token YOUR_TOKEN --debugContributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Sonarr - The amazing TV series collection manager
Model Context Protocol - For enabling AI tool integration
Anthropic - For Claude and MCP development
Support
Available Tools
9 toolsadd_seriesC
Add a TV series to Sonarr
Inputs: tvdb_id (required), quality_profile_id (required), monitor_type (required), root_folder_path, +3 more.
delete_seriesA
Delete a TV series or specific seasons from Sonarr
Inputs: series_id (required), delete_seasons, delete_files.
download_releaseB
Download a specific release for an episode
Inputs: release_guid (required), series_id (required).
get_quality_profilesA
Get all quality profiles from Sonarr
Inputs: no named parameters.
get_seriesB
Get detailed information about a specific TV series
Inputs: series_id (required).
interactive_searchB
Search for available releases for a TV series episode
Inputs: series_id (required), season_number, episode_number.
list_seriesB
Get all TV series from Sonarr
Inputs: no named parameters.
search_seriesC
Search for TV series in Sonarr
Inputs: query (required).
update_seriesA
Update series settings (quality profile, monitoring, search)
Inputs: series_id (required), quality_profile_id, monitor_type, monitor_seasons, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct action or resource: add/delete/update series, list/get/search series, search/download releases, and get quality profiles. No two tools overlap in purpose.
Most tools use a consistent verb_noun pattern (e.g., add_series, delete_series, download_release). The exception is interactive_search, which mixes an adjective with a noun, breaking the pattern slightly.
With 9 tools, the set is well-scoped. Each tool covers an essential function for Sonarr management, not too few or too many for the domain.
The set covers core CRUD operations and key workflows (search, add, download). Minor gaps exist, such as tools for managing episode status or series seasons, but the main operations are covered.
Maintenance
Related MCP Connectors
Manage your Rad TV videos, playlists and channels from your AI assistant (Rad TV subscription).
The media memory layer for AI agents and their humans. Your AI client can search your collection, add and log what you've finished, update ratings and lists, and find patterns across everything you've read, watched, played, and listened to.
Track the TV and films you watch, and find more like them, by talking to your own AI.
Manage digital signage screens, playlists and media from your AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Sonarr and Radarr APIs to query media libraries, check recent additions, view upcoming releases, manage download queues, and perform searches for TV shows and movies through natural language.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage media automation services like Sonarr, Radarr, Prowlarr, Bazarr, Overseerr, and Plex through natural language commands.19 PyPI7MIT
- FlicenseAqualityDmaintenanceEnables users to manage Sonarr and Radarr instances through natural language, allowing search, addition, deletion, and monitoring of TV series and movies.60-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage TV shows and movies via Sonarr and Radarr, including searching, adding, and monitoring downloads.-