Skip to content

Using hive-mcp

Once the server is connected and logged in, just talk to your assistant about your home. This page shows what works well and explains how the tools behave, so you know what to expect.

How’s the house?

  • “How warm is the house?” (hive_get_overview)
  • “Is the heating on right now?”
  • “Is the back door shut?”
  • “Do any of my Hive devices need new batteries?” (hive_list_devices)

Heating and hot water

  • “What’s the heating schedule on weekdays?” (hive_get_heating_schedule)
  • “When does the hot water next come on?” (hive_get_hot_water)
  • “Boost the heating to 21 for an hour.” (writes)
  • “Put the bedroom radiator on 18 and keep it there.” (writes)
  • “Turn the hot water on for half an hour.” (writes)

Away and smart devices

  • “We’re away from the 20th to the 28th. Set holiday mode at 12 degrees, back on the 28th at lunchtime.” (writes)
  • “Is anything left on?” (hive_list_smart_devices)
  • “Turn the living room light down to 30%.” (writes)

These show the kind of back-and-forth to expect. Your assistant’s wording will differ.

You: It’s freezing in here. Can you warm the house up?

Assistant: The living room is 17.5 °C and the heating is following its schedule, which has it at 16 °C until 17:00. I could boost it to 21 °C for an hour; afterwards it goes back to the schedule. Shall I?

You: Yes please.

Assistant: Done. The heating is boosting to 21 °C for 60 minutes, and the boiler’s on.

Behind the scenes the assistant used hive_get_overview (or hive_get_heating), then hive_boost_heating. The warm_up prompt asks for exactly this flow.

You: /mcp__hive__hot_water_now 30

Assistant: The hot water is off and isn’t scheduled on again until 18:00, so I’ve boosted it for 30 minutes. It goes back to the schedule at 16:45.

You: We’re off to Cornwall from Saturday morning, back on the 28th around 6pm.

Assistant: I’d set holiday mode from Saturday 08:00 until the 28th at 16:00, holding 10 °C, so the house is warming up when you get back. The lamp plug is on; shall I switch it off too?

You: Yes to both.

Assistant: Holiday mode is set until 28 October 16:00 at 10 °C, and the lamp plug is off.

You: /mcp__hive__home_check

Assistant: All good, with one thing to do. Heating: living room 20.4 °C (target 20, schedule), bedroom 18.1 °C (TRV, target 18). Hot water is off until 18:00. To do: replace the bedroom radiator valve’s batteries (20%). The HomeShield keypad on your account is offline; Hive stopped supporting HomeShield in 2025, so you can remove it in the Hive app.

The server includes five prompts. Each one is a ready-made, multi-step request that tells the model which tools to use and how to report. Most clients show them as slash commands or in a prompt picker. In Claude Code they’re /mcp__hive__<name>, for example /mcp__hive__home_check.

Prompt Arguments What it does
home_check Temperatures, what the heating and hot water are doing, holiday mode, and a to-do list of low batteries, offline and discontinued devices. Doesn’t change anything.
warm_up temperature, minutes, zone (all optional) Checks the zone, shows you the boost it would start, and starts it after you agree.
hot_water_now minutes (optional, default 30) Boosts the hot water unless it’s already on or about to come on.
going_away leave (optional), return Suggests a holiday temperature and end time, and what to switch off, then sets it after you agree.
schedule_review Reviews the heating and hot water schedules for comfort and wasted energy, and suggests changes. With writes on, it applies the ones you agree to; otherwise you make them in the Hive app.

The prompts that change things (warm_up, hot_water_now and going_away) are only offered when writes are enabled, and ask first. A prompt is also left out when its toolset is turned off.

With HIVE_ALLOW_WRITES=true the assistant can change your heating, hot water, holiday mode, plugs and lights. The server tells the model to confirm changes with you first, and good clients also ask before running any tool that isn’t read-only. Every change comes back with what was sent and how the zone or device looks afterwards.

Every tool that changes something takes dry_run: true. The call is checked as usual (zone names, temperatures, dates, confirm), but nothing is sent. Instead you get the first request it would make, the current state of what it would change, and a field-by-field list of the changes:

{
"dry_run": true,
"would_send": {"method": "POST", "path": "/nodes/heating/<id>", "body": {"boost": 60, "mode": "BOOST", "target": 21}},
"current": {"boost": null, "mode": "SCHEDULE", "target": 19},
"changes": {"changed": {"boost": {"from": null, "to": 60}, "mode": {"from": "SCHEDULE", "to": "BOOST"}, "target": {"from": 19, "to": 21}}},
"note": "Nothing was changed: this was a dry run. ..."
}

would_send also has query when the request has a query string. A change that takes more than one request (a light’s brightness and colour temperature together) describes the first, and the note says how many more would follow.

Ask the assistant to “show me what you’d send first” to see one. Nothing is changed and the cache isn’t touched.

A heating zone (a Hive thermostat) or TRV zone (Hive radiator valves) has one of these modes, as in the Hive app:

