# Database

> Database documentation for Edith on Mac. Browse and safely edit your databases without leaving your Mac. Setup steps, settings, shortcuts and ed commands.

- Canonical URL: https://getedith.pro/docs/extensions/database-client
- Updated: 2026-12-02

Save a connection to PostgreSQL, MySQL, SQLite, MongoDB, Redis and more, then browse tables, run queries and edit rows. Risky changes are previewed and need your confirmation first. Passwords stay in your Keychain. Read the [Database overview](https://getedith.pro/extensions/database-client) for screenshots and use cases.

![Database client in Edith with a SQLite orders table open, filtered to its 13 shipped orders and sorted newest first](shot:ext-database)

## Install Database

1. Open **Library** in Edith's sidebar.
2. Search for Database in **Search tools**, or open the **Developer & Data** category.
3. Press **Install**. Database is added to your sidebar.

From the terminal, `ed extensions install database` does the same. See [Extensions](https://getedith.pro/docs/extensions) for turning extensions off, updating and removing them.

## Where to find Database

- **Sidebar.** Click Database in the sidebar to open its page, or press <kbd>⌘</kbd><kbd>K</kbd> and type its name.
- **Home.** Open **Home**, press **Edit Home**, then **Add widgets** to place its widgets.

## Get started with Database

1. **Add a connection.** Pick your database type and enter its host, or choose a file for SQLite.
2. **Open it.** Edith connects and shows the tables, collections or keys inside.
3. **Browse and filter.** Look through records, search, sort and filter without writing a query.
4. **Review before changing.** Edits show exactly what will change and wait for your confirmation. Agents can read through a read-only MCP server.

## What Database does

- **Browse a database.** Connect to PostgreSQL, MySQL, SQLite, MongoDB or Redis and look through tables.
- **Run a query.** Write a query and see the results, with risky changes previewed first.

## From the terminal

Everything above works in the app. The `ed` command line is optional, for scripts and coding agents. Database's commands are in [`ed database`](https://getedith.pro/docs/cli/database), and each one is also a tool in [Edith's MCP server](https://getedith.pro/docs/mcp).

```sh
ed database connections list
ed database connections add notes --product postgresql
ed database connect <connection-id>
```

## Permissions and requirements

- macOS 14 or later on Apple silicon
- Network access to each database server, or a local SQLite file
- Keychain, to store connection passwords
- Access to the SQLite files you choose

See [Permissions](https://getedith.pro/docs/permissions) for how Edith asks for each one.

## Questions

### Which databases does it support?

PostgreSQL, MySQL, MariaDB and SQLite for relational data, Redis and Valkey for keys, MongoDB for documents, Elasticsearch and OpenSearch for search, and ClickHouse for analytics. The drivers come with the extension.

### Where are my database passwords stored?

In your macOS Keychain. Saved connection details hold no secrets, and ed database connections show prints a connection without its credentials.

### Can it stop me from changing a production database by accident?

Yes. Give that connection the policy that refuses changes, and every edit through Edith is rejected. The middle policy requires a preview for every change, so nothing runs without a deliberate confirmation.

### Can Claude Code query my database over MCP?

Yes, carefully. Add ed database mcp to your agent as an MCP server. Its database_browse and database_query tools read data in bounded pages, and the tools that change a Redis key or a MongoDB, Elasticsearch or OpenSearch document work only through a preview that has to be confirmed.

### Does it support encrypted connections?

Yes. Each connection carries its own TLS settings, so you can connect to servers that require encrypted connections.

### Is Database included in Edith's one-time price?

Yes. Database comes with every Edith license, with every supported driver included in the extension.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
