MCP server for Rachio sprinkler controllers β schedules, zones, and live watering control
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP (Model Context Protocol) server for Rachio sprinkler controllers, built on the reverse-engineered Android-app gRPC API.
The public Rachio API exposes only read-only access to schedules and a handful of single-action endpoints. This server instead talks to the same internal gRPC backend (cloud.rach.io:443) that the official mobile app uses, giving an agent the full set of operations: listing devices and zones, inspecting schedules, creating and previewing new schedules, updating and deleting them, starting and stopping manual zone runs, setting rain delays, and more.
β οΈ Unofficial. This server uses a reverse-engineered API. It works as of Rachio Android v4.21.18 and is not supported by Rachio. The schema can change without notice.
The MCP server itself never sees your Rachio password. Instead you mint a long-lived (~25-year) access token once, and supply only the token to the MCP client.
It will prompt for your Rachio email and password, then print a RACHIO_ACCESS_TOKEN value to paste into your MCP client config. The token remains valid until you change your password or explicitly log out from another device.
Or, if you'd rather have the commands on your PATH permanently, install once:
Then rachio-mcp-token (and rachio-mcp itself) are available as regular commands.
For scripting (e.g. pipe into a password manager):
uvx downloads and runs the server on demand β no separate install step required.
opencode.json)claude_desktop_config.json)If a tool call later returns a "token rejected" error, rerun rachio-mcp-token to mint a fresh one and update the config.
24 tools over stdio transport.
| Tool | Description |
|---|---|
list_devices | Every device on the account β controllers, sensors, weather stations |
get_device | Full details + live state for a single device |
list_zones | Zones configured on a controller, with agronomic metadata |
get_zone | Full detail for a single zone |
get_calendar | Scheduled runs + skip events for a date range |
get_run_history | Observed recent/past zone-run telemetry plus calendar context |
get_active_alerts | Unresolved alerts on a device or zone |
get_weather | Observed + forecast weather readings for a location |
| Tool | Description |
|---|---|
list_schedules | Filter by device, location, zone, or schedule id |
get_schedule | Single schedule + its locations/devices |
preview_schedule | Dry-run β returns the Schedule that create_schedule would produce, including the server-generated human-readable summary. Never persists |
create_schedule | Create a new schedule |
update_schedule | Partial-merge edit: name, enabled, timing/criteria, day restrictions, and per-zone add/update/remove |
delete_schedule | Permanent, destructive |
copy_schedule | Duplicate an existing schedule |
run_schedule | Trigger an immediate run |
skip_schedule | Skip or re-arm the next scheduled run |
get_schedule_runs | Past runs + skip events for a schedule |
| Tool | Description |
|---|---|
stop_watering | Stop whatever is running |
start_zones | Start one or more zones manually by zone number + duration |
set_rain_delay | Defer all schedules until a given time |
skip_current_zone | Skip to the next zone in the active run |
pause_watering | Pause the current zone for N seconds |
resume_watering | Resume a paused run |
All device_id, zone_id, schedule_id, and location_id parameters are UUIDs obtained from the list_* tools. Dates use YYYY-MM-DD (or MM-DD for annual-recurring schedules); times use HH:MM.
list_devices β pick your controllerlist_zones(device_id=...) β note each zone's id and zone_numberlist_schedules(device_id=...) and get_schedule(schedule_id=...) β understand what's already configuredpreview_schedule(...) β dry-run your proposed schedule. Read the returned summary string and the per-zone breakdowncreate_schedule(...) (same arguments) β commitget_schedule(schedule_id=<new>) β confirmdelete_schedule(schedule_id=<new>) β rollback if neededpreview_schedule is safe to call repeatedly β it never writes anything.
To edit an existing schedule instead of recreating it, use update_schedule. It performs a partial merge: read the schedule with get_schedule, then pass only the fields you want to change (name, enabled, timing/criteria, days, or zones/zone_ids_to_remove). Omitted fields are left untouched.
This server talks to cloud.rach.io:443 over TLS-protected gRPC, the same backend used by the Rachio Android app. Authentication uses the OAuth 2 password grant against oauth.rach.io/oAuth/token with the Android app's hardcoded client credentials.
The gRPC .proto definitions were recovered by decompiling the Rachio Android APK (v4.21.18) with jadx, extracting the embedded FileDescriptorProto payloads from the generated Java classes, and round-tripping them through protoc to produce clean .proto source. Pre-compiled Python stubs for the 40-odd messages/services used by the 23 MCP tools ship in src/rachio_mcp/proto/.
Regenerate those stubs any time the app's proto surface changes:
The stub generator reads from reverse-engineering/protos/, which is not shipped in the wheel but is kept alongside the source for future updates.
The MCP server wraps a standalone client you can use directly:
The client reads RACHIO_ACCESS_TOKEN from the environment, derives the user's user_id lazily on first use (via LocationService.ListLocations), and keeps both in memory for the lifetime of the process. Nothing is written to disk.
| Variable | Required | Description |
|---|---|---|
RACHIO_ACCESS_TOKEN | Yes | Long-lived bearer token minted by rachio-mcp-token. Valid for ~25 years unless revoked. |
LOG_LEVEL | No | Python logging level (default: INFO). Logs go to stderr; stdio transport's stdout is reserved for the MCP protocol. |
| Variable | Used by | Description |
|---|---|---|
RACHIO_EMAIL | rachio-mcp-token only | Rachio account email. If unset, rachio-mcp-token prompts interactively. |
RACHIO_PASSWORD | rachio-mcp-token only | Rachio account password. If unset, rachio-mcp-token prompts interactively with a masked input. |
Neither RACHIO_EMAIL nor RACHIO_PASSWORD is ever read by the MCP server itself β they exist only to feed the one-time token-mint CLI.
stdio only. Remote HTTP with OAuth 2.1 is not supported in v0.1.
MIT β see LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/rachio-mcp)<a href="https://allmcps.com/mcp/rachio-mcp"><img src="https://allmcps.com/api/badge/rachio-mcp?style=directory" alt="Rachio MCP on AllMCPs" /></a>