Back to MCP Servers
🧩

MCP server for controlling HomeMatic smart home devices via the CCU JSON-RPC API

To add ccu-mcp to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 20 environment variables, listed below.

APIDevTools

Install

npx -y ccu-mcp@1.11.7

Environment variables

CCU_HOSTSet in your MCP config
CCU_PASSWORDSet in your MCP config
CCU_USERSet in your MCP config
CCU_HTTPSSet in your MCP config
CCU_PORTSet in your MCP config
CACHE_DIRSet in your MCP config
MCP_ALLOWED_ORIGINSSet in your MCP config
MCP_ALLOWED_HOSTSSet in your MCP config
CCU_PROFILESSet in your MCP config
CCU_DEFAULT_PROFILESet in your MCP config
CCU_TLS_VERIFYSet in your MCP config
CCU_TLS_FINGERPRINTSet in your MCP config
CCU_CA_CERTSet in your MCP config
CCU_TIMEOUTSet in your MCP config
CCU_SCRIPT_TIMEOUTSet in your MCP config
CACHE_TTLSet in your MCP config
CCU_RATE_LIMIT_BURSTSet in your MCP config
CCU_RATE_LIMIT_RATESet in your MCP config
RESOURCE_POLL_INTERVALSet in your MCP config
LOG_LEVELSet in your MCP config

Install with your client

Terminal
claude mcp add ccu --env CCU_HOST=<YOUR_CCU_HOST> --env CCU_PASSWORD=<YOUR_CCU_PASSWORD> --env CCU_USER=<YOUR_CCU_USER> --env CCU_HTTPS=<YOUR_CCU_HTTPS> --env CCU_PORT=<YOUR_CCU_PORT> --env CACHE_DIR=<YOUR_CACHE_DIR> --env MCP_ALLOWED_ORIGINS=<YOUR_MCP_ALLOWED_ORIGINS> --env MCP_ALLOWED_HOSTS=<YOUR_MCP_ALLOWED_HOSTS> --env CCU_PROFILES=<YOUR_CCU_PROFILES> --env CCU_DEFAULT_PROFILE=<YOUR_CCU_DEFAULT_PROFILE> --env CCU_TLS_VERIFY=<YOUR_CCU_TLS_VERIFY> --env CCU_TLS_FINGERPRINT=<YOUR_CCU_TLS_FINGERPRINT> --env CCU_CA_CERT=<YOUR_CCU_CA_CERT> --env CCU_TIMEOUT=<YOUR_CCU_TIMEOUT> --env CCU_SCRIPT_TIMEOUT=<YOUR_CCU_SCRIPT_TIMEOUT> --env CACHE_TTL=<YOUR_CACHE_TTL> --env CCU_RATE_LIMIT_BURST=<YOUR_CCU_RATE_LIMIT_BURST> --env CCU_RATE_LIMIT_RATE=<YOUR_CCU_RATE_LIMIT_RATE> --env RESOURCE_POLL_INTERVAL=<YOUR_RESOURCE_POLL_INTERVAL> --env LOG_LEVEL=<YOUR_LOG_LEVEL> -- npx -y ccu-mcp@1.11.7

Run this in a terminal to add the server to Claude Code.

What this does

ccu-mcp exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

CCU_HOST
CCU_PASSWORD
CCU_USER
CCU_HTTPS
CCU_PORT
CACHE_DIR
MCP_ALLOWED_ORIGINS
MCP_ALLOWED_HOSTS
CCU_PROFILES
CCU_DEFAULT_PROFILE
CCU_TLS_VERIFY
CCU_TLS_FINGERPRINT
CCU_CA_CERT
CCU_TIMEOUT
CCU_SCRIPT_TIMEOUT
CACHE_TTL
CCU_RATE_LIMIT_BURST
CCU_RATE_LIMIT_RATE
RESOURCE_POLL_INTERVAL
LOG_LEVEL

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install ccu-mcp?

Run the Claude Code command in the install section to add ccu-mcp to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with ccu-mcp?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to ccu-mcp as well.

Does ccu-mcp need an API key?

Yes. Before it can run, set these environment variables: CCU_HOST, CCU_PASSWORD, CCU_USER, CCU_HTTPS, CCU_PORT, CACHE_DIR, MCP_ALLOWED_ORIGINS, MCP_ALLOWED_HOSTS, CCU_PROFILES, CCU_DEFAULT_PROFILE, CCU_TLS_VERIFY, CCU_TLS_FINGERPRINT, CCU_CA_CERT, CCU_TIMEOUT, CCU_SCRIPT_TIMEOUT, CACHE_TTL, CCU_RATE_LIMIT_BURST, CCU_RATE_LIMIT_RATE, RESOURCE_POLL_INTERVAL, LOG_LEVEL. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-claymore666-ccu-mcp)](https://clauderules.net/mcp/io-github-claymore666-ccu-mcp)
HTML
<a href="https://clauderules.net/mcp/io-github-claymore666-ccu-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-claymore666-ccu-mcp" alt="Listed on clauderules.net" /></a>