oxyc CLI is an optional companion that works with your Oxygen
deployment from a terminal, a CI job or an AI coding agent: check your project’s
files before you push them, run automations and SQL on your deployment, gate
pull requests on a clean compile, and connect your editor over MCP. You do
not need it to use Oxygen.
If you just want to ask questions of your data, use the web app — skip this
page.
Install
oxyc is published to npm as @oxy-hq/cli.
It needs Node.js 20 or later:
Verify
Update
Sign in
Commands that talk to your deployment need a login.oxyc login opens your
browser (or prints a URL and a code when there is no browser):
Basic commands
The CLI is self-documenting — runoxyc --help, or oxyc <command> --help for
any subcommand. The commands you’ll reach for most:
Validate your project
oxyc validate checks your config.yml, automations, agents, views and topics.
It runs offline, needs no login, and exits 9 when it finds a problem:
Check a branch before it merges
oxyc compile compiles a branch on your deployment without serving it, so a
pull request can fail before a broken change reaches production:
Run an automation
oxyc run starts an automation or a SQL file on your deployment and prints the
result. It runs the automation your deployment has compiled, so push a change
first; a SQL file’s text is sent and runs against the deployed database of that
name:
oxyc evals run.
Expose Oxygen to your editor over MCP
MCP-compatible tools such as Cursor, Claude Desktop and Claude Code reach Oxygen throughoxyc mcp:
Coming from
oxy? The commands customers ran from the old oxy binary
moved to oxyc: oxy validate, oxy run, oxy agentic, oxy sync and
oxy looker test are now oxyc validate, oxyc run, oxyc agentic,
oxyc sync and oxyc looker test. They run on your deployment rather than on
your machine, so they need only a login, not your warehouse or LLM credentials.Next steps
Quickstart
Sign up and ask your first question in the web app
Connect to your editor with MCP
Use Oxygen as a tool in Cursor and Claude Desktop