Mason logo

Mason

An open-source Postgres read replica that answers analytical queries from a columnar copy.

Mason product preview

The product

What Mason is building

Mason is an open-source tool, published under the Apache-2.0 licence, that acts as a read replica for a Postgres database. It syncs the tables and columns a team chooses into DuckDB's columnar engine and rewrites incoming Postgres queries on the fly, while aiming to keep Postgres syntax and behaviour so existing SQL can be pointed at it. Sync can run on demand, by polling or through logical replication. It runs as a single Node.js process that keeps its configuration and synced data in a local folder, and it can be installed from npm and driven from a short CLI. The site also describes per-agent database users with role-based limits on tables, columns and rows, a log of every query, and built-in MCP support. Its own documentation is explicit that it is built for counts, sums and group-bys over many rows, not single-row lookups. A hosted Mason Cloud option sits alongside self-hosting.

From the maker

Analytics speed for Postgres without moving to a warehouse

Mason was presented on Show HN on November 24, 2026, and its site points to a public Apache-2.0 repository and a self-hosting quickstart. It is worth a look for small teams whose dashboards or AI agents run heavy reporting queries on the same Postgres that serves the app. The site publishes its own benchmark tables; this unclaimed editorial listing has not reproduced them and does not represent maker participation.

Community

Launch discussion

Say who you are, what clicked, and what still feels unclear.

Be the first person to leave thoughtful feedback.