Install the lightship command
Download the latest experimental archive and SHA256SUMS from
GitHub Releases. Verify the checksum, unpack
the archive for your platform, and place the lightship binary on your PATH.
If you have Go 1.25 or newer, you can instead install directly from the module:
export PATH=... line to your shell profile if lightship is not found in a new terminal.
The command is now available as lightship; continue to MCP Clients to connect a coding
agent.
The release also publishes a multi-platform container image:
Docker Compose
The Compose stack runs LightShip and a Postgres instance for its own state (access model, users, keys, audit). It does not include ClickHouse: LightShip reads traces from a ClickHouse you already run.1
Clone the repository
Run these commands from a directory that does not already contain a file or directory named
lightship. Skip this step if you are already in a LightShip checkout.2
Configure the environment
Copy the example file and set
CLICKHOUSE_DSN to a read-only connection string for your trace database.3
Start the stack
4
Open the web UI
Visit http://localhost:8080 and sign in as
admin.Native binary
Runlightship serve directly when you manage Postgres yourself. It applies Postgres migrations, initializes the admin account, loads the access model, and starts the HTTP server for REST, MCP, and the UI.
Required environment:
DATABASE_URL: Postgres connection string.CLICKHOUSE_DSN: read-only ClickHouse connection string.
Next steps
Authenticate
Get a personal API key or sign in with the admin session.
Bind your trace source
Point LightShip at your ClickHouse trace table.