LabMon

Open source · MIT · Python standard library

Your homelab at a glance.
Your agent keeps the dashboard right.

LabMon is a small, self-hosted dashboard for the machines on your Tailscale tailnet: node health, services, containers, health checks, and the projects you run on them. You change it by asking an agent. It proposes a layout, you open the preview, and it goes live only when you approve.

The LabMon dashboard: an all-clear headline, cards for each node with CPU, memory and disk bars, a CPU history chart and a list of services.

Everything your nodes are doing, in one place

Node health

CPU, memory, disk, network, temperature and uptime for each node, with 24 hours of history. Problems rise to the top.

Services and containers

The systemd units, Docker containers and pm2 apps you choose, plus each node's Incus, Podman and Docker environments.

Health checks

Up or down, status code and response time for the URLs you care about, limited to hosts you trust.

Projects and tasks

A shared tracker for what runs where, with links, notes and an activity feed that every device sees.

Your layout, as data

Pages and widgets are a versioned JSON spec. Every change has a preview link, a history and a rollback.

Small and dependency-free

One Python process with SQLite on the hub, Glances on each node. No database server, no build step, no cloud account.

Ask, preview, approve

LabMon is built to be changed by agents. Tell Claude Code what you want; it reads what is possible, writes a proposal and gives you a preview link with your live data. Nothing changes until you approve it.

  • MCP over SSH for Claude Code, Codex CLI, Gemini CLI, Cursor and VS Code.
  • MCP over your tailnet, with each caller identified by Tailscale and given a role.
  • An optional public endpoint for chat apps such as ChatGPT, Claude.ai and Grok, limited to reading and proposing, and connected only after you approve on your hub.

Private by default

Tailnet only

The hub binds to its Tailscale address and refuses wildcard addresses. Node collectors are bound the same way.

Identity from Tailscale

With an access policy, the hub asks its own Tailscale daemon who is calling and gives them a role: read, propose or write.

Changes you approve

Layouts are plain data from a fixed widget catalog, so no HTML or scripts. New nodes join only after an identity check and your typed approval.

Quick start

  1. Install the hub

    git clone https://github.com/FakeZhiyuanLi/LabMon.git ~/LabMon
    cd ~/LabMon && deploy/install-hub.sh

    Set your tailnet name in ~/.config/labmon/config.json, then start the service the installer prints (systemd on Linux, a LaunchAgent on macOS).

  2. Add a node

    python3 scripts/node_enroll.py bundle nas --role "Storage and backups"
    # on the node: python3 prepare_node.py all
    python3 scripts/node_enroll.py enroll nas
  3. Connect your agent

    claude mcp add --scope user labmon -- ssh hub labmon mcp

    Then ask for the dashboard you want.