Control Philips Hue lights via Bluetooth LE — no bridge required.
An MCP server that lets Claude control Philips Hue lights via Bluetooth LE — no Hue Bridge or internet connection required.
Just ask Claude things like:
| Tool | Description |
|---|---|
scan_hue_lights | Discover nearby Hue BLE lights and get their addresses |
turn_on | Turn a light on |
turn_off | Turn a light off |
set_brightness | Set brightness 1–100% |
set_color_temperature | Set white color temperature (2000K warm → 6500K cool) |
set_color | Set RGB color |
get_light_state | Read current power, brightness, and color mode |
set_scene | Apply a preset: relax, energize, concentrate, reading, nightlight, bright |
pip install hue-ble-mcp
Then add to your ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"hue-ble": {
"command": "hue-ble-mcp",
"env": {
"HUE_LIGHT_ADDRESS": ""
}
}
}
}
git clone https://github.com/jonnyblankinship/hue-ble-mcp.git
cd hue-ble-mcp
python3 -m venv venv
./venv/bin/pip install -r requirements.txt
Then add to your claude_desktop_config.json:
{
"mcpServers": {
"hue-ble": {
"command": "/absolute/path/to/hue-ble-mcp/venv/bin/python",
"args": ["/absolute/path/to/hue-ble-mcp/server.py"],
"env": {
"HUE_LIGHT_ADDRESS": ""
}
}
}
}
Hue BLE lights need to be in pairing mode the first time you connect. The easiest way is to reset the light via the Hue app (Settings → Light setup → select light → Delete), which puts it back into factory pairing mode.
After the first successful connection, macOS remembers the bond and you won't need to do this again.
Restart Claude Desktop, then ask:
"Scan for my Hue lights"
Claude will return something like:
[
{
"name": "Signe gradient floor",
"address": "77577FFA-2F08-CAFD-5F3C-5C1824D8C362"
}
]
On macOS, addresses are UUIDs (not MAC addresses). This is normal — CoreBluetooth assigns its own identifiers.
Paste the address into HUE_LIGHT_ADDRESS in your config and restart Claude Desktop. From then on, you don't need to specify the address in every command.
"env": {
"HUE_LIGHT_ADDRESS": "77577FFA-2F08-CAFD-5F3C-5C1824D8C362"
}
Philips Hue lights broadcast over Bluetooth LE using a proprietary but well-documented GATT profile. This server writes directly to those GATT characteristics using bleak, bypassing the need for a Hue Bridge or the Hue cloud entirely.
Key characteristics used:
| UUID | Function |
|---|---|
932c32bd-0002-... | Power (on/off) |
932c32bd-0003-... | Brightness |
932c32bd-0004-... | Color temperature (mireds) |
932c32bd-0005-... | XY color (CIE 1931) |
RGB colors are converted to CIE 1931 XY space using the wide RGB D65 gamut matrix before being sent to the light.
HUE_LIGHT_ADDRESS to your primary light for convenience.MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx hue-ble-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-jonnyblankinship-hue-ble-mcp": {
"command": "uvx",
"args": [
"hue-ble-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencehue-ble-mcppypiHue BLE MCP works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.