Skip to main content

Install and run

1

Install Chowder

Install Chowder with uv on macOS (Apple Silicon) or Linux (x86-64).
See Installation for requirements and other install options.
2

Write the query

Choose an example.
Read PDFs matching a glob as a table of parsed pages.
Parsed page 3 of AT&T's 2020 financial review, with colored bounding boxes around headers, text, a revenue table, and list items

Example parsed page: page 3 of the AT&T report with detected layout regions.

Each example reads a source into rows with a table function, and some also run infer over a column. See Table functions for supported formats and automatic reader selection, and Column functions for infer, embed, and the other functions you can call on each row.
3

Run and inspect

Run the example. chowder.sql(SQL) creates an executable query plan, and to_polars() executes it and materializes a Polars DataFrame. Model predictions can vary.These calls reuse Chowder’s shared default engine, which runs locally unless remote compute has been enabled. On first use, Chowder downloads the models each operation needs, up to a few GB, into ~/.cache/chowder/models. Later queries reuse them. To offload analytical inference to dedicated GPUs, use Chowder Cloud.

Work with the result

result is a Polars DataFrame you can filter or export. In a notebook, chowder.display(result) renders nested structs, arrays, and supported image columns. In a terminal script, use print(result) instead. For large results, stream Arrow record batches instead of collecting the entire table:
See Python API for more details.

Command line

The installation includes the chowder command. Run SQL from a query, file, or piped input:
See CLI for more details.

Local MCP server

Add Chowder to your MCP client’s configuration:
The Chowder MCP query tool lets your AI agent run SQL using your local filesystem access and credentials. See Local MCP server for more details.

Offload analytical inference to Chowder Cloud

Keep the same SQL and run its AI processing on dedicated GPUs. SQL planning, relational execution, and result caching stay in your application. See Cloud quickstart to get started.

Configure an engine

Create your own engine to set options or control its lifetime:
remote=False keeps AI processing on your machine. To use remote compute, set CHOWDER_API_URL to your endpoint. If you set CHOWDER_REMOTE=1, omit the remote argument and use chowder.Engine(). To opt in for one engine from Python, use chowder.Engine(remote=True). See Connect to remote AI compute and Python API for more details. To close the engine automatically, use a with block. The engine closes even if an exception occurs:
See automatic cleanup for more details.