MCP *arr Server
Enables unified control of \*arr media management applications (Sonarr, Radarr, Lidarr, Readarr, Prowlarr) through natural language queries. Manage TV shows, movies, music, books, search for content, monitor downloads, and check upcoming releases across all services.
README
MCP *arr Server
MCP server for the *arr media management suite - Sonarr, Radarr, Lidarr, Readarr, and Prowlarr.
Why Use This?
- Unified media management - Control all your *arr applications from one interface
- Natural language queries - Ask about your library in plain English
- Cross-service search - Find content across TV, movies, music, and books simultaneously
- Download monitoring - Check queue status and progress across all services
- Calendar integration - See upcoming releases for all media types
- Flexible configuration - Enable only the services you use
Features
| Category | Capabilities |
|---|---|
| Sonarr (TV) | List series, view episodes, search shows, trigger downloads, check queue, view calendar |
| Radarr (Movies) | List movies, search films, trigger downloads, check queue, view releases |
| Lidarr (Music) | List artists, view albums, search musicians, trigger downloads, check queue, view calendar |
| Readarr (Books) | List authors, view books, search writers, trigger downloads, check queue, view calendar |
| Prowlarr (Indexers) | List indexers, search across all trackers, test health, view statistics |
| Cross-Service | Status check, unified search across all configured services |
Prerequisites
- Node.js 18+
- At least one *arr application running with API access:
Installation
Using npm (Recommended)
npx mcp-arr-server
From Source
git clone https://github.com/aplaceforallmystuff/mcp-arr.git
cd mcp-arr
npm install
npm run build
Configuration
Getting API Keys
Each *arr application has an API key in Settings > General > Security:
- Open your *arr application's web interface
- Go to Settings > General
- Find the API Key under the Security section
- Copy the API key for use in configuration
For Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"arr": {
"command": "npx",
"args": ["-y", "mcp-arr-server"],
"env": {
"SONARR_URL": "http://localhost:8989",
"SONARR_API_KEY": "your-sonarr-api-key",
"RADARR_URL": "http://localhost:7878",
"RADARR_API_KEY": "your-radarr-api-key",
"LIDARR_URL": "http://localhost:8686",
"LIDARR_API_KEY": "your-lidarr-api-key",
"READARR_URL": "http://localhost:8787",
"READARR_API_KEY": "your-readarr-api-key",
"PROWLARR_URL": "http://localhost:9696",
"PROWLARR_API_KEY": "your-prowlarr-api-key"
}
}
}
}
For Claude Code
Add to ~/.claude.json:
{
"mcpServers": {
"arr": {
"command": "npx",
"args": ["-y", "mcp-arr-server"],
"env": {
"SONARR_URL": "http://localhost:8989",
"SONARR_API_KEY": "your-sonarr-api-key",
"RADARR_URL": "http://localhost:7878",
"RADARR_API_KEY": "your-radarr-api-key"
}
}
}
}
Note: Only configure the services you have running. The server automatically detects which services are available based on the environment variables you provide.
Usage Examples
Library Management
- "Show me all my TV series"
- "What movies do I have in Radarr?"
- "List all artists in my music library"
- "How many books do I have by Stephen King?"
Searching for Content
- "Search for Breaking Bad on Sonarr"
- "Find the movie Inception"
- "Search for Taylor Swift albums"
- "Look up books by Brandon Sanderson"
Download Queue
- "What's downloading right now?"
- "Check the Sonarr queue"
- "Show Radarr download progress"
Upcoming Releases
- "What TV episodes are coming this week?"
- "Show upcoming movie releases"
- "Any new albums coming out this month?"
- "Show me upcoming book releases"
Downloading Content
- "What episodes of Severance am I missing?"
- "Download the missing episodes for that show"
- "Search for this specific movie"
- "Grab that Japanese Breakfast album"
- "Download all missing books by Brandon Sanderson"
Indexer Management
- "Are my indexers healthy?"
- "How are my indexers performing?"
- "Test all my Prowlarr indexers"
Cross-Service
- "Check status of all my *arr services"
- "Search for 'The Office' across all services"
Available Tools
General Tools
| Tool | Description |
|---|---|
arr_status |
Get connection status for all configured *arr services |
arr_search_all |
Search across all configured services simultaneously |
Sonarr Tools (TV)
| Tool | Description |
|---|---|
sonarr_get_series |
List all TV series in your library |
sonarr_search |
Search for TV series to add |
sonarr_get_queue |
View current download queue |
sonarr_get_calendar |
See upcoming episodes |
sonarr_get_episodes |
List episodes for a series (shows missing vs available) |
sonarr_search_missing |
Trigger search for all missing episodes in a series |
sonarr_search_episode |
Trigger search for specific episode(s) |
Radarr Tools (Movies)
| Tool | Description |
|---|---|
radarr_get_movies |
List all movies in your library |
radarr_search |
Search for movies to add |
radarr_get_queue |
View current download queue |
radarr_get_calendar |
See upcoming releases |
radarr_search_movie |
Trigger search to download a movie in your library |
Lidarr Tools (Music)
| Tool | Description |
|---|---|
lidarr_get_artists |
List all artists in your library |
lidarr_search |
Search for artists to add |
lidarr_get_queue |
View current download queue |
lidarr_get_albums |
List albums for an artist (shows missing vs available) |
lidarr_search_album |
Trigger search for a specific album |
lidarr_search_missing |
Trigger search for all missing albums for an artist |
lidarr_get_calendar |
See upcoming album releases |
Readarr Tools (Books)
| Tool | Description |
|---|---|
readarr_get_authors |
List all authors in your library |
readarr_search |
Search for authors to add |
readarr_get_queue |
View current download queue |
readarr_get_books |
List books for an author (shows missing vs available) |
readarr_search_book |
Trigger search for specific book(s) |
readarr_search_missing |
Trigger search for all missing books for an author |
readarr_get_calendar |
See upcoming book releases |
Prowlarr Tools (Indexers)
| Tool | Description |
|---|---|
prowlarr_get_indexers |
List all configured indexers |
prowlarr_search |
Search across all indexers |
prowlarr_test_indexers |
Test all indexers and return health status |
prowlarr_get_stats |
Get indexer statistics (queries, grabs, failures) |
Development
# Watch mode for development
npm run watch
# Build TypeScript
npm run build
# Run locally
SONARR_URL="http://localhost:8989" SONARR_API_KEY="your-key" node dist/index.js
Troubleshooting
"No *arr services configured"
Ensure you have set at least one pair of URL and API_KEY environment variables:
SONARR_URL="http://localhost:8989"
SONARR_API_KEY="your-api-key"
"API error: 401 Unauthorized"
The API key is incorrect. Verify it in your *arr application under Settings > General > Security.
"fetch failed" or "ECONNREFUSED"
The *arr application is not running or the URL is incorrect. Verify:
- The application is running
- The URL and port are correct
- There's no firewall blocking the connection
"Sonarr/Radarr/etc not configured"
You tried to use a tool for a service that isn't configured. Add the corresponding URL and API_KEY environment variables.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
MIT - see LICENSE for details.
Links
- Servarr Wiki - Documentation for all *arr applications
- Sonarr API Docs
- Model Context Protocol
- GitHub Repository
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。