HomeLab Monitor

Analytics and monitoringCloud and DevOps

Self-hosted homelab dashboard with a built-in read-only MCP server (hosts, Docker, GPU, services).

Your AI app calls the HomeLab Monitor MCP server, which does the analytics and monitoring and cloud and DevOps work and sends the result back to the chat.

About HomeLab Monitor

HomeLab Monitor is a community MCP server from SikamikanikoBG, filed in our directory under analytics and monitoring and cloud and devops. Self-hosted homelab dashboard with a built-in read-only MCP server (hosts, Docker, GPU, services).

HomeLab Monitor runs on your own machine: your AI app starts it with the command docker run -i --rm and talks to it over standard input and output. It needs HOMELAB_MONITOR_URL set before HomeLab Monitor starts.

HomeLab Monitor is listed in the official MCP registry as io.github.SikamikanikoBG/homelab-monitor, version 0.14.2.

At a glance

Publisher
SikamikanikoBG (community)
Runs
Locally on your machine
Install from
Docker image: docker.io/sikamikaniko123/homelab-monitor:0.14.2
Written in
Python
License
MIT
GitHub stars
246
Official MCP registry
io.github.SikamikanikoBG/homelab-monitor

How to set up HomeLab Monitor

  1. Have Docker running on the machine that runs your AI app, because HomeLab Monitor starts as a container.
  2. Create HOMELAB_MONITOR_URL for HomeLab Monitor in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add HomeLab Monitor to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the HomeLab Monitor tools to confirm the connection.
  5. Run one read-only task with HomeLab Monitor first, and keep your app asking before each tool call until the results look right.

HomeLab Monitor compared with similar servers

  • Google Analytics by surendranb has fewer GitHub stars than HomeLab Monitor (242 against 246); both are community servers, and both run locally.
  • Victoriametrics by VictoriaMetrics has more GitHub stars than HomeLab Monitor (248 against 246); both are community servers, and both run locally.
  • Facebook by HagaiHen has fewer GitHub stars than HomeLab Monitor (239 against 246); both are community servers, and both run locally.

Before you connect HomeLab Monitor

  • Give HomeLab Monitor its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each HomeLab Monitor tool call until you trust what it does with them.
  • Treat text that HomeLab Monitor fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for HomeLab Monitor on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for HomeLab Monitor

How marketing and sales teams put HomeLab Monitor to work, by company size. Pick the size closest to yours and start HomeLab Monitor on one use case.

Small business

  • A small business can ask HomeLab Monitor where this month's customers came from and which channel is worth more budget.
  • Owners can use HomeLab Monitor to get a weekly traffic and conversion summary in plain words, without learning the analytics tool.
  • A small business can ask HomeLab Monitor why the site is slow or down and get the likely cause in plain words.
  • HomeLab Monitor runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can connect HomeLab Monitor to answer attribution and funnel questions in a chat, then save the useful ones as reports.
  • Growth teams can have HomeLab Monitor flag drops in signups or conversion the day they happen, with the page or source that changed.
  • Web teams can connect HomeLab Monitor to watch deploys during a launch and roll back fast if a campaign page breaks.
  • Start HomeLab Monitor on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can expose governed metrics through HomeLab Monitor, so every team's AI answers use the same definitions as finance.
  • Large analytics teams can use HomeLab Monitor to triage anomalies across regions and products before the weekly business review.
  • Enterprises should give HomeLab Monitor read access first, with changes gated by the same approvals as any infrastructure change.
  • HomeLab Monitor is a community server, so have security review the code and pin a version before HomeLab Monitor touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

HomeLab Monitor README

From SikamikanikoBG/homelab-monitor on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

HomeLab Monitor

Ask your homelab. One self-hosted page for every box and GPU you run, and an AI agent that reads all of it, answers in plain words, and fixes things only when you say so. It runs on the models already in your lab. No cloud, nothing to install on your machines.

Real answer, real fleet: one click on the Overview, a local model on the lab's own GPUs, about 45 seconds (sped up here). Host names are anonymised.

