bosch-buderus-wp/emsesp-mcp-server
If you are the rightful owner of emsesp-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The EMS-ESP MCP Server integrates Bosch/Buderus heat pumps with LLM clients using the Model Context Protocol.
Get hot water temperature and COP of preparation
Get graph of configured heat curve
📔 Table of Contents
🚀 About
With this Model Context Protocol (MCP) server, you can integrate your Bosch CS5800/6800i or Buderus WLW176/186i heat pump via ems-esp into a Large Language Model (LLM) Application such as Claude Desktop.
Then shoot your prompts like so:
- Is hot water preparation running right now?
- What's the current outdoor temperature?
- How warm is the domestic hot water at the moment?
- How much electricity is my heat pump currently using?
- What's the COP (Coefficient of Performance) for hot water preparation?
The LLM will select the necessary Tools provided by the MCP server to answer the question.
Or you can simply use the built-in Prompts provided by the MCP server:
/show-dhw-settings
to get all settings for domestic hot water preparation in table format/show-heat-curve
to show the configured heat curve as a graph- ... more to come soon - stay tuned! 👀
✍️ Integration in LLM Application
This MCP server works with any LLM application which supports Tools. I've verified it end-to-end on the Claude Desktop App which supports easy one-click installation.
Install in Claude Desktop App with DXT file
- Download latest emsesp-mcp-server.dxt file
- Open
Settings
in Claude Desktop - Go to
Extensions
and drag the DXT file into the window - Press
Install
- Change the URL of your EMS-ESP gateway if necessary
- Close the window and start chatting with your heat pump 💬
Manual installation
Go to the settings file of your LLM application, for instance .vscode/mcp.json
for Github Copilot, and add the following configuration:
"emsesp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"github:bosch-buderus-wp/emsesp-mcp-server"
],
"env": {
"EMS_ESP_URL": "http://ems-esp"
}
}
⚙️ Configuration
LOG_LEVEL
(info): The log level of the logs which get written to ~/.emsesp-mcp/server-%DATE%.logEMS_ESP_URL
(http://ems-esp): Base URL of the EMS-ESP gatewayENTITIES_CONFIG_PATH
(./entities.json): Path to the entity configuration fileTAGS_AS_TOOLS
(statistics,temperatures,states,settings,pumps,eheater): comma-separated list of tags. Each tag gets exposed as a separate tool. Each tool provides all entities which are tagged with the respective tag in the config file stored atENTITIES_CONFIG_PATH
.
🛠️ Available Tools
The MCP server in the current initial version provides read-only Tools which can be chosen by the LLM according to its needs. To reduce token size in the response and reduce irrelevant noise in the response, the huge list of entities provided by EMS-ESP has been reduced to a meaningful minimum and structured into groups with entities for similar categories like statistics or temperatures. To support the LLM in selecting the right tool and interpreting the response correctly - hopefully with as little hallucinations as possible, tools and the returned entities are well described.
Each entity of EMS-ESP has a list of tags
in :
"dhw.nrg": {
"title": "Total heat energy generated for hot water",
"tags": ["statistics", "energy", "dhw", "prod-nrg"]
},
All entities associated to a tag are exposed with the respective MCP tool.
If you want to add more entities, copy and add your additional entities.
Then you can use the modified file in the MCP server via the environment variable ENTITIES_CONFIG_PATH
=<path-to-modified-file>.
👓 Outlook
- More entities and prompts
- Tools to set room temperature, start desinfection, enable PV surplus, adapt dhw settings, ...
- Resources providing more context on the topic