1. Conduid
  2. Automation
  3. Openhue CLI
MCP server · Automation

Openhue CLI

OpenHue CLI is a command-line interface for interacting with Philips Hue smart lighting systems.

Unclaimed Apache-2.0 last commit 6 months ago cobra-clicliopenhuegolangautomationphilips-hue
77Good

Scored 3 hours ago · breakdown

About Openhue CLI

Openhue CLI is an MCP server published by openhue in the Automation category: openHue CLI is a command-line interface for interacting with Philips Hue smart lighting systems. It has been installed 0 times through Conduid.

The repository has 109 stars and 15 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx openhue-cli

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Openhue CLI

Powered by Claude · Grounded in docs

I know everything about Openhue CLI. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

0.240.24 · 12 May 2026What's Changed New Features feat: add shell completion commands by @AbdelrahmanHafez in https://github.com/openhue/openhue-cli/pull/116 Dependencies Bump github.com/mark3labs/mcp-go from 0.43.2 to 0.44.1 by @dependabot[bot] in…
0.230.23 · 21 Jan 2026What's Changed Update README.md by @cheesetosti in https://github.com/openhue/openhue-cli/pull/97 Fix code quality issues and improve maintainability by @thibauult in https://github.com/openhue/openhue-cli/pull/101 Add MCP server command…
0.22.10.22.1 · 12 Jan 2026What's Changed Fix logger crash on fresh install with empty config by @kristjaningi in https://github.com/openhue/openhue-cli/pull/100 New Contributors @kristjaningi made their first contribution in…
0.220.22 · 1 Jan 2026What's Changed set the log level from the config file by @pantelm in https://github.com/openhue/openhue-cli/pull/92 New Contributors @pantelm made their first contribution in https://github.com/openhue/openhue-cli/pull/92 Full Changelog**:…
0.210.21 · 2 Nov 2025What's Changed Bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by @dependabot[bot] in https://github.com/openhue/openhue-cli/pull/84 Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 by @dependabot[bot] in…

README

OpenHue CLI

Build CodeQL Maintainability with Code Climate Test Coverage Docker Image Size (tag)

Overview

OpenHue CLI is a command-line interface for interacting with Philips Hue smart lighting systems. This tool provides a convenient way to control your Philips Hue lights and perform various tasks using the command line.

How to setup OpenHue CLI

Features

  • Discover and connect to Philips Hue bridges.
  • List available lights and their status.
  • Control lights: on, off, brightness, and color.
  • Schedule light actions.
  • MCP Server: Enable AI assistants to control your lights.

For a complete list of features and usage, please refer to the OpenHue CLI online documentation.

MCP Server (AI Integration)

OpenHue CLI includes a built-in Model Context Protocol (MCP) server that allows AI assistants like Claude to control your Philips Hue lights through natural language.

Available Tools

Tool Description
list_lights List all lights with optional room filter
list_rooms List all rooms with status and brightness
list_scenes List all scenes with optional room filter
set_light Control a light (on/off, brightness, color, temperature)
set_room Control all lights in a room
activate_scene Activate a scene with optional dynamic mode

Setup with Claude Desktop

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\\Claude\\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "openhue": {
      "command": "openhue",
      "args": ["mcp"]
    }
  }
}

Once configured, you can ask Claude things like:

  • "Turn on the living room lights"
  • "Set the bedroom to 50% brightness"
  • "Activate the Relax scene"
  • "What lights are currently on?"

Getting Started

To begin developing with Open-Hue's OpenAPI specification, follow these steps:

Prerequisites

Before you start, ensure that you have the following prerequisites installed:

  • Golang that is used to build and run the project
  • GoReleaser that is used to build and release the binaries. Used behind the scene when running the make build command
  • oapi-codegen (optional) that is used to generate the client code from the openhue-api specification. Used behind the scene when running the make generate command
  • Docker (optional) that is used to build the CLI Docker Image and run it as a container

Fork the Repository

Before contributing to OpenHue CLI, it's a good practice to fork the repository to your own GitHub account. This will create a copy of the project that you can work on independently.

Build

  1. Clone the OpenHue CLI repository to your local machine:
git clone https://github.com/openhue/openhue-cli.git
cd openhue-cli
  1. Run the following command to build OpenHue CLI on your local environment:
make build

Test

Run the following command to execute all the tests and calculate the code coverage:

make test

If you want, you can also run the following command to visualize the coverage analysis in your browser:

make coverage

or use make coverage html=true to visualize the HTML report in your default web browser

Generate the OpenHue API Client

Run the following command to generate the OpenHue API Client:

make generate

If there was any OpenAPI specification change, this command will update the ./openhue/gen/openhue.openhue.go file. Please note that this file must never be manually edited!

You also generate the client from another spec location:

make generate spec=/path/to/local/openhue.yaml

License

GitHub License

Open-Hue is distributed under the Apache License 2.0, making it open and free for anyone to use and contribute to. See the license file for detailed terms.

README mirrored from the source repository 3 hours ago. The original is authoritative.

Questions

About Openhue CLI

How do I install Openhue CLI?

Run npx openhue-cli, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Openhue CLI safe to use with an AI agent?

Its trust score is 77 out of 100 (good). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Openhue CLI still maintained?

Yes — the latest release is 0.24 (12 May 2026), and the last commit was 6 months ago. The repository has 109 stars and 0 open issues.