Four engines
SQLite, MySQL, PostgreSQL, and Redis share one workspace while keeping per-connection settings and capabilities.
Lode · Database workspace for macOS
Lode is a native macOS database manager: connections, object tree, SQL editor, table editing, and query history for SQLite, MySQL, PostgreSQL, and Redis — all in one place. It also ships read-only database tools and an MCP server for agents.
macOS 14.0+ · GPLv3 open source · Local first
4
database engines
Read-only
agent access
MCP
stdio server
GPLv3
license
Daily workflow
From saved connections to the object tree, SQL drafts, and result grids, all the way to read-only agent tools — every step happens in the same native window.
01
Save SQLite, MySQL, PostgreSQL, and Redis connections, each with its own capabilities and access scope.
02
The object tree expands databases, tables, views, indexes, and triggers without switching tools.
03
The SQL editor uses tree-sitter highlighting; table edits queue in memory before a confirmed write-back.
04
Read-only tools and the MCP server let agents inspect schemas and run queries; writes are always rejected.
Core features
Lode is not a general-purpose IDE, and it is more than a read-only client: the parts that database work and agent collaboration need are finished properly.
SQLite, MySQL, PostgreSQL, and Redis share one workspace while keeping per-connection settings and capabilities.
Browse tables, views, indexes, and triggers per database; open a table to inspect its structure and data.
Tree-sitter highlighting and a dedicated editor host keep completion, selection, and scrolling native.
Edits land in an in-memory change queue and write back together after confirmation, so mistakes stay reversible.
Every execution stays in local history for review, re-run, or another pass.
List connections, describe schemas, run read-only queries, and sample sensitive tables under per-connection permissions.
Agent access
Agent tools and the MCP server share one read-only policy: access is granted per connection, sensitive samples need explicit approval, and every call is written to an audit log.
Read-only policy
Write statements are rejected at the policy layer before reaching the database.
Per-connection allowlist
Only connections you explicitly allow are exposed to agents.
Auditable log
Cross-connection access and sensitive samples are recorded in the audit log in Settings.
Agent access allowlist
Audit log
3 entriesLocal first
Lode is a native macOS app: connection settings, query history, and audit logs live on this Mac. No account, and no database contents uploaded.
On-device storage
Connections, history, and logs stay on this Mac.
MCP token
lode-db-mcp accepts only a local token, stored with 0600 permissions.
Native SwiftUI
The shared Lumi Kernel / Provider / Plugin architecture keeps the UI and drivers in-process.
Platform & license
A native SwiftUI app built from the repository. GPLv3 licensed, open to review and contribution.
macOS
14.0+
GPLv3
Open source
SQLite, MySQL, PostgreSQL, and Redis can all be connected and managed in one workspace.
Build it from the GitHub source for now; it is not on the App Store yet.
No. Agent tools and the MCP server expose read-only capabilities only, and write statements are rejected at the policy layer.
Build lode-db-mcp, create a token with --generate-token, then launch it over stdio in your MCP client with LODE_MCP_TOKEN set.
No. Connections, query history, and audit logs stay on your Mac. Lode needs no account and uploads no database contents.
SSH agent forwarding, password commands, and local tunnel listeners cannot be expressed inside the sandbox. Lode substitutes least privilege, a read-only policy, and audit logging; the trade-off is recorded in docs/security-model.md.
View the source on GitHub, or clone it and build your own.
Go to GitHubmacOS 14.0+ · GPLv3 · Local first
Found a bug or have a feature idea? Let us know and help shape Lode.