hive-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HIVE_MAX_TEMP | No | The highest heating target the assistant may set, in °C: 5 to 32 in steps of 0.5. | 25 |
| HIVE_PASSWORD | Yes | Your Hive password, used to log in and to log in again by itself as a remembered device. | |
| HIVE_TOOLSETS | No | Optional comma-separated toolsets to expose fewer tools, e.g. home,heating,hotwater. Empty means all but raw. | |
| HIVE_USERNAME | Yes | The email address you log in to the Hive app with. | |
| HIVE_AUDIT_LOG | No | Optional audit log of every change and login: stderr, or a file on the volume such as /data/audit.jsonl. | |
| HIVE_ALLOW_WRITES | No | Allow changes to your home: heating, boosts, hot water, holiday mode, plugs and lights. Off means read-only. | false |
| HIVE_ALLOW_LOGIN_TOOLS | No | Let the assistant log in for you with an SMS code (hive_auth_start and hive_auth_complete). | true |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for Hive (British Gas's smart heating, unofficial): heating zones (Hive thermostats), radiator valves (TRVs), hot water, holiday mode, smart plugs, lights and sensors in the user's home. Start with hive_get_overview for a snapshot. List tools (and hive_get_heating) return {total, returned, items}. If a tool says the server isn't logged in, tell the user to run hive-mcp login. Temperatures are in °C; heating targets go from 5 to 25 in steps of 0.5 (HIVE_MAX_TEMP). Holiday mode lasts at most 60 days. Times are in the home's local time. Readings can be up to HIVE_CACHE_SECONDS old; pass fresh: true when it matters. Write tools are enabled and act on a real home: confirm changes with the user (which zone, temperature, mode and for how long) before making them, prefer a boost over manual mode or hot water on for a temporary change (manual and on last indefinitely and need confirm: true, which you should only pass once the user has agreed), and never turn heating off or set holiday mode without being asked. Every tool that changes something accepts dry_run: true, which checks the call and returns the first request it would send to Hive, with the current state and the fields that would change, without sending anything; use it to show the user a change before making it.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| hive_boost_heatingA | Boost a zone: heat to a temperature for a number of minutes, then go back to the previous mode. Replaces any boost already running. |
| hive_boost_hot_waterA | Heat the hot water now for a number of minutes, then go back to the previous mode. |
| hive_cancel_heating_boostA | Stop a zone's boost early and go back to the mode (and, for manual or off, the temperature) it had before. |
| hive_cancel_holiday_modeA | Cancel holiday mode, so the heating and hot water go back to their normal settings straight away. |
| hive_cancel_hot_water_boostA | Stop a hot water boost early and go back to the previous mode. |
| hive_get_auth_statusA | Show whether this server is logged in to Hive: the account (with the email address masked), whether this server is a remembered device (so it can log in again without an SMS code), when the current token expires and any login error. Never shows passwords, tokens or device secrets. |
| hive_get_heatingB | Show the heating: for each heating zone (a Hive thermostat) and TRV zone (Hive radiator valves), the current temperature, target temperature, mode (schedule, manual, off or boost), boost time left, whether it's calling for heat, what the schedule asks for now and next, and thermostat or valve batteries. |
| hive_get_heating_scheduleA | Show a zone's weekly heating schedule: for each day, the periods and the target temperature for each, in the home's local time. Also says what the schedule asks for now and when it next changes. |
| hive_get_holiday_modeA | Show whether holiday mode is set: when it starts and ends and the temperature the heating holds while you're away. |
| hive_get_hot_waterA | Show the hot water: whether it's heating now, the mode (schedule, on, off or boost), boost time left, and what the schedule asks for now and next. |
| hive_get_hot_water_scheduleA | Show the weekly hot water schedule: for each day, when the hot water is on and off, in the home's local time. |
| hive_get_overviewA | A one-call snapshot of the home: every heating zone and TRV zone (current and target temperature, mode, boost, whether it's calling for heat), the hot water, plugs, lights and sensors, holiday mode, and anything that needs attention: low batteries, offline devices and discontinued hardware. A good first call. |
| hive_list_actionsA | List the Hive actions (automations set up in the Hive app, such as "when the back door opens, send a notification"): each one's name, whether it's on, and its events: what starts it (when), any condition (while) and what it does (then), with the devices involved. |
| hive_list_devicesA | List the Hive hardware: hub, thermostats, boiler module, radiator valves (TRVs), plugs, bulbs and sensors, with online status, battery level, signal strength, model and firmware. Filter by type, low battery or offline. |
| hive_list_smart_devicesA | List Hive smart plugs (on or off, power use), lights (on or off, brightness, colour temperature) and sensors (window and door sensors open or closed, motion sensors), with online status and batteries. |
| hive_list_trvsA | List the Hive radiator valves (TRVs) by zone: each zone's temperature, target and mode, and each valve's battery, signal, online status, calibration, mounting and child lock. |
| hive_set_actionA | Turn a Hive action (an automation from the Hive app) on or off. This doesn't run it: an action that's on runs when its trigger happens. Actions can only be created or edited in the Hive app. |
| hive_set_heat_on_demandA | Turn heat on demand on or off for a heating zone. With it on, Hive radiator valves can turn the boiler on through this zone when their rooms are below target, even when the thermostat isn't calling for heat (Hive shows this as a boost with boost_reason "heat on demand"). The setting stays until changed. |
| hive_set_heating_modeA | Switch a zone between schedule (follow the weekly schedule), manual (hold one temperature) and off (frost protection only). Cancels a boost. Manual lasts indefinitely, so it needs confirm: true; prefer hive_boost_heating for a temporary change. |
| hive_set_heating_scheduleA | Change a heating zone's or TRV zone's weekly schedule. In days, give the periods for the days that change, keyed by day or by weekdays, weekend or every_day (a day wins over a group); other days keep their current periods. Each day has 1 to 6 periods, each a start time (HH:MM, home's local time) and a target temperature, lasting until the next period starts (before a day's first period, the previous day's last one carries on). This replaces those days' schedule for good, so show the user the new periods and get their go-ahead first. The zone only follows it in schedule mode. |
| hive_set_heating_temperatureA | Set a zone's target temperature. In schedule mode this lasts until the next scheduled change, like turning the thermostat dial; pass mode=manual to hold it. If the zone is off, the target is saved but nothing heats until the mode changes. Holding a temperature in manual mode (mode=manual, or a zone that is already in manual) lasts indefinitely, so it needs confirm: true; prefer hive_boost_heating for a temporary change. |
| hive_set_holiday_modeA | Set holiday mode: from start (default now) until end, the heating holds one temperature, then the normal settings resume. It lasts at most 60 days. Replaces any holiday mode already set. Confirm the dates and temperature with the user first. |
| hive_set_hot_water_modeA | Switch the hot water on (it stays on until changed), off, or back to its schedule. Cancels a boost. For a limited time, use hive_boost_hot_water instead of on. On lasts indefinitely, so it needs confirm: true. |
| hive_set_hot_water_scheduleA | Change the weekly hot water schedule. In days, give the periods for the days that change, keyed by day or by weekdays, weekend or every_day (a day wins over a group); other days keep their current periods. Each day has 1 to 6 periods, each a start time (HH:MM, home's local time) and on or off, lasting until the next period starts (before a day's first period, the previous day's last one carries on). This replaces those days' schedule for good, so show the user the new periods and get their go-ahead first. The hot water only follows it in schedule mode. |
| hive_set_lightA | Switch a Hive light on or off, and set its brightness, its white colour temperature (tuneable and colour bulbs) or its colour as hue and saturation (colour bulbs). |
| hive_set_plugA | Switch a Hive smart plug on or off. Check what's plugged in with the user before switching it off. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| going_away | Set the home up for a trip: holiday mode with a frost-safe temperature, and a check of anything left on. |
| home_check | A quick check of the home: temperatures, what the heating and hot water are doing, holiday mode, and any low batteries or offline devices. |
| hot_water_now | Get hot water for a bath or shower: check whether it's already on and boost it if not. |
| schedule_review | Review the heating and hot water schedules for comfort and wasted energy, and suggest changes. |
| warm_up | Boost the heating to a comfortable temperature for a while, checking the current state first. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 26 tools
Most tools have a clearly distinct resource+action purpose, and descriptions make the intended use clear. Some overlap exists between hive_list_devices, hive_list_smart_devices and hive_list_trvs (all list hardware from different angles), and hive_set_heating_mode vs hive_set_heating_temperature with mode=manual can both put a zone in manual mode, but the descriptions provide enough guidance to pick correctly.
All 26 tools follow a single, predictable convention: hive_ prefix plus a verb_noun pattern (get_, set_, list_, boost_, cancel_). Even less common operations like hive_set_heat_on_demand fit the pattern, and there is no mixing of styles.
At 26 tools the surface is on the heavy side, just over the 'borderline' 16-25 range. The domain is genuinely broad (heating, hot water, schedules, holiday mode, devices, actions, lights/plugs, auth/overview), and each tool appears to earn its place, but the count is larger than ideal for easy agent navigation.
Core lifecycle operations are well covered: reading state, setting modes/temperatures/schedules, boosting and cancelling boosts, holiday mode, device listing, lights/plugs, and actions on/off. Minor gaps remain—actions cannot be created or edited (deliberately deferred to the Hive app), and there are no tools to rename/remove devices or adjust TRV calibration/child lock—but these are workable limitations rather than dead ends.