lacylights-mcp: Instructions file for Claude Code

CLAUDE.md

lacylights-mcp CLAUDE.md is an instructions file for Claude Code from bbernstein/lacylights-mcp. It costs 2,921 tokens per session, scanned A, original, MIT.

Instructions for LacyLights MCP, a server that lets AI assistants control theatrical lighting systems using natural-language requests. It connects assistants to lighting fixtures, scenes, and cues through the LacyLights system.

In plain words
What is it for?
Running the development server, compiling and starting the production build, testing lighting-control tools, and checking code quality.
Why use it?
They explain how to develop, build, test, and maintain the bridge between an AI assistant and the lighting-control backend.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is bbernstein/lacylights-mcp's own configuration. It tells Claude Code how to work on lacylights-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lacylights-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bbernstein/lacylights-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bbernstein/lacylights-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/bbernstein/lacylights-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lacylights-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bbernstein/lacylights-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/bbernstein/lacylights-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/bbernstein/lacylights-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/bbernstein/lacylights-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lacylights-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bbernstein/lacylights-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/bbernstein/lacylights-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,921 This file is loaded in full into every session.
When invoked 2,921 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02921 $0.02921
Opus 5.5 $0.01168 $0.01168
Sonnet 5.5 $0.00584 $0.00584
Haiku 4.5 $0.00292 $0.00292

Measured 25d ago against content hash 0996d2f9e766, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lacylights-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 275 lines

How it starts

The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code when working with code in this repository.

Project Overview

LacyLights MCP is a Model Context Protocol (MCP) server that enables AI-powered theatrical lighting design. It acts as a bridge between AI assistants (like Claude) and the LacyLights lighting control system, providing natural language control of DMX fixtures, scene generation, and cue management.

Role in LacyLights Ecosystem:

  • AI integration layer for the LacyLights system
  • Provides 80+ MCP tools for lighting control
  • Connects AI assistants to the lacylights-go backend
  • Enables natural language scene generation and script analysis

Development Commands

Development

npm run dev              # Start dev server with auto-reload (tsx watch)
npm run build            # Compile TypeScript to dist/
npm start                # Run production build from dist/

Testing

npm test                 # Run all tests
npm run test:watch       # Run tests in watch mode
npm run test:coverage    # Generate coverage report

Code Quality

npm run lint             # Check for linting errors
npm run lint:fix         # Fix auto-fixable linting errors

Architecture

Directory Structure

lacylights-mcp/
├── src/
│   ├── index.ts              # Main entry point, MCP protocol handler
│   ├── tools/                # MCP tool implementations
│   │   ├── project-tools.ts  # Project CRUD operations
│   │   ├── fixture-tools.ts  # Fixture management
│   │   ├── look-tools.ts     # Look generation and control
│   │   └── cue-tools.ts      # Cue sequence and playback
│   ├── services/             # Core services
│   │   ├── graphql-client-simple.ts  # Apollo client for backend
│   │   ├── ai-lighting.ts    # OpenAI integration
│   │   └── rag-service-simple.ts     # Pattern matching service
│   └── types/
│       └── lighting.ts       # TypeScript interfaces
├── tests/                    # Test files (mirrors src/)
├── run-mcp.js               # MCP client integration wrapper
└── dist/                    # Compiled output

Read the full file on GitHub · 275 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed · +27 lines · +511 tokens per session 0996d2f9e766
  2. 27d ago Changed · +1 lines · +55 tokens per session 486f00e428e3
  3. 28d ago Changed · +19 lines · +329 tokens per session b92cc9a5ce14
  4. 29d ago Changed · +2 lines · +41 tokens per session 71ee26dc0300
  5. 2mo ago First seen · 226 lines · 1,985 tokens per session scan A 8a0c3b7f487f

Subscribe to this mod's changes

lacylights-mcp CLAUDE.md is an instructions file published in the GitHub repository bbernstein/lacylights-mcp (16 stars, last pushed 3d ago), licensed MIT. It adds 2,921 tokens to every session, about $0.0117 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

lacylights-mcp CLAUDE.md compared with instructions from other repositories

lacylights-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lacylights-mcp CLAUDE.mdbbernstein/lacylights-mcpInstructions file163d agoMITA2,921Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot