Leo Semenenko/openhue-mcp-server
Built by Metorial, the integration platform for agentic AI.
Leo Semenenko/openhue-mcp-server
Server Summary
Control Philips Hue lights
Setup Hue Bridge connection
Execute commands via OpenHue CLI
An MCP server that enables control of Philips Hue lights through Claude and other LLM interfaces using the OpenHue CLI.
Before using the server, you need to set up the OpenHue CLI with your Hue Bridge:
# On Linux/macOS:
docker run -v "${HOME}/.openhue:/.openhue" --rm --name=openhue -it openhue/cli setup
# On Windows (PowerShell):
docker run -v "${env:USERPROFILE}\.openhue:/.openhue" --rm --name=openhue -it openhue/cli setup
Follow the on-screen instructions:
Verify the setup by listing your lights:
# On Linux/macOS:
docker run -v "${HOME}/.openhue:/.openhue" --rm --name=openhue -it openhue/cli get lights
# On Windows (PowerShell):
docker run -v "${env:USERPROFILE}\.openhue:/.openhue" --rm --name=openhue -it openhue/cli get lights
If you see your lights listed, the setup is complete and you're ready to use the MCP server.
git clone
cd claude-mcp-openhue
npm install
npm run build
npm start
This server exposes the following capabilities through MCP:
Open your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add the server configuration:
{
"mcpServers": {
"hue": {
"command": "node",
"args": ["/absolute/path/to/build/index.js"]
}
}
}
Restart Claude Desktop
Look for the hammer icon to verify the server is connected
Once connected, you can ask Claude natural language questions like:
Lists all lights or gets details for specific lights
{
lightId?: string; // Optional light ID or name
room?: string; // Optional room name filter
}
Controls individual lights
{
target: string; // Light ID or name
action: "on" | "off";
brightness?: number; // 0-100
color?: string; // Color name
temperature?: number; // 153-500 Mirek
}
Lists all rooms or gets specific room details
{
roomId?: string; // Optional room ID or name
}
Controls all lights in a room
{
target: string; // Room ID or name
action: "on" | "off";
brightness?: number;
color?: string;
temperature?: number;
}
Lists available scenes
{
room?: string; // Optional room name filter
}
Activates a specific scene
{
name: string; // Scene name or ID
room?: string; // Optional room name
mode?: "active" | "dynamic" | "static";
}
.
├── src/
│ └── index.ts # Main server implementation
├── build/ # Compiled JavaScript
├── package.json
├── tsconfig.json
└── README.md
npm run build
npm start
MIT License