olympia-thermostat-mcp
olympia-thermostat-mcp
MCP server and small CLI for Olympia Electronics Wi-Fi thermostats (BS-850 / BS-851). It talks to the cloud API the Olympia mobile app uses. That API is unofficial and may change.
Standard library only (Python 3.9+). No install step.
Tools
Tool | What it does |
| Mode, room temperature, setpoint, burner, hot-water boiler, online. Read-only. |
| Target temperature, 5 to 30 °C. |
| Heating |
| Hot-water boiler output on or off. |
Writes send the full settings and keep the fields you did not change. Every tool takes an
optional device (id or name), needed only when the account has several thermostats.
Related MCP server: Smartlife Tuya MCP Server
Credentials
Only from the environment, never printed, logged or returned by a tool:
OLYMPIA_EMAIL,OLYMPIA_PASSWORD: your Olympia app login.OLYMPIA_DEVICE(optional): default thermostat id or name.
MCP client config
{
"mcpServers": {
"olympia-thermostat": {
"command": "python3",
"args": ["/path/to/olympia-thermostat-mcp/olympia_mcp.py"],
"env": { "OLYMPIA_EMAIL": "...", "OLYMPIA_PASSWORD": "..." }
}
}
}The server speaks MCP over stdio (newline-delimited JSON-RPC).
CLI
python3 olympia.py status
python3 olympia.py temp 21.5
python3 olympia.py mode heat|off
python3 olympia.py boiler on|off
python3 olympia.py --dry-run temp 21.5 # show what would be sent, send nothingTests
python3 -m unittest test_olympia test_mcp runs the CLI and the MCP server against a local fake API.
API calls are based on the MIT-licensed ncmarks/homeassistant-olympia-electronics.
Available Tools
4 toolsset_boilerA
Turn the hot-water boiler output on or off. Other settings are kept.
Inputs: on (required), device.
set_modeA
Turn heating on (heat) or off. Other settings are kept.
Inputs: mode (required), device.
set_temperatureB
Set the target temperature in °C (5 to 30). Other settings are kept.
Inputs: celsius (required), device.
statusARead-only
Read the thermostat state: mode, room temperature, setpoint, burner, hot-water boiler, online. Read-only.
Inputs: device.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a clearly distinct function: read-only state (status), temperature setpoint (set_temperature), heating mode (set_mode), and hot-water boiler output (set_boiler). The descriptions explicitly separate mode/heat from boiler control and note that other settings are preserved, so an agent can choose correctly without guessing.
Three of four tools follow a clean set_<attribute> pattern (set_temperature, set_mode, set_boiler), which is predictable and readable. The lone read tool is named 'status' rather than something parallel like get_status, a minor but harmless deviation.
Four tools is well-matched to the narrow scope of a single thermostat: read state plus three independent write operations. Nothing is redundant and nothing feels padded.
The core control and observability lifecycle (read status, setpoint, mode, boiler) is fully covered with no dead ends for basic operation. Minor gaps remain for likely adjacent features such as schedules/absence overrides or a boost/timer, but agents can work around these with the existing tools.
Maintenance
Related MCP Connectors
QuLab MCP remote server (Streamable HTTP) for computational science and lab tools.
MCP server wrapping the Tesla Fleet API and TeslaMate API
An MCP server that measures MCP client behaviour and converts EBCDIC to ASCII, which nobody needs.
Related MCP Servers
- AlicenseAqualityCmaintenanceImplementation of MCP server for GoodWe inverters15Apache 2.0
- FlicenseNot gradedqualityDmaintenanceLocal MCP server for reading temperature/humidity sensors from Tuya/SmartLife devices, exposing tools to list devices, get capabilities, and read sensor data.-
- AlicenseAqualityDmaintenanceLocal MCP server for controlling Midea air conditioners via LAN or cloud, providing tools for device management and state control.65MIT
- AlicenseAqualityBmaintenanceMCP server for the entire Shelly smart-home ecosystem, enabling local-first control, automation, and energy monitoring of Shelly devices with cloud fallback.4741 PyPI2MIT