Back to services

HomeButler

🏠 Tells you what changed on your server — only what's worth telling. Single Go binary, no database, nothing running on the machines it watches. MCP server built in.

View alternatives to HomeButler
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

HomeButler's tagline is "Know what changed before you fix it": figure out what changed first, then start fixing. It is an operations tool for small homelabs, shipped as a single Go binary. It breaks routine server maintenance into a few narrowly scoped operations with easy-to-read results: reporting changes, mapping ports and services, capturing crashes, and rehearsing backups.

It needs no daemon, no database, and no always-on web server. Terminals, scripts, cron, CI, the web dashboard, and AI assistants can all call it. The project is open source under the MIT license and is hosted on GitHub (Higangssh/homebutler).

Problems it solves

  • What is actually running on my server right now?
  • Which container is using this port?
  • Why did this service restart at 3 a.m.?
  • Can my backups really be restored?
  • Can I install a self-hosted app without writing a compose file by hand?
  • Can I let an AI assistant inspect my server without giving it a full SSH shell?

Key features

  • Butler Report (homebutler report): Summarizes current health, warnings, and important changes compared with the previous snapshot, and suggests the next commands to run. The first run creates a baseline under ~/.homebutler/reports/snapshots/, and 30 snapshots are kept by default.
  • Doctor check (homebutler doctor): A read-only preflight check covering disk and memory pressure, stopped containers, exposed ports, stale or missing backups, notification configuration, and more. Each finding comes with the next command to run. With --strict, it returns a non-zero exit code when problems are found, so you can use it directly in cron or CI.
  • Inventory and topology (inventory scan): Lists containers, application ports, and system ports, and maps ports published by Docker to the containers that own them. You can use --filter exposed to show only ports listening on all interfaces, and you can also export a Mermaid topology diagram.
  • One-command app install (install): Deploys apps such as Uptime Kuma, Jellyfin, Pi-hole, Gitea, Portainer, and Nginx Proxy Manager. Before installing, it checks Docker, port conflicts, and duplicate containers, and automatically generates an editable docker-compose.yml. uninstall stops the app but keeps its data, while purge removes everything.
  • Process restart monitoring (watch): Supports Docker (live event stream), systemd, and PM2 (polling). On a crash, it saves the logs from before the failure and after the restart, determines the cause from the exit code and log patterns (OOM, panic, segfault, timeout, dependency issues, and so on), and detects short-term and long-term repeated restarts (flapping).
  • Backups and backup drills (backup drill): Backs up Docker volumes, compose files, and environment variables. During a drill, it starts the app from the backup data in an isolated Docker network and runs an HTTP health check, then cleans up automatically without affecting running services.
  • Web dashboard (homebutler serve): The frontend is compiled into the binary with go:embed, so Node.js is not needed. You can view multiple servers, system metrics, containers, processes, and ports, and it also supports Wake-on-LAN.
  • MCP server: A built-in MCP server lets MCP clients such as Claude Desktop, ChatGPT, Cursor, and Windsurf query server status, containers, and ports in natural language, without giving the AI SSH access.
  • Multi-server management: Manage multiple servers over SSH from one machine, with parallel queries (--all), remote deployment (deploy), and unified upgrades (upgrade).
  • Config validation (config validate): Points out unrecognized configuration keys and shows where the configuration file was resolved from, so settings are not silently ignored.

Who it's for

  • Self-hosting enthusiasts running a few home servers, Raspberry Pis, or NAS devices
  • Users who are comfortable on the command line and want to automate operations with scripts, cron, or CI
  • Users who want AI assistants to check server status safely
  • Users on isolated networks or in offline environments. Notifications are off by default, and methods such as Telegram can optionally be configured

How it differs from similar tools

Portainer, Netdata, and CasaOS are mainly graphical dashboards. HomeButler is primarily command-line based, and every command can output machine-readable results through --json. This suits offline environments, and the binary can be copied straight onto any server and run. It cares more about "what changed" than about providing yet another live chart.

Installation

# Homebrew (macOS / Linux, recommended)
brew install Higangssh/homebutler/homebutler

# One-line install script (automatically detects your system and architecture)
curl -fsSL https://raw.githubusercontent.com/Higangssh/homebutler/main/install.sh | sh

# Interactive setup
homebutler init

Common commands:

homebutler status                    # CPU, memory, disk, uptime
homebutler report                    # Health report + summary of changes
homebutler inventory scan            # Containers + ports + topology
homebutler install uptime-kuma       # Deploy a self-hosted app
homebutler backup drill uptime-kuma  # Verify that a backup can be restored
homebutler serve                     # Web dashboard at http://localhost:8080

MCP client configuration example: add "homebutler": {"command": "npx", "args": ["-y", "homebutler@latest"]} under mcpServers.

Technical requirements

  • Written in Go (the badge indicates Go 1.25+) and distributed as a single binary
  • App installation and backup drills depend on Docker; the default, Colima, and Podman Docker sockets are detected automatically
  • To use the systemd restart features, you need root privileges or a polkit rule