Your home lab grew into a couple of machines, a Pi, and a GPU that's mysteriously always busy, and lately it's running models too. HomeLab Monitor gives you one page that answers the real questions: what's that GPU actually doing, which model is holding it, what's it costing you to run, which container is eating RAM, what's filling your disks, and is anything down, across every box over SSH: Linux, a Pi, even Windows. And when you'd rather not click through tabs, just ask.

Get started

# Grab the compose file and go. No GPU required, the GPU panels just light up when one's present.
curl -fsSLO https://raw.githubusercontent.com/SikamikanikoBG/homelab-monitor/main/docker-compose.yml
docker compose up -d

Open http://<your-host>:9800 and you're done. The AI agent is already there: the Overview walks you through turning it on in about a minute. Full options (from source, GPU toolkit, Windows/WSL2) → Install docs.

🆕 What's new, every release is written up in full, with the reasoning behind it: latest release · changelog. The dashboard also shows you the notes once, in-app, after it updates itself.

Ask your homelab, an AI agent that knows your lab

It answers from what the dashboard actually measures. Ask from the Ask your lab card on the Overview, the floating Ask button on any page (it knows which page and host you're on), or the Agent tab. It reads your lab with the same tools the MCP server has, starts from the fleet overview and drills down only when it has to. The answer comes back as text and tables, never a wall of JSON. Every answer says what it checked ("Checked 4 machines · 2 look-ups · 46 s") and offers follow-ups. Ask in English, Bulgarian or anything else; it replies in your language.

A real answer, the whole fleet in one table, then what needs you. Nothing runs until you approve. The exact command is one click away.

Your models, your rules. It finds the model servers already on your network, Ollama, vLLM, llama.cpp, LM Studio, LocalAI, and tests them while you watch, or takes your own key for OpenAI, Anthropic, Gemini, Groq, Mistral, OpenRouter and others. Keys never leave the hub.

You decide what it may do. Each machine is Look only, Ask me first or Handle the small stuff. Actions come from a fixed catalogue, restart or stop a container, restart a service, prune dangling images and build cache, shrink the journal, unload or delete an Ollama model, with no shell anywhere. The server checks the policy when the agent proposes an action and again when it runs. The monitor's own container and whatever serves the model are always off-limits.

Routines that run while you sleep. Ten ready-made ones, disk-space watch, GPU health, container health, Docker cleanup, model housekeeping, update and cost reports, backup freshness and more, or your own prompt, on a schedule. Each one can report, propose actions or act within your policy. Reports go to your alert channels, and proposals wait for you under Approvals.

Every step on the record. Activity shows what each run read, what the policy decided and why, and who approved it. You can export it as JSON or CSV, and every action is also written to docker logs.

Off until you turn it on, and only ever behind the dashboard login → AI agent docs.

What you get

One page, every box, the questions you actually have. The classics are all here, and a whole AI cockpit builds on top of them.

A front page for your lab, and a wall screen. The Overview opens with a Launchpad: the apps you actually open, as tiles with their real logos, pinned straight from a container row with the address already filled in, grouped and dragged into the order you want. Pins live on the hub, not in one browser, pin it on the laptop and it's there on the phone and on the wall. The whole board fits the screen: it measures its own overrun after every paint and gives ground in order, trimming lists, tightening the fleet rail, folding pins behind a +N more, rather than clipping a card in half or running past the fold. Verified from 4K down to 1366×768. And ⛶ Display (or /?display=1, all a dedicated kiosk box needs) drops every scrap of chrome and fills the monitor: you choose which panels the wall shows, and on Chromium-based browsers it opens full-screen on whichever screen you point it at.

Your GPU, demystified, and the same tab on every box. A card pinned at "100% util" can still be throttling, memory-bandwidth-bound, or quietly drooping its clocks. The GPU tab decodes nvidia-smi's throttle reasons, and shows memory-bandwidth util, core/mem clocks, power-vs-limit, p-state, and fan speed, for every machine in the fleet, not just the one running the container. Multi-GPU boxes get one panel per card on a shared scale per metric, so a taller temperature line really is a hotter card; thermal-throttle windows are shaded right on the sparkline. You can see which card a service is sitting on (a 3×3090 box shows a model's 63 GB split 22.5 / 22.1 / 18.8 across the cards, not one pooled number), what each service cost in energy, and get alerted when a card throttles, overheats or loses a fan, sustained, per card, with per-host thresholds, because a box running a deliberately lowered power limit is supposed to sit at its cap. And it's no longer NVIDIA-only: AMD GPUs are read on Linux straight from the kernel's amdgpu interface (no ROCm), and AMD and Intel GPUs on Windows hosts, so your card shows up with its name, utilisation and VRAM, no vendor tools required. Anything a driver won't report says so, instead of drawing a confident zero.

