rachio-mcp
Was es tut
Macht Ihr Rachio-Bewässerungssystem für jeden MCP-Client verfügbar (Claude Code, Claude Desktop usw.), sodass Sie in natürlicher Sprache fragen können: „Bewässert gerade etwas?“, „Bewässere den Vorgarten für 10 Minuten“ oder „Setze eine 2-tägige Regenverzögerung“.
Verwendet die öffentliche Rachio-API — cloudbasiert, tokenbasiert, funktioniert von überall (kein Aufenthalt im selben Netzwerk wie der Controller erforderlich).
Related MCP server: ambient-weather-mcp
Werkzeuge
Werkzeug | Zweck |
| alle Controller auf dem Konto, mit Status und Zonenübersicht |
| einmalig: online, ein/pausiert, Regensensor & Verzögerung, was gerade bewässert wird |
| Zonen auf einem Controller (Nummer, Name, aktiviert) |
| gespeicherte Zeitplanregeln (Bewässerungszeiten) |
| eine Zone für N Minuten laufen lassen (max. 180) |
| mehrere Zonen nacheinander laufen lassen |
| alles sofort stoppen |
| Regenverzögerung setzen/aufheben (0–7 Tage) |
| eine gespeicherte Zeitplanregel nach Name oder ID starten |
| Controller in den Standby-Modus versetzen / aus dem Standby holen |
Zonen und Geräte können per Name oder Nummer referenziert werden, nicht nur über ihre API-IDs.
Anforderungen
Python 3.12+
Ein Rachio-Konto und ein API-Token
API-Token abrufen
In der Rachio-Mobil-App: Profile → Get API Key → Copy. Es ist ein einzelnes Bearer-Token, das an Ihr Konto gebunden ist — behandeln Sie es wie ein Passwort.
Installation
git clone https://github.com/rudy325/rachio-mcp.git
cd rachio-mcp
uv syncKonfiguration
export RACHIO_API_TOKEN=your-api-tokenSiehe .env.example.
Bei Claude Code registrieren
claude mcp add rachio \
--env RACHIO_API_TOKEN=your-api-token \
-- uv --directory /path/to/rachio-mcp run server.pyOder mit Claude Desktop in claude_desktop_config.json:
{
"mcpServers": {
"rachio": {
"command": "uv",
"args": ["--directory", "/path/to/rachio-mcp", "run", "server.py"],
"env": { "RACHIO_API_TOKEN": "your-api-token" }
}
}
}Verwendung mit anderen Clients (OpenAI, lokale Modelle usw.)
Dies ist ein standardmäßiger MCP-Server — er spricht das offene Protokoll über stdio und kümmert sich nicht darum, welches Modell oder welcher Client ihn steuert. Alles, was MCP unterstützt, funktioniert:
OpenAI — das Agents SDK und die Responses API akzeptieren MCP-Server. Weisen Sie sie an:
command: "uv",args: ["--directory", "/path/to/rachio-mcp", "run", "server.py"], mitRACHIO_API_TOKENin der Umgebung.Lokale / Open-Source-Modelle — über jeden MCP-fähigen Client (Cline, Continue, LibreChat, Open WebUI, Goose, Zed, Cursor) mit Ollama, Llama, Qwen usw.
Jeder andere MCP-Client — derselbe stdio-Befehl wie in den obigen Claude-Beispielen.
Die einzige Voraussetzung ist ein Modell, das kompetent im Tool-/Funktionsaufruf ist; die großen gehosteten Modelle und stärkere lokale Modelle (Llama 3.1+, Qwen 2.5+) kommen damit gut zurecht.
Hinweise
Mehrere Controller: Jedes Werkzeug akzeptiert ein optionales
device-Argument (Name oder ID), das nur erforderlich ist, wenn das Konto mehr als einen Controller hat.Dauern: Zonenläufe sind auf 180 Minuten begrenzt und Regenverzögerungen auf 7 Tage, entsprechend den API-Limits.
Standby:
set_device_power(on=false)versetzt den Controller in den Standby-Modus und pausiert alle geplanten Bewässerungen, bis er wieder eingeschaltet wird.Ratenlimits: Die Rachio-API erlaubt 1700 Aufrufe pro Tag und Token; diese Werkzeuge sind alle einzelne Aufrufe, daher ist die normale Nutzung weit von der Grenze entfernt.
Wie alles zusammenpasst
MCP client ──stdio──> server.py ──HTTPS──> api.rach.io/1 ──> your Rachio controllerLizenz
MIT. Nicht verbunden mit oder unterstützt von Rachio, Inc. „Rachio“ ist eine Marke von Rachio, Inc.
Available Tools
10 toolsget_statusA
Current state of a controller: online, on/paused, rain sensor/delay, and what (if anything) is watering right now. The one call for "what's my sprinkler doing".
Inputs: device.
list_devicesA
List Rachio controllers on the account with status and zone summary.
Inputs: no named parameters. Returns: result
list_schedulesB
List the stored schedule rules (watering times) on a controller.
Inputs: device. Returns: result
list_zonesA
List every zone on a controller (number, name, enabled state).
Inputs: device. Returns: result
run_scheduleB
Start a stored schedule rule by its id or name.
Inputs: schedule (required), device.
set_device_powerA
Turn a controller's automatic schedules on (standby off) or off (standby on). Turning it off pauses all scheduled watering until turned back on.
Inputs: on (required), device.
set_rain_delayB
Set a rain delay in days (0 clears it, max 7).
Inputs: days (required), device.
start_zoneC
Run a single zone for the given number of minutes (max 180).
Inputs: zone (required), minutes (required), device.
start_zonesA
Run multiple zones in sequence. Each item: {"zone": <num/name>, "minutes": }. They water one after another in the order given.
Inputs: zones (required), device.
stop_wateringB
Stop all watering on a controller immediately (manual or scheduled).
Inputs: device.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Most tools clearly target distinct actions and resources, such as listing devices, zones, and schedules or setting rain delay. The main potential confusion is between start_zone, start_zones, and run_schedule, though descriptions clarify the differences.
Tool names follow a consistent verb_noun pattern throughout: list_*, start_*, set_*, stop_*, run_*. Even the plural start_zones follows logically from start_zone.
10 tools is well-scoped for an irrigation controller server. Each tool covers a meaningful control or query action without unnecessary bloat or missing essential functionality.
The server covers core device management, zone control, schedule execution, status, and watering control. Minor gaps exist like detailed watering history or schedule editing, but the main local control workflows are complete.
Maintenance
Related MCP Connectors
Control your Tesla from your AI assistant - climate, charging, access, and security.
Read RemoteLock devices and guests; manage door access and physically lock or unlock doors.
Control your existing Philips lights, Sonos speakers, Roborock vacuums and other supported devices through Port OS cloud. Give ChatGPT, Claude and other MCP-compatible assistants access to the devices you connect. Turn off the living room lights, play music on your speakers, adjust the thermostat, run a vacuum in a room, check a camera snapshot or find a connected tracker. Available actions depend on your linked provider accounts and each device’s supported capabilities. Port OS runs in the cloud; no local server is required. You choose the account, device and capability permissions each assistant receives. Device operations require user OAuth; public tool discovery does not grant device access. Port OS is in alpha. Setup: https://portoperatingsystem.com/docs/getting-started/ Support: https://portoperatingsystem.com/contact/
Ask about your IoT sensors, devices, anomalies and automations, switch outputs and log values.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceEnables managing OpenSprinkler irrigation controllers via Claude Desktop, including starting/stopping stations, setting rain delays, and viewing controller status.-
- AlicenseNot gradedqualityDmaintenanceEnables natural language queries about Ambient Weather personal weather station data, including current conditions and device info.MIT
- AlicenseAqualityCmaintenanceMCP server for full control of Rachio sprinkler controllers via the reverse-engineered internal gRPC API, enabling schedule management, manual zone runs, rain delays, and weather data retrieval.248MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural-language control and monitoring of Rain Bird ESP-TM2 irrigation controllers over a local LAN, including starting zones, running programs, setting rain delays, and checking status.1MIT