npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ai-huebot

v1.0.0

Published

AI HueBot - MCP server for controlling Philips Hue lights with vibes. Set moods, control individual lights, activate scenes, and more through any MCP-compatible AI client like Claude.

Downloads

14

Readme

AI HueBot

npm version license node

Control your Philips Hue lights with AI. Set vibes, save favorites, and let it learn your preferences over time.

An MCP server that connects any AI client (Claude, etc.) to your Hue lights. Just describe the mood you want.

Features

  • Vibe mode -- say "cozy evening" or "deep focus" and the AI picks colors and brightness for every light
  • Saved vibes -- every vibe is auto-saved and can be re-applied later
  • Ratings & feedback -- rate vibes 1-10 so the AI learns what you like
  • Favorites -- quickly access your top-rated vibes
  • Individual & bulk control -- set any light or all lights at once
  • Scene activation -- trigger any Hue scene by name
  • Smart hints -- gently introduces the feedback system to new users
  • Zero config auth -- built-in OAuth credentials, just authorize in your browser once

Quick Start

npx ai-huebot

That's it. Add it to your AI client (see below), then just ask:

"Set a cozy evening vibe"

"Make the bedroom warm orange at 40%"

"Rate that vibe 9 out of 10"

"Apply my highest rated vibe"

Setup

Claude Code

claude mcp add ai-huebot -- npx ai-huebot

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "ai-huebot": {
      "command": "npx",
      "args": ["ai-huebot"]
    }
  }
}

Any MCP Client

  • Command: npx
  • Args: ["ai-huebot"]
  • Transport: stdio

First Run

Call the hue_auth tool from your AI client. It opens your browser to authorize with Philips Hue. Tokens are saved to ~/.ai-huebot/tokens.json and refresh automatically.

Tools

| Tool | Description | |---|---| | hue_auth | Authorize with Philips Hue (browser OAuth) | | list_lights | List all lights with current state | | set_light | Control a single light (on/off, brightness, color) | | set_all_lights | Set all lights to the same state | | set_scene | Activate a Hue scene by name | | set_vibe | Describe a mood -- AI picks colors for each light (auto-saves) | | save_vibe | Manually save a light configuration as a named vibe | | list_saved_vibes | List all saved vibes | | apply_saved_vibe | Re-apply a saved vibe | | delete_saved_vibe | Delete a saved vibe | | rate_vibe | Rate a vibe (1-10) and/or leave text feedback | | get_vibe_feedback | View all feedback, filterable by rating | | get_favorites | Get your top-rated vibes (rating >= 7) | | get_user_hint | Get a one-time hint about the feedback system | | acknowledge_hint | Dismiss the hint permanently |

How It Works

Auth: OAuth 2.0 against the Hue Remote API (CLIP v2). Built-in credentials work out of the box -- or set HUE_CLIENT_ID, HUE_CLIENT_SECRET, and HUE_CALLBACK_URL env vars to use your own.

Vibes: When you describe a vibe, the AI chooses hex colors and brightness for each light. The configuration is automatically saved to ~/.ai-huebot/saved-vibes/ as JSON so you can re-apply it anytime.

Feedback loop: Rate vibes and leave feedback. The AI uses this history to suggest vibes you'll like and avoid ones you didn't. Favorites (rating >= 7) are surfaced on request.

Development

git clone https://github.com/EthanSK/ai-huebot-mcp.git
cd ai-huebot-mcp
npm install
npm run build   # compile TypeScript
npm run dev     # run with tsx (auto-reload)

License

MIT