What is CheerLights MCP Server?
CheerLights MCP Server is a Model Context Protocol (MCP) server that provides comprehensive access to the CheerLights API. CheerLights is a global IoT project that synchronizes colors across thousands of connected lights worldwide, creating a real-time shared experience. This server enables AI assistants to query and analyze CheerLights data.
How to use CheerLights MCP Server?
Install via uv sync or pip install -e . after cloning the repository. Run the server with uv run cheerlights-mcp or python -m cheerlights_mcp.server. Integrate with Claude Desktop by adding the server block to your claude_desktop_config.json. Supports stdio (default), sse, and streamable-http transports.
Key features of CheerLights MCP Server
- Tools to get current color, history, statistics, and search colors
- Resources for current color, formatted history, and supported colors list
- Prompts for trend analysis and color reports
- Structured output with Pydantic models and error handling
- Configurable history count (1–100) and statistics sample size
Use cases of CheerLights MCP Server
- Ask an AI assistant for the current CheerLights color and when it changed
- Retrieve and analyze the last 20 color changes
- Get color usage statistics over a configurable sample size
- Search historical data for occurrences of a specific color
- Look up hex codes and RGB values for any CheerLights color
コメント