What it costs, down to the process. Power becomes money: per machine, then per component (GPU measured via nvidia-smi, CPU/DRAM via RAPL), then per process, container or model, click any row to see what it drew and what it cost over any window. Day & night tariffs (Economy 7, Heures Creuses, …), or just pick your country for a sensible estimate. Every watt is measured or a baseline you set; wall power is never guessed. And a busy-hours heatmap turns months of samples into one picture of when your lab costs you money, a 7×24 day-of-week × hour grid that shows which hour of the week is priciest at a glance.

Your training runs, priced. Push a run from Jupyter, Colab or Kaggle with a one-file client (or mirror it from MLflow), and it comes back with the loss curve and the GPU energy the box drew over the run window, on the same timeline. That window figure is the whole card's draw, not a per-run measurement, GPUs do not meter per process. Create, name, expire and revoke API keys yourself.

"Will it fit?", measured, not guessed. The Benchmark Lab loads each of your local ollama models and sweeps a ladder of context sizes on your actual cards, recording generation & prompt tokens/sec, load time, how much spilled from VRAM into system RAM, and the largest context that still fits fully in VRAM, the cap worth setting. Pick which GPU(s) to test (via a throwaway pinned ollama container, your main one is never touched), overlay stored runs to compare cards, and every run comes back with the energy it burned and what it cost. Results are stored: benchmark once, re-run only when something changes.

And the rest of the lab, the way it always was:

  • Containers, honestly, health plus RAM and VRAM in separate columns (real resident RAM, not page cache), and click one to tail its logs in a side drawer. Every box in the fleet gets the same controls, logs, start/stop/restart, restart policy, pin, over the same SSH connection the probe already uses, and the whole tab works on a phone.
  • systemd services, local or remote, your own units highlighted, failures first.
  • WizTree-style disk treemaps, on any box in the fleet. Click into the folders filling a disk on the hub or on any Linux host you've added; a remote is scanned over the same SSH connection everything else uses, so there's still nothing to install on it. Plus network I/O with per-container top talkers and a mini-htop for who's eating CPU and RAM.
  • It moves like a live dashboard. Utilisation, RAM, temperature and power update every couple of seconds over a push stream instead of a fixed poll, and it does that while making fewer requests than before, because the expensive history query is fetched only as often as its own chart buckets can change, and a tab you're not looking at stops costing anything at all. Sampling and storage cadence are untouched, so history stays exactly as dense (and costs stay exactly as accurate) as they were.
  • Multi-machine over SSH, paste one key per box; Linux, a Pi, even Windows. No agents, no installs. The GPU tab works per host too: a remote multi-GPU rig shows every card's VRAM, utilisation, power and temperature, and the processes holding the memory.
  • Uptime monitoring, in the box, watch any HTTP endpoint or TCP port (your services, a NAS, a remote site) straight from the container: heartbeat strip, 24h/7d uptime %, latency, and smart per-check alerts, anti-flap confirm, recovery with downtime, and an optional slow-response warning. No extra uptime service to self-host, it's already in the box.
  • Push alerts, Discord, ntfy.sh and Telegram, edge-triggered so they don't spam.

Full tab-by-tab tour → Features.

Multi-machine, in two sentences

Open the Hosts tab, paste the hub's auto-generated SSH key onto each remote, and the hub starts polling it, nothing to install, just SSH + Python 3 (PowerShell on Windows). The hub pipes a small self-contained probe over SSH; nothing persists on the remote. The same connection is what lets you open a remote's GPU cockpit and scan its disks from the hub, still with nothing installed on the far end.

Onboarding, Windows setup, and the security model → Multi-machine docs.

Configuration

Set these under environment: in docker-compose.yml (all optional):

Variable Default Meaning
SAMPLE_INTERVAL 10 Seconds between stored samples. This is the storage cadence, every energy and cost figure is integrated against it, so changing it changes how history is priced
FAST_INTERVAL 2 Seconds between live-value refreshes on screen. Reads only cheap counters and stores nothing, so it costs no history and no accuracy. 0 turns the push stream off and the dashboard falls back to polling
RETENTION_DAYS 180 How long history is kept
PRESSURE_FREE_MB 2048 Free VRAM below this counts as "pressure"
PORT 9800 Dashboard port
MCP_PORT 9810 Port for the built-in read-only MCP server
ENABLE_MCP 1 Set 0 to run the dashboard without the MCP server
ENABLE_CONTROLS 1 Set 0 to remove the start/stop/restart buttons from the Containers and Services tabs
ENABLE_HOST_RUN 0 1 re-enables /api/hosts/<name>/run (run any command on a host; unused by the UI)
ADMIN_PASSWORD , Set the optional dashboard password at boot (or in Settings → Security)
AGENT_ENABLED 1 Set 0 to hide the AI agent completely (it runs nothing until you set a password and switch it on)
ALLOW_SELF_UPDATE 1 Set 0 to disable in-app updating
WATCH_CONTAINERS , Extra containers to scan for OOM (comma-separated)
WATCH_SERVICES , systemd units to always show, even vendor ones (comma-separated)
CHECK_UPDATES true Set false to disable the daily GitHub-releases check (no outbound calls)
CHECK_OS_UPDATES true Set false to stop reporting pending OS package updates
PUBLIC_STATUS , Set to enable the public status page (also a Settings toggle, which needs no restart)
DB_PATH /data/gpu.db Where history is stored inside the container
HOST_ROOT /rootfs Mount point of the read-only host root
DOCKER_SOCK /var/run/docker.sock Docker socket to read containers from

History lives in ./data/gpu.db (a bind mount), so it survives restarts and upgrades. Alerts, the systemd D-Bus mount, and per-server tuning → Configuration docs.

Under the hood

The hub stitches nvidia-smi (plus AMD GPUs via the in-kernel amdgpu sysfs interface, and AMD/Intel on Windows hosts via the built-in GPU perf counters), the Docker API, model-server APIs (Ollama, vLLM, llama.cpp, A1111, …), systemd D-Bus, and /proc + /sys into one sampled view, persisted to SQLite and downsampled on read so a six-month range loads as fast as the last hour. Single page, vendored Chart.js, no build step.

  • 30+ recognised model servers → Model servers
  • Standard /metrics endpoint to scrape into whatever dashboards you already run → Metrics export
  • The full data pipeline + caller attribution → How it works

Bring your own AI client (MCP)

Your homelab is now legible to AI agents, point a client at one URL and it can see every host, container, GPU and disk. Read-only, no extra setup.

Prefer your own assistant to the built-in one? A read-only MCP server is built into the same container (served on :9810), so Claude, Claude Code, or any MCP client connects in one line and explores your whole lab through 20 named tools, with the same coverage you see on the dashboard: hosts, containers, systemd services, GPU and who's driving it, per-process RAM, AI model servers, installed models, costs, experiment runs, model benchmarks, disk treemaps, history and alerts.

Connect any MCP client, Claude, ChatGPT, or an agent on your own local Ollama models, and it reads your homelab's live state. Read-only: both directions are just question and answer.

# the dashboard is on :9800; the MCP server rides along on :9810
claude mcp add --transport http homelab http://YOUR-HUB:9810/mcp

Once connected, skip the tab-hunting and just ask, the agent picks the right tools:

  • "My GPU's been pinned for an hour, which model server is loaded, and who's actually calling it?"
  • "What's eating /backup? Give me the biggest folders and flag anything that looks like runaway logs."
  • "Which host is lowest on RAM right now, and what's the top process holding it?"
  • "I want to reboot and run an OS upgrade this weekend, which box needs it most, and what's a safe order given what's running on each?"

Read-only by design, there are no write tools, so an agent can look but never touch your fleet. Turn it off anytime with ENABLE_MCP=0. Full tool list & setup → MCP docs.

Security

This is a host monitor: it runs with host access, plus a read-write Docker socket and D-Bus socket (self-update and the Containers/Services tabs' start/stop/restart controls are on by default, set ALLOW_SELF_UPDATE=0/ENABLE_CONTROLS=0, or use docker-compose.readonly.yml, to lock it down to pure monitoring) and a read-only root mount, a broad footprint by design. The dashboard has an optional login (Settings → Security; off until you set a password, and required for the AI agent), without one it's meant for a trusted LAN. Keep it behind your LAN/VPN/firewall and don't expose it to the public internet. Details → docs (sikamikanikobg.github.io/homelab-monitor/how-it-works).

⭐ Support the project

If HomeLab Monitor saves you a browser tab or two, a ⭐ on GitHub genuinely helps other home-labbers find it. Thank you!

💬 Community

Building this is more fun together. Join the HomeLab Monitor Discord, say hi, show off your rig, swap ideas, ask for help, or just hang out. It's where the roadmap chatter, “should we build X?” questions, and quick help happen, and where new contributors get a warm welcome.

Bring a friend, post an idea, open an issue, let's grow a friendly, healthy homelab community. 💛

Contributing

Issues and PRs are very welcome, especially new model-server probes, new monitors, and GPU back-ends. This is a hobby tool meant to help fellow home-labbers, so be kind. See CONTRIBUTING.md.

Contributors

Thanks to everyone who's filed an issue, opened a PR, or helped shape the roadmap. The entire AMD GPU back-end, per-process VRAM via DRM fdinfo and full panel parity in v0.28.0, real VRAM on unified-memory APUs in v0.26.0, came from @andreahaku. v0.27.0's fleet-aware model registry and v0.23.0's maintenance windows came from @1HazyOne707. v0.27.0's RAPL CPU/DRAM power and v0.24.0's backend/ module-tree refactor came from @pehota. Docker inventory on Windows hosts, the AI Models Hall of Fame and drop-in locale discovery came from @haigou-web; the Chinese translation from @WaldInsel; llama.cpp context windows for the agent from @jmdjr. @pehota reviews most pull requests that come in. See the changelog for the full, ongoing credit trail.

License

MIT, see LICENSE.

Questions about HomeLab Monitor

What is the HomeLab Monitor MCP server?

Self-hosted homelab dashboard with a built-in read-only MCP server (hosts, Docker, GPU, services). HomeLab Monitor is maintained by SikamikanikoBG on GitHub at SikamikanikoBG/homelab-monitor, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the HomeLab Monitor MCP server?

Add HomeLab Monitor to your AI app's MCP config with the command docker run -i --rm -e HOMELAB_MONITOR_URL -e MCP_TRANSPORT docker.io/sikamikaniko123/homelab-monitor:0.14.2 python /app/mcp_server.py. In Claude Code, run claude mcp add --transport stdio homelab-monitor -- docker run -i --rm -e HOMELAB_MONITOR_URL -e MCP_TRANSPORT docker.io/sikamikaniko123/homelab-monitor:0.14.2 python /app/mcp_server.py. To run HomeLab Monitor this way you need Docker running.

Does HomeLab Monitor need an API key?

Yes. HomeLab Monitor expects HOMELAB_MONITOR_URL to be set. Create the key for HomeLab Monitor in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is HomeLab Monitor an official MCP server?

No. HomeLab Monitor is a community server maintained by SikamikanikoBG. Community servers can be excellent; read the code and the open issues before you give HomeLab Monitor access to company data.

What license is HomeLab Monitor under?

HomeLab Monitor is released under the MIT license, according to its GitHub repository. The license covers the code of HomeLab Monitor; the service it connects to has its own terms.