rachio-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rachio-mcplist my Rachio devices and zones"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rachio-mcp
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.
Features
Devices and zones — list controllers, sensors, and weather stations; inspect zone soil/nozzle/plant configuration and live state
Schedules — list, read, preview (dry-run), create, update, delete, copy, run, and skip schedules
Live control — stop watering, run specific zones manually, set rain delays, skip/pause/resume the currently-running zone
Context — calendar of upcoming runs, recent/past run history, active alerts, observed/forecast weather readings
Related MCP server: fireboard-mcp
Quick Start
1. Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh2. Mint a long-lived access token
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.
uvx --from rachio-mcp rachio-mcp-tokenIt 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:
uv tool install rachio-mcpThen rachio-mcp-token (and rachio-mcp itself) are available as regular commands.
For scripting (e.g. pipe into a password manager):
RACHIO_EMAIL=you@example.com RACHIO_PASSWORD=... \
uvx --from rachio-mcp rachio-mcp-token --json | jq .access_token3. Configure your MCP client
uvx downloads and runs the server on demand — no separate install step required.
OpenCode (opencode.json)
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"rachio": {
"type": "local",
"command": ["uvx", "rachio-mcp"],
"environment": {
"RACHIO_ACCESS_TOKEN": "{env:RACHIO_ACCESS_TOKEN}"
},
"enabled": true
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"rachio": {
"command": "uvx",
"args": ["rachio-mcp"],
"env": {
"RACHIO_ACCESS_TOKEN": "paste-your-token-here"
}
}
}
}If a tool call later returns a "token rejected" error, rerun rachio-mcp-token to mint a fresh one and update the config.
Available Tools
24 tools over stdio transport.
Discovery
Tool | Description |
| Every device on the account — controllers, sensors, weather stations |
| Full details + live state for a single device |
| Zones configured on a controller, with agronomic metadata |
| Full detail for a single zone |
| Scheduled runs + skip events for a date range |
| Observed recent/past zone-run telemetry plus calendar context |
| Unresolved alerts on a device or zone |
| Observed + forecast weather readings for a location |
Schedule CRUD
Tool | Description |
| Filter by device, location, zone, or schedule id |
| Single schedule + its locations/devices |
| Dry-run — returns the Schedule that |
| Create a new schedule |
| Partial-merge edit: name, enabled, timing/criteria, day restrictions, and per-zone add/update/remove |
| Permanent, destructive |
| Duplicate an existing schedule |
| Trigger an immediate run |
| Skip or re-arm the next scheduled run |
| Past runs + skip events for a schedule |
Live controller ops
Tool | Description |
| Stop whatever is running |
| Start one or more zones manually by zone number + duration |
| Defer all schedules until a given time |
| Skip to the next zone in the active run |
| Pause the current zone for N seconds |
| 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.
Recommended Workflow for Schedule Changes
list_devices→ pick your controllerlist_zones(device_id=...)→ note each zone's id andzone_numberlist_schedules(device_id=...)andget_schedule(schedule_id=...)→ understand what's already configuredpreview_schedule(...)→ dry-run your proposed schedule. Read the returnedsummarystring and the per-zone breakdowncreate_schedule(...)(same arguments) → commitget_schedule(schedule_id=<new>)→ confirmdelete_schedule(schedule_id=<new>)→ rollback if needed
preview_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.
How It Works
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:
scripts/build_protos.shThe stub generator reads from reverse-engineering/protos/, which is not shipped in the wheel but is kept alongside the source for future updates.
Python API
The MCP server wraps a standalone client you can use directly:
from rachio_mcp import RachioClient
c = RachioClient()
# Discovery
for d in c.list_devices():
print(d["type"], d["id"], d.get("name"))
# Preview a proposed schedule
preview = c.preview_schedule(
name="Fall Lawn",
schedule_type="FIXED",
zones=[
{"device_id": "<controller>", "zone_id": "<zone>", "watering_time": 1200},
],
start_time="06:00",
days=["WED"],
annual_start="09-16",
annual_end="11-15",
smart_cycle=True,
)
print(preview["summary"])
# Commit
created = c.create_schedule(name="Fall Lawn", ...)
print("created", created["id"])
# Rollback
c.delete_schedule(created["id"])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.
Environment
Variable | Required | Description |
| Yes | Long-lived bearer token minted by |
| No | Python logging level (default: INFO). Logs go to stderr; stdio transport's stdout is reserved for the MCP protocol. |
Minting a token (one-time setup)
Variable | Used by | Description |
|
| Rachio account email. If unset, |
|
| Rachio account password. If unset, |
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.
Transport
stdio only. Remote HTTP with OAuth 2.1 is not supported in v0.1.
License
MIT — see LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rwestergren/rachio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server