Polars Nanook 0.14 is out, and it brings three big platform features: catalogs, serverless compute and the MCP server. The engine also received many updates, such as distributed Delta Lake commits, distributed group-bys that keep row order, and faster planning for queries with many expressions. We also simplified the query profiler, so it is easier to see where the time of a query goes.
Upgrade with:
pip install -U polars-nanook
Catalogs #
Recent Polars releases improved reading from and writing to Iceberg catalogs. In Polars Nanook you can now connect your AWS Glue or S3 Tables catalogs from the Catalogs page in the portal. Nanook then hands out short-lived credentials for the catalog to your workspace’s members and clusters, so you reference a catalog by its name instead of managing AWS keys and storage_options.
import polars as pl
import polars_nanook as pn
ctx = pn.ComputeContext(cpus=8, memory=32)
orders = pl.scan_iceberg("sales.orders", catalog="lakehouse")
pl.sql("SELECT * FROM orders").remote(ctx).show()
Catalog names also work for queries that run on your own machine. Install the resolver once per Python process; it needs PyIceberg (pip install 'polars-nanook[pyiceberg]'):
pn.CatalogResolver("my-workspace").install()
pl.scan_iceberg("sales.orders", catalog="lakehouse").collect()
In the next release, Polars Nanook will also bring its own managed catalog, so you can use catalogs without running Glue or S3 Tables yourself.
Serverless compute (beta) #
Until now, every Polars Nanook cluster started its own EC2 machines in your cloud account. That option stays, and it is powerful and cost-effective for long-running ETL pipelines that are not impacted by a short boot delay. But for interactive queries and agentic workflows the boot time can become a problem. With serverless, compute runs in an isolated environment managed by Polars, so nothing has to be set up in your cloud account, and a workspace can use it without connecting an AWS account. The machines are kept warm, so compute typically starts in about a second, or in approximately 15 seconds on a cold start, depending on availability. Pass provider="serverless" to the ComputeContext to get started:
import polars as pl
import polars_nanook as pn
ctx = pn.ComputeContext(provider="serverless", cpus=4, memory=16)
lf = pl.scan_parquet("s3://my-bucket/orders/*.parquet")
lf.group_by("customer_id").agg(pl.col("amount").sum()).remote(ctx).show()
Compute runs in your workspace’s default region, and region= picks another. Serverless is in beta.
MCP server #
Serverless is not the only feature we added to improve agentic workflows. You can now also profile your queries straight from your coding agent. Add the Polars Nanook MCP server, for example in Claude Code:
claude mcp add --transport http nanook https://mcp.nanook.pola.rs/mcp
Then run /mcp, select nanook and log in with your Polars Nanook account in the browser. In Codex:
codex mcp add nanook --url https://mcp.nanook.pola.rs/mcp
codex mcp login nanook
In Cursor, add the server to ~/.cursor/mcp.json, then click Connect next to nanook under Cursor Settings > MCP:
{
"mcpServers": {
"nanook": {
"url": "https://mcp.nanook.pola.rs/mcp"
}
}
}
In Claude, open Settings > Connectors, click Add custom connector, enter https://mcp.nanook.pola.rs/mcp and click Connect. The docs cover ChatGPT, VS Code and other clients.
After that, ask the agent about your queries, for example “How can I make my last query faster?” or “Where is the time going in the ETL job of 19:10?”. It reads the query profile, tells you where the time goes and suggests what to change.
What’s next #
We’re not done yet. Coming soon:
- Serverless out of beta, with startup down to hundreds of milliseconds
- A managed catalog hosted by Polars, so you don’t need your own Glue or S3 Tables catalog
- Run Polars or SQL queries straight from your agent through the MCP server
Try it out today! #
Upgrade with pip install -U polars-nanook and start at nanook.pola.rs, or contact us for a demo. The full list of changes is in the 0.14.0 release notes.