Query a PostgreSQL database — run parametrised SQL against a named connection and get back capped, paginated rows. Read your schema by querying information_schema and pg_catalog directly.
omni-cli postgres foreign-key list
List foreign keys, showing which columns reference which table.
read
omni-cli postgres index list
List indexes and the columns they cover.
read
omni-cli postgres server info
Show the database server version and the identity this connection uses.
read
omni-cli postgres table describe
Show a table's columns with their types, nullability, defaults and primary key.
read
omni-cli postgres table list
List the tables and views in a schema.
read
omni-cli postgres query explain
Show how the database would run a statement, without running it.
read
omni-cli postgres query run
Run a SQL statement against a named connection and return the rows it produces.
write
Read this catalog as markdown — the copy your coding agent fetches.
Sign up, choose the actions your workflow needs, and get a copy-paste install one-liner.