/yarr:yarrfrom yarr
Queries and automates the *arr media stack (Sonarr, Radarr, Prowlarr, Tautulli, Overseerr, SABnzbd, qBittorrent, Plex, Jellyfin, Bazarr, Tracearr) via a single Rust MCP bridge. Use for downloads, library management, requests, and media server status.
Ships in yarr. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Rust MCP bridge to the *arr media stack and related services. The MCP surface is
one tool, yarr: it runs a JavaScript async arrow function (code) in a
sandbox (Code Mode) that reaches the whole fleet. Credentials are handled
server-side. Inside the script the fleet is reached through per-service callables
with the service baked in — generated OpenAPI operations for the 6 spec-backed
services, curated commands for download/stats, plus api.<service> raw passthrough
and callTool. Discover what's available with codemode.search/codemode.describe.
yarr({ code }) runs the codemode action. Inside code you have:
service param):
sonarr.get_series(), radarr.post_movie({ body }), prowlarr.get_indexer(),
plex.get_sessions(), … For the 6 spec-backed services these are generated from
the upstream OpenAPI spec (the full API surface), including DELETE ops — see
Gotcha 3 below for the MCP confirmation boundary.api.<service>.get/post/put/delete(path, body).codemode.search(query) returns fully-qualified callables;
codemode.describe(path) returns a callable's signature OR a response type's
TypeScript interface (e.g. codemode.describe("sonarr.SeriesResource")).codemode.run(name, input) and codemode.snippets().writeArtifact(path, content, options?).The supporting actions (MCP-only; also on the CLI as yarr codemode /
yarr snippet): codemode, op (generated-operation dispatch),
snippet_list, snippet_save, snippet_run, snippet_delete. The generic
service actions remain: service_status, api_get, api_post, api_put,
api_delete, help.
The fleet kinds are sonarr, radarr, prowlarr, overseerr, tautulli,
plex, tracearr, sabnzbd, qbittorrent, jellyfin, and bazarr.
// One yarr call: discover, then health-check across services.
async () => {
const status = await sonarr.get_system_status(); // generated op (live)
const found = codemode.search("add movie").results.map(r => r.path);
return { sonarr: status.version, found };
}
Every example below is a yarr({ code }) call — code is one async arrow fn.
For the 6 spec-backed services (sonarr/radarr/prowlarr/overseerr/jellyfin/plex)
prefer the generated callables (full upstream API); fall back to
api.<service>.get/post/...(path, body) for anything not covered and for the
doc-based services (tautulli/sabnzbd/qbittorrent/bazarr/tracearr). Run
codemode.search("...") to find the exact callable + signature, and
codemode.describe("sonarr.SeriesResource") for a response type.
async () => {
const series = await sonarr.get_series(); // list all series
const queue = await sonarr.get_queue(); // download queue
const movies = await radarr.get_movie(); // list all movies
// Trigger a search command (generated POST op; runs immediately, no confirm):
await sonarr.post_command({ body: { name: "SeriesSearch", seriesId: 123 } });
await radarr.post_command({ body: { name: "MoviesSearch", movieIds: [456] } });
return { series: series.length, queued: queue.records?.length, movies: movies.length };
}
async () => {
const indexers = await prowlarr.get_indexer();
const pending = await overseerr.get_request({ filter: "pending" });
const sessions = await plex.get_sessions(); // who's watching
return { indexers: indexers.length, pending: pending.results?.length, sessions };
}
Curated commands surface as <service>.<action>():
async () => {
const activity = await tautulli.stats_activity(); // currently playing
const history = await tautulli.stats_history({ length: 20 });
const sabQueue = await sabnzbd.download_queue(); // SABnzbd queue
const torrents = await qbittorrent.download_queue(); // qBittorrent torrents
return { activity, sabQueue, torrents };
}
When no callable fits, hit the upstream API directly. Never put credentials in the path — the server injects auth.
async () => {
// Tautulli is query-param driven:
const homeStats = await api.tautulli.get("/api/v2?cmd=get_home_stats");
// Plex libraries:
const libraries = await api.plex.get("/library/sections");
return { homeStats, libraries };
}
async () => ({
sonarr: (await sonarr.get_queue()).records ?? [],
radarr: (await radarr.get_queue()).records ?? [],
sab: await sabnzbd.download_queue(),
qbit: await qbittorrent.download_queue(),
})
async () => {
const kinds = ["sonarr", "radarr", "prowlarr"];
const out = {};
for (const k of kinds) out[k] = await callTool("service_status", { service: k });
return out;
}
service_status is also a per-service callable: await sonarr.service_status().
async () => ({
tautulli: await tautulli.stats_activity(),
plex: await plex.get_sessions(),
})
The MCP surface is one tool, yarr. There are no mcp__yarr__<service>
tools — pass a code script to yarr and reach services via per-service
callables, api.<service>, or callTool.
api_get/api_post/api_put require write scope. The generic passthrough
dispatches arbitrary upstream requests, so all of it is write-gated to prevent
credential leakage via crafted paths. Your MCP token must have write scope.
There is no caller-supplied confirm parameter. Direct trusted CLI writes
run immediately. On MCP, every inner Code Mode call is independently
reauthorized, and destructive deletes (DELETE ops, api_delete, curated
deletes like download_remove) require a real interactive elicitation prompt.
Missing elicitation capability, cancellation, timeout, or refusal fails closed.
Never include credentials in path. Configured service credentials live in
server environment variables; the server injects auth automatically. Do not
append ?apikey=... or &X-Api-Key=....
service names are exact. Use sonarr, radarr, prowlarr, tautulli,
overseerr, sabnzbd, qbittorrent, plex, jellyfin, bazarr, tracearr.
An unknown name returns a structured unknown_service error listing the
configured names.
API paths are service-version-specific. Sonarr/Radarr use /api/v3/;
Prowlarr/Overseerr use /api/v1/; Tautulli uses query params (/api/v2?cmd=...).
Generated callables already encode the right path — prefer them over raw api_*.
Discovery is the fastest diagnostic. codemode.search("queue") lists every
matching callable with its fully-qualified path; codemode.describe(path) shows
the signature or response type. Use them before guessing op names.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
media-automation, arr-stack, plex, sonarr, radarr, mcp-bridge
npx claudepluginhub dinglebear-ai/yarr --plugin yarr12 skills in this plugin
/bazarrThis skill should be used when the user wants to manage subtitles in Bazarr. Triggers include: "missing subtitles", "wanted subtitles", "search subtitles", "download subtitles", "subtitle providers", "Bazarr status", "is Bazarr running", "what subtitles are missing", "find subtitles for", or any mention of subtitle management for movies or TV series. Only use this if the yarr MCP server is unavailable — prefer the consolidated `yarr` skill when it's configured and reachable./jellyfinThis skill should be used when the user asks about Jellyfin media server administration or troubleshooting — libraries, users, active sessions, playback/transcoding issues, scheduled tasks, plugins, or general server health. Triggers include: "check Jellyfin", "Jellyfin library", "who's watching on Jellyfin", "active Jellyfin sessions", "add a Jellyfin user", "refresh Jellyfin library", "Jellyfin won't scan new episodes", "fix Jellyfin transcoding", "Jellyfin container down", "Jellyfin metadata", "Jellyfin health", "Jellyfin scheduled tasks", "Jellyfin plugins", or any mention of Jellyfin media server management. Only use this if the yarr MCP server is unavailable — prefer the consolidated `yarr` skill when it's configured and reachable./overseerrThis skill should be used when the user wants to request movies or TV shows via Overseerr, monitor or manage media requests, or check request status. Triggers include: "request a movie", "request a TV show", "add to Overseerr", "check request status", "pending requests", "is my request done", "Overseerr status", "approve a request", "decline a request", "delete a request", or any mention of Overseerr media requesting. Only use this if the yarr MCP server is unavailable — prefer the consolidated `yarr` skill when it's configured and reachable./plexThis skill should be used when the user wants to interact with their Plex Media Server. Triggers include: "check Plex", "search Plex", "what's on Plex", "what's playing on Plex", "who's watching", "Plex sessions", "active streams", "Plex library", "browse movies", "browse TV shows", "recently added", "on deck", "continue watching", "Plex status", or any mention of Plex Media Server. Only use this if the yarr MCP server is unavailable — prefer the consolidated `yarr` skill when it's configured and reachable./prowlarrThis skill should be used when the user asks to search torrent or usenet indexers, find a release (by title, TVDB/IMDB/TMDB id), list or check indexer health/status, test indexers, enable/disable/delete an indexer, sync indexers to Sonarr or Radarr, connect Prowlarr to another app, or mentions Prowlarr or indexer management. Only use this if the yarr MCP server is unavailable — prefer the consolidated `yarr` skill when it's configured and reachable./qbittorrentThis skill should be used when the user asks about torrents, downloading, seeding, or the qBittorrent client. Triggers include: "what's downloading", "list torrents", "add a torrent", "pause/resume/delete torrent", "torrent speed", "download queue", "qbit", "qBittorrent stats", "check download status", or any mention of managing a torrent client. Only use this if the yarr MCP server is unavailable — prefer the consolidated `yarr` skill when it's configured and reachable.Other plugins' skills for the same job