Mode What it does
schedule Follows the weekly schedule. Setting a temperature in this mode lasts until the next scheduled change, like turning the thermostat dial.
manual Holds one temperature until changed.
off Heats only to protect against frost (usually 7 °C). Setting a temperature saves it but doesn’t heat.
boost Heats to a temperature for a set time (up to six hours), then goes back to the previous mode.
  • hive_set_heating_temperature sets the target; pass mode: manual to hold it.
  • hive_set_heating_mode switches mode, with an optional temperature for manual.
  • Manual mode lasts until something changes it, so switching to it, or changing the target of a zone that’s already in manual, needs confirm: true. The model is told to pass it only once you’ve agreed.
  • hive_boost_heating starts a boost (default 60 minutes); hive_cancel_heating_boost ends it early and restores the previous mode, and for manual or off, the previous temperature.

Temperatures are 5 °C up to HIVE_MAX_TEMP (25 °C unless you change it; Hive itself allows up to 32), in steps of 0.5, for every mode, boost and holiday mode. Anything else is refused before it reaches Hive. For a temporary change, prefer a boost: it can’t be forgotten.

The hot water is on (stays on), off, on its schedule, or boosting for a set time. hive_set_hot_water_mode switches between the first three, and hive_boost_hot_water and hive_cancel_hot_water_boost handle boosts. Like manual heating, on needs confirm: true.

With heat on demand, Hive radiator valves can turn the boiler on through the thermostat when their rooms are below target, even when the thermostat itself isn’t calling for heat. Hive shows this as a boost, which hive_get_heating reports with boost_reason: "heat on demand". hive_set_heat_on_demand turns it on or off for a heating zone with a thermostat.

hive_set_heating_schedule (for a heating zone or TRV zone) and hive_set_hot_water_schedule change the weekly schedule. In days, give the periods for just the days that change, keyed by day name or by weekdays, weekend or every_day; the other days keep their periods. Each day has one to six periods, each a start time (HH:MM, your home’s local time) and a temperature (heating) or on/off (hot water), lasting until the next period starts. Hive only takes a whole week at once, so hive-mcp sends the week with your changes and shows the schedule Hive then has. A zone only follows its schedule in schedule mode.

“Make the weekday heating 16 °C overnight, 20 °C from 6:30 to 8:30 and 21 °C from 17:00 to 22:30.”

hive_set_holiday_mode holds the heating at one temperature from a start time (default now) to an end time, given as YYYY-MM-DD or YYYY-MM-DDTHH:MM in your home’s local time. It can last at most 60 days, counted as calendar days in your home’s time zone. hive_cancel_holiday_mode ends it straight away.

Hive actions are the automations you set up in the Hive app, such as “when the back door opens, send me a notification”. hive_list_actions lists them, with what starts each one, any condition and what it does. hive_set_action turns one on or off. Actions can’t be run on demand, created or edited from hive-mcp.

hive_set_plug switches a plug on or off. hive_set_light switches a light on or off and sets brightness (5–100%, rounded to the nearest 5) and, for tuneable and colour bulbs, colour temperature in kelvin. For colour bulbs it also sets a colour as hue (0–359°) and saturation (0–100%), with brightness as the colour’s brightness; a value you leave out keeps its current setting. Setting a brightness, colour temperature or colour switches the light on.

Tools take a zone, plug or light by name (“Bedroom”, “living room”) or Hive’s ID. Names match without regard to case, and a unique part of a name is enough (“living” finds “Living room”). If there’s only one, you can leave it out. When a name is ambiguous or unknown, the error lists the choices.

Reading the whole home is one request to Hive, and hive-mcp reuses the result for HIVE_CACHE_SECONDS (30 seconds by default), so a conversation’s several tool calls don’t each ask Hive. Every change clears the cache. Read tools take fresh: true when you need the very latest reading, and raw: true for Hive’s full objects.

Hive itself only hears from devices every so often, so even a fresh reading can be a minute or two behind what’s on the thermostat. hive_list_devices shows when each device was last seen.

hive_api_request (toolset raw) calls any path of Hive’s API, such as /nodes/all, /devices or /actions. It’s a fallback for things the other tools don’t cover. Without HIVE_ALLOW_WRITES it only allows GET. With writes on it allows POST, PUT and DELETE too, with no validation, so it’s marked destructive. It isn’t part of HIVE_TOOLSETS=all (the default): add it by name, for example all,raw. The account’s user profile (name, email, phone, address) is redacted from what it returns.

  • Name the room. “The bedroom” is clearer than “upstairs” when there’s more than one zone.
  • Say how long. “For an hour” leads to a boost rather than a change that sticks.
  • Ask for a plan first. For changes, “What would you do? Don’t do it yet.” then “go ahead”.
  • Fewer tools, better focus. If the assistant picks the wrong tools, narrow HIVE_TOOLSETS.
  • Check on it. Hive can take a minute to show a change; ask again with “check again” (which uses fresh: true) if something looks stale.