Skip to main content
Glama
CheerLights MCP Server

CheerLights MCP Server

Official
by cheerlights

CheerLights MCP server

An MCP server that lets Claude and other AI assistants read the live CheerLights color, its history, and statistics.

PyPI Python CI License: MIT

CheerLights is a global network of lights that all show the same color, set by anyone on the CheerLights Discord. This server reads the public CheerLights feed (ThingSpeak channel 1417) and gives an assistant five read-only tools: the current color, recent history, statistics, search, and HEX and RGB values. It is built on the MCP Python SDK 2.x and needs no API key.

Quick start

You need uv, which installs Python 3.10 or later for you. uvx runs the server straight from PyPI, with nothing else to install.

Add the server to Claude Code:

claude mcp add cheerlights -- uvx cheerlights-mcp

Or add it to Claude Desktop's claude_desktop_config.json and restart the app:

{
  "mcpServers": {
    "cheerlights": {
      "command": "uvx",
      "args": ["cheerlights-mcp"]
    }
  }
}

Then ask: "What's the current CheerLights color?" The assistant calls get_current_cheerlights_color and answers with the live color.

Related MCP server: portfolio-mcp

Example

These results come from a live run of version 3.0.0 over stdio on 2026-10-28 (examples/client_example.py).

get_current_cheerlights_color returns the color, its HEX value, and when it was set:

{
  "color": "purple",
  "hex": "#800080",
  "set_at": "2026-10-28T15:46:23Z",
  "entry_id": 1067049
}

analyze_color_statistics with sample_size 1000 covered 2026-09-13 to 2026-10-28 (excerpt):

{
  "sample_size": 1000,
  "counts": { "orange": 111, "blue": 109, "red": 105, "...": "...", "white": 15 },
  "most_popular": "orange",
  "least_popular": "white",
  "unique_colors": 11
}

Tools

  • get_current_cheerlights_color: the current color, its HEX value, and when it was set.

  • get_cheerlights_history: the last 1 to 100 color changes, newest first.

  • analyze_color_statistics: how often each color was picked across the last 10 to 8000 changes.

  • search_colors: when a color was picked recently, newest first.

  • get_hex_color_code: the HEX and RGB values of any of the eleven CheerLights colors.

  • Resources cheerlights://current, cheerlights://history/{count}, and cheerlights://colors, as JSON.

  • Prompts analyze_cheerlights_trends and cheerlights_color_report.

Every tool is marked read-only, returns structured output with a schema, and answers an unknown color with an error that lists the valid ones.

Limits

  • It reads the color; it cannot set it. People set the color on the CheerLights Discord with /cheerlights.

  • History reaches back at most 8000 changes, the most ThingSpeak returns in one request.

  • If ThingSpeak cannot be reached, the tools return an error saying so.

Documentation

Development

git clone https://github.com/cheerlights/cheerlights-mcp
cd cheerlights-mcp
uv sync
uv run pytest

The 11 tests drive the server through an in-memory MCP client against a fake ThingSpeak. uv run python examples/client_example.py starts the server over stdio and calls every tool against the live feed. uv run ruff check . and uv run mypy src check style and types. To serve over HTTP instead of stdio, run uv run cheerlights-mcp streamable-http --port 8000.

License

MIT. See LICENSE.

Available Tools

5 tools
analyze_color_statisticsCheerLights color statisticsB
Read-only

How often each color was picked across recent changes, with the most and least popular.

Inputs: sample_size. Returns: How often each color was picked in a window of recent changes.

get_cheerlights_historyCheerLights color historyC
Read-only

Recent CheerLights color changes, newest first.

Inputs: count. Returns: Recent color changes, newest first.

get_current_cheerlights_colorCurrent CheerLights colorA
Read-only

The color every CheerLights light shows right now: its name, HEX value, and when it was set.

Inputs: no named parameters. Returns: One change of the CheerLights color.

get_hex_color_codeCheerLights color HEX and RGBC
Read-only

The HEX and RGB values of a CheerLights color.

Inputs: color_name (required). Returns: A CheerLights color with its HEX and RGB values.

search_colorsSearch CheerLights historyC
Read-only

When a color was picked recently, newest first.

Inputs: color (required), limit, within. Returns: When a color was picked, newest first.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 5 tools

    Disambiguation2/5

    get_cheerlights_history ('recent color changes, newest first') and search_colors ('when a color was picked recently, newest first') read almost identically, and the name search_colors doesn't signal that it filters by color. There is also overlap between get_current_cheerlights_color, which already returns a HEX value, and get_hex_color_code, so an agent could pick either for a color-code lookup.

    Naming Consistency4/5

    All five names follow a clean verb_noun snake_case pattern (get_*, search_*, analyze_*). The only wobble is inconsistent resource qualification: two tools carry the 'cheerlights' prefix while the others use bare 'colors'/'color'.

    Tool Count4/5

    Five tools is well within a sensible range for a narrow, read-only data source. Each tool maps to a plausible lookup (current, history, search, stats, conversion), though the history/search pair suggests one is redundant.

    Completeness3/5

    The read-side surface (current state, history, filtering, statistics, color conversion) is reasonably covered for a simple color-state domain. However, there is no way to enumerate or validate the set of valid CheerLights color names, which agents would need before calling search_colors or get_hex_color_code.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants read-only access to Sprinklr data via MCP, allowing querying reports, searching cases, and calling Sprinklr API endpoints.
      13 npm
      ISC
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only access to AlertOps incident alerting and on-call data, including alerts, users, groups, integrations, and schedules, for AI assistants.
      11
      Apache 2.0