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.
Install
npx -y ccu-mcp@1.11.7Environment variables
CCU_HOSTSet in your MCP configCCU_PASSWORDSet in your MCP configCCU_USERSet in your MCP configCCU_HTTPSSet in your MCP configCCU_PORTSet in your MCP configCACHE_DIRSet in your MCP configMCP_ALLOWED_ORIGINSSet in your MCP configMCP_ALLOWED_HOSTSSet in your MCP configCCU_PROFILESSet in your MCP configCCU_DEFAULT_PROFILESet in your MCP configCCU_TLS_VERIFYSet in your MCP configCCU_TLS_FINGERPRINTSet in your MCP configCCU_CA_CERTSet in your MCP configCCU_TIMEOUTSet in your MCP configCCU_SCRIPT_TIMEOUTSet in your MCP configCACHE_TTLSet in your MCP configCCU_RATE_LIMIT_BURSTSet in your MCP configCCU_RATE_LIMIT_RATESet in your MCP configRESOURCE_POLL_INTERVALSet in your MCP configLOG_LEVELSet in your MCP configInstall with your client
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.
Add this badge to your README
Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.
[](https://clauderules.net/mcp/io-github-claymore666-ccu-mcp)<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>More API MCP servers
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
Figma-Context-MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
