# CheerLights > CheerLights is a global network of lights that all show the same color. Anyone sets the color on the CheerLights Discord or by posting on Bluesky, and the current color is published to ThingSpeak, Adafruit IO, and an MQTT broker. Reading the color is free and needs no key. Started in 2011 by Hans Scharler as a "Hello, World" for learning IoT. The current color has two forms: a name (for example `red`) and a HEX value (for example `#ff0000`). All feeds below carry the same color at the same time. For real-time updates, subscribe over MQTT instead of polling. The two main ways to set the color are below; bots on Mastodon and Telegram can set it too, but they are not always running. There is no public API for setting it. - Discord: the `/cheerlights` command on the CheerLights Discord. - Bluesky: a post that tags `#cheerlights` or mentions `@cheerlights.bsky.social` and names a color, such as `#cheerlights red`. A reply to a post by @cheerlights.bsky.social that is only a color also counts. Several colors in one post are applied in the order written. ## Read the current color - [Color name (text)](https://api.thingspeak.com/channels/1417/field/1/last.txt): ThingSpeak channel 1417, field1. Also `.json` and `.xml`. - [HEX value (text)](https://api.thingspeak.com/channels/1417/field/2/last.txt): ThingSpeak channel 1417, field2. Also `.json` and `.xml`. - [Recent history](https://api.thingspeak.com/channels/1417/feed.json): every change with its time, name in `field1`, HEX in `field2`. Add `?results=N` for up to 8000 entries. - [Adafruit IO color feed](https://io.adafruit.com/api/v2/cheerlights/feeds/color/data): user `cheerlights`, feeds `color` and `hex` (`.../feeds/hex/data` for HEX). ## MQTT Broker `mqtt.cheerlights.com`, port 1883, no login. Each topic holds a retained message with the current value. - `color`: the color name - `colour`: the color name, same as `color` - `hex`: the HEX value - `wled/col`: the HEX value, for WLED devices - `wled/color/set`: the HEX value, for WLED devices - `cheerlights`: the color name (the original topic, still published) - `cheerlightsRGB`: the HEX value (the original topic, still published) ## Colors The color is always one of these eleven names: red (#ff0000), green (#008000), blue (#0000ff), cyan (#00ffff), white (#ffffff), oldlace (#fdf5e6), purple (#800080), magenta (#ff00ff), yellow (#ffff00), orange (#ffa500), pink (#ffc0cb). ## MCP server - [Hosted MCP server](https://cheerlights.com/mcp): a remote MCP server over Streamable HTTP at `https://cheerlights.com/mcp`, with nothing to install. Eight read-only tools (the current color, recent history, color statistics, color search, HEX and RGB values, and search, pages, and recent posts from this site), three resources, and two prompts. In Claude Code, `claude mcp add --transport http cheerlights https://cheerlights.com/mcp`. Its server card is at [/.well-known/mcp/server-card.json](https://cheerlights.com/.well-known/mcp/server-card.json). It reads the color; it cannot set it. - [cheerlights-mcp on PyPI](https://pypi.org/project/cheerlights-mcp/): an MCP server with tools for the current color, recent history, color statistics, search, and HEX and RGB values. Run it with `uvx cheerlights-mcp`; in Claude Code, `claude mcp add cheerlights -- uvx cheerlights-mcp`. It reads the color; it cannot set it. ## Docs - [Learn about CheerLights](https://cheerlights.com/learn/): the system, every feed, MQTT topics, and how to set the color. - [Build Your First CheerLights Light with WLED](https://cheerlights.com/first-cheerlights-light-wled/): an LED strip that follows the CheerLights color, with no code to write. - [Build a CheerLights display](https://cheerlights.com/build/): hardware projects. - [CheerLights + WLED](https://cheerlights.com/build/wled/): WLED setup. - [CheerLights Discord](https://cheerlights.com/discord): where the color is set with `/cheerlights`. - [CheerLights on Bluesky](https://cheerlights.com/cheerlights-on-bluesky/): setting the color with a Bluesky post. Account: [@cheerlights.bsky.social](https://bsky.app/profile/cheerlights.bsky.social). ## Code - [CheerLights on GitHub](https://github.com/cheerlights): all official libraries and examples. - [Python package](https://github.com/cheerlights/cheerlights-python-package): `pip install cheerlights-api`. - [Arduino library](https://github.com/cheerlights/cheerlights-arduino-library): `CheerLights` in the Arduino Library Manager. - [ESP32 firmware](https://github.com/cheerlights/cheerlights-esp32): an ESP32 light that follows the color over Wi-Fi or Bluetooth, installed from the browser on the [install page](https://cheerlights.github.io/cheerlights-esp32/). - [MATLAB package](https://github.com/cheerlights/cheerlights-matlab-package): the `cheerlights` namespace for MATLAB, with the current color, history, and a watcher. - [MCP server source](https://github.com/cheerlights/cheerlights-mcp): the code behind `cheerlights-mcp`, with the full tool reference. - [CheerLights Terminal](https://github.com/cheerlights/cheerlights-terminal): shows the current color in a terminal as ASCII art. - [JavaScript widgets](https://github.com/cheerlights/cheerlights-javascript-widgets): embeddable web widgets. ## Optional - [ThingSpeak channel 1417](https://thingspeak.com/channels/1417): charts of the color history. - [Stream Deck plugin](https://marketplace.elgato.com/product/cheerlights-92a7e529-1b18-40ac-baa9-64c13b6bf201): shows and animates the current color on Elgato Stream Deck keys. - [Live stream on Twitch](https://www.twitch.tv/cheerlights) - [Blog](https://cheerlights.com/blog/): projects and news.