PostgreSQL client for Mac

Postgres,without the weight.

LithePG is a free, open source PostgreSQL client built in Swift for macOS. Write SQL with autocomplete, browse your schema, read query plans and export results, with AI drafting that never leaves your Mac.

Install the latest release
$ brew install --cask omarpr/tap/lithepg

The tap pins every published build by version and SHA-256.

Free · MIT licensed · Apple silicon · macOS 14+

LithePG with a query on the customers table, its results with accented names and the schema browser
Under 7 MB downloadSwift and SwiftUI no ElectronKeychain for saved passwordsOn-device AI no cloud calls

Features

Connect, query,
inspect, export.

The work you do in a database every day, in one native Mac window that opens fast and stays out of your way.

Connections that stay organized

Find any database from a filterable sidebar, import your Neon projects with one scan and reach private hosts through an SSH tunnel. TLS to remote hosts is verified by default, passwords stay in the macOS Keychain and a dropped connection comes back with one click.

Query without friction

Autocomplete for keywords, tables and columns as you type. Run the statement under the cursor straight from a longer script, with highlighting, tabs, history and keyboard shortcuts you can make your own.

Ask locally, review always

Describe what you need in plain English and get schema-aware SQL from Apple's on-device model on Macs with Apple Intelligence. The draft never runs automatically.

See how data connects

Navigate schema metadata, inspect foreign keys and open a pan-and-zoom relationship graph.

Results built for reuse

Filter rows across every page, format JSON in the cell editor, copy cells or rows and export CSV, TSV, JSON, Markdown or SQL inserts. Big queries stop on the server at 10,000 rows instead of downloading everything.

Understand the plan

Run EXPLAIN or EXPLAIN ANALYZE and scan a readable plan tree with cost shares, timings and the costliest node highlighted.

Local means local

Your database is not training material.

LithePG does not send prompts, schemas, credentials, query history or results to a cloud AI service. Saved passwords live in Keychain. Generated SQL stays on your Mac until you decide to run it.

How LithePG handles your data

No cloud AI callsDrafting runs on Apple's on-device model.

Passwords in KeychainNever written to the saved connection files.

SQL never runs on its ownEvery draft lands in the editor for you to read.

No telemetryThe source is on GitHub if you want to check.

Install

Install with
Homebrew.

The cask installs the signed and notarized app. When a new version comes out, brew upgrade --cask lithepg brings it in.

Homebrew caskApple silicon · macOS 14+
$ brew install --cask omarpr/tap/lithepg

Prefer to build it yourself? The latest tagged source works too.

Build the latest tagged sourceRequires macOS 14+ and Xcode with Swift 6.4 or newer.
git clone https://github.com/omarpr/lithepg.git
cd lithepg
git checkout "$(git describe --tags --abbrev=0)"
./script/rebuild_and_install.sh

Questions

Good to know.

Is LithePG free?

Yes. LithePG is free and open source under the MIT license. There is no account, no subscription and no telemetry.

Which Macs does it run on?

Macs with Apple silicon running macOS 14 Sonoma or later. Ask in English also needs macOS 26 with Apple Intelligence turned on.

Does LithePG send my data anywhere?

No. Prompts, schema details, query results and passwords stay on your Mac. LithePG connects only to the databases you add and, when you ask it to scan, runs the Neon CLI you installed.

Which PostgreSQL databases can it connect to?

Local servers and hosted ones such as Neon, over plain TCP, verified TLS or an SSH tunnel through a bastion host.

How do I update it?

Run brew upgrade --cask lithepg. Every release is listed in the changelog on GitHub.

LithePG app icon

Built in the open

Read the code.
Shape what comes next.

Open an issue, suggest a feature or send a pull request.

omarpr/lithepg on GitHub