
Hue BLE MCP
io.github.jonnyblankinship由 GitHub 帳號 jonnyblankinship 發布v0.1.3更新於 Oct 24, 2026
Control Philips Hue lights via Bluetooth LE — no bridge required.
概覽
一個本機 MCP 伺服器,讓助理透過藍牙低功耗控制飛利浦 Hue 燈,不需要 Hue 橋接器或網際網路連線。
- 可以做什麼
- 掃描附近的 Hue 藍牙燈,取得其位址以及目前開關、亮度和顏色模式。開啟或關閉燈。設定亮度、白光色溫或 RGB 顏色。套用放鬆、提振、閱讀、夜燈等預設情境。
- 適用情境
- 適合想透過對話開關、調暗或改變 Hue 藍牙燈顏色,且沒有 Hue 橋接器或雲端帳號的情況。適用於附近有支援藍牙的 Hue 燈的 macOS 使用者。
- 執行需求
- 以 Python 套件形式在本機執行(Python 3.10+),僅限 macOS,透過 bleak 使用 CoreBluetooth;不支援 Windows,Linux 未測試。需要約 10 公尺內支援藍牙的 Hue 燈、Claude Desktop,可選設定 HUE_LIGHT_ADDRESS 環境變數指定預設燈。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Hue BLE MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
hue-ble-mcp
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:
- "Turn off the light"
- "Set the light to a warm reading mode"
- "Make it a deep blue"
- "Dim it to 20%"
Tools
Requirements
- macOS (uses CoreBluetooth via bleak)
- Python 3.10+
- A Philips Hue light with Bluetooth support (most lights made after 2019)
- Claude Desktop
Installation
Option 1: pip (recommended)
Then add to your ~/Library/Application Support/Claude/claude_desktop_config.json:
Option 2: Clone and run
Then add to your claude_desktop_config.json:
First-time setup
1. Pair your light
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.
2. Find your light's address
Restart Claude Desktop, then ask:
"Scan for my Hue lights"
Claude will return something like:
On macOS, addresses are UUIDs (not MAC addresses). This is normal — CoreBluetooth assigns its own identifiers.
3. Set the default address
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.
How it works
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:
RGB colors are converted to CIE 1931 XY space using the wide RGB D65 gamut matrix before being sent to the light.
Limitations
- macOS only — Linux should work too but is untested. Windows is not supported.
- Bluetooth range — must be within ~10m of the light.
- One adapter per light — the light bonds to the Bluetooth adapter used during first pairing. A different Mac won't be able to connect without re-pairing.
- Multiple lights — supported, just call each tool with the specific address. Set
HUE_LIGHT_ADDRESSto your primary light for convenience.
License
MIT
來源:README.md,提交 2289429
工具
0版本歷史
1- v0.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分