MCP Smart Home Server
Hearth
Your home, sovereign.
The Problem
Your smart home sends everything to the cloud
Every voice command, every temperature reading, every time you turn on a light: it all leaves your network, travels to a corporate server, gets processed, and comes back. Your home's data lives in someone else's infrastructure.
When the cloud goes down, your "smart" home goes dumb. When the company pivots, your devices get bricked. When they change the privacy policy, you accept or lose control.
Hearth puts the intelligence back where it belongs: in your home.
How It Works
Talk to your home. It listens locally.
Hearth is an MCP server. It speaks the Model Context Protocol. Connect it to Claude or any MCP-compatible AI and control your devices with natural language. Every command stays on your local network.
MCP Tools
Six tools. Complete control.
Read current state: power, humidity level, mode, faults, countdown timer. Full device snapshot in one call.
Turn devices on or off. Boolean simplicity. No ambiguity.
Set target humidity level (25-80%). The device maintains it autonomously once set.
Switch between operating modes: smart, continuous, clothes drying. Each mode optimises differently.
Enable or disable the physical control lock. Safety when you need it.
Auto-shutoff timer in hours. Set it and forget it. The device sleeps when the timer expires.
Under the Hood
Local TCP. AES-128 encryption. Zero cloud.
Command
AI sends an MCP tool call: "set humidity to 45%"
Encrypt
Hearth encrypts the command with AES-128 ECB using your device's local key
Transmit
TCP packet sent directly to the device on your local network. Port 6668. No internet.
Respond
Device acknowledges. Hearth decrypts, validates CRC32, returns status to the AI.
Tuya protocol v3.3. Heartbeat keepalive every 10 seconds. Device IP, ID, and local key
configured once in hearth.toml. No accounts. No tokens. No cloud API.
Your encryption key lives on your machine and nowhere else.
Current Support
Starting with what matters
Meaco Arete Two 25L
Dehumidifier: smart humidity control, multiple operating modes, fault monitoring, countdown timer
Hearth's architecture supports any Tuya-protocol device. Lights, switches, sensors, thermostats: anything that speaks Tuya v3.3 can be sovereign.
Built With
Your home. Your control.
Your devices. Your network. Your data. A Rust server that speaks directly to your things, entirely on your local network.
Get in Touch