emsesp-mcp-server

emsesp-mcp-server

Enables LLM applications to query and visualize data from Bosch/Buderus heat pumps via ems-ESP, including temperatures, statistics, and heat curves through natural language.

Category
Visit Server

README

<div align="center"> <img src="images/logo.png" alt="Logo" width="100" height="100"> <h2>MCP Server for Bosch/Buderus heat pumps</h2> <p>LLM-powered chat for your heat pump</p>

Latest Release Tests

</div>


<div align="center"> <img src="https://i.ibb.co/G4qzST84/claude-desktop-dhw-cop.gif" width="672" alt="Get dhw temperature and COP of preparation" /> <p>Get hot water temperature and COP of preparation</p> </div>


<div align="center"> <img src="https://i.ibb.co/NdYDgCPy/Claude-show-heat-curve-small.gif" alt="Get graph of configured heat curve" /> <p>Get graph of configured heat curve</p> </div>

📔 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

  1. Download latest emsesp-mcp-server.dxt file
  2. Open Settings in Claude Desktop
  3. Go to Extensions and drag the DXT file into the window
  4. Press Install
  5. Change the URL of your EMS-ESP gateway if necessary
  6. 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%.log
  • EMS_ESP_URL (http://ems-esp): Base URL of the EMS-ESP gateway
  • ENTITIES_CONFIG_PATH (./entities.json): Path to the entity configuration file
  • TAGS_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 at ENTITIES_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 entity.json:

"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 entity.json 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

📄 License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured