cleanuparr-mcp
MCP server that exposes Cleanuparr's REST API for inspecting status, history, statistics, jobs, and configuration, enabling natural language interaction with Cleanuparr.
README
cleanuparr-mcp
An MCP server exposing Cleanuparr's REST API as tools for inspecting status, history, statistics, jobs, and configuration.
Requirements
- Cleanuparr with its REST API enabled
- An API key from Cleanuparr
- Python 3.11+ and
uvfor source development
Configuration
| Variable | Required | Description |
|---|---|---|
CLEANUPARR_URL |
Yes | Cleanuparr URL, including any reverse-proxy BASE_PATH; the server appends /api. |
CLEANUPARR_API_KEY |
Usually | API key sent as X-Api-Key. Health endpoints can be used without it when permitted. |
Install a built wheel and register it with Claude Code:
uv tool install cleanuparr_mcp-*.whl
claude mcp add cleanuparr \
--env CLEANUPARR_URL=https://cleanuparr.example.com \
--env CLEANUPARR_API_KEY=your-api-key \
-- cleanuparr-mcp
For a source checkout:
uv sync
claude mcp add cleanuparr \
--env CLEANUPARR_URL=https://cleanuparr.example.com \
--env CLEANUPARR_API_KEY=your-api-key \
-- uv run --directory /path/to/cleanuparr-mcp cleanuparr-mcp
Tools
The server exposes the full practical Cleanuparr API surface:
- Health and status: health, readiness, detailed health, health checks, system, *arr, and download-client status.
- Jobs: list, inspect, trigger, start, and schedule jobs.
- History: events, manual events, strikes, timelines, stats, Seeker search events, and custom-format scores.
- Configuration: general, *arr instances, download clients, queue rules, queue/download cleaners, dead torrents, orphaned/unlinked files, seeding rules, malware blocker, Seeker, blacklist sync, and notifications.
Write tools are marked destructive where appropriate. Cleanuparr returns 503
when its configuration database is busy; this server does not retry and instead
returns the upstream error to the MCP client.
Request bodies are pass-through JSON dictionaries matching the DTOs in the running Cleanuparr version. Sensitive update fields should use Cleanuparr's placeholder value to preserve an existing secret. Do not place real API keys, passwords, or notification tokens in prompts.
Development
make sync
make test
make test-integration # requires CLEANUPARR_URL and optionally CLEANUPARR_API_KEY
make build
The offline tests use httpx.MockTransport; integration tests are skipped by
default.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.