Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.
READ ONLY transaction, timeouts). Production connections get a red accent.![]() | ![]() |
| SQL editor: autocomplete, ⌘↩ runs the statement under the caret, EXPLAIN, cancel | Edit rows safely: pending changes, SQL preview, one atomic save |
Grab the latest from Releases:
| Platform | File | How to run |
|---|---|---|
| macOS (native app) | Rowbase-x.y.z.dmg | open, drag to Applications |
| macOS (one file) | rowbase-macos-arm64 | chmod +x rowbase-macos-arm64 && ./rowbase-macos-arm64 |
| Linux x64 / arm64 | rowbase-linux-x64 / -arm64 | chmod +x rowbase-linux-* && ./rowbase-linux-x64 (Ubuntu 20.04+, Debian 10+, RHEL 8+) |
| Windows 10 / 11 | rowbase-windows-x64.exe | double-click |
Started without arguments, the one-file app opens the web UI in your browser. Builds are not code-signed yet: macOS → System Settings → Privacy & Security → Open Anyway; Windows → More info → Run anyway.
Updates. The Mac app: Rowbase → Check for Updates… (from 0.3.0). One-file binaries: rowbase update, or the
Update button in the web UI. PyPI installs: pipx upgrade rowbase-db. The only request is an anonymous check of
GitHub Releases, at most once a day — no telemetry; turn it off with ROWBASE_NO_UPDATE_CHECK=1.
Open AI / MCP in the app, click Copy prompt, paste it into your assistant — it registers the server, reads the built-in guide and creates a reusable skill. Or register manually:
claude mcp add rowbase -- /path/to/rowbase mcp # one-file binary or app
claude mcp add rowbase -- uvx --from rowbase-db rowbase mcp # straight from PyPI, nothing to download
Listed in the official MCP Registry as io.github.djstreet11/rowbase.
Results come back as compact TOON tables (~40% fewer tokens than JSON):
rows[2]{id,customer,total}:
1,"Smith, Bob",9.50
2,ann,null
truncated: false
Tools: guide, connections, databases, tables, describe, search_schema, sample, count, query, explain, find_ref
(+ apply_changes only when you allow writes). Details: docs/MCP.md.
Install from PyPI (pipx install rowbase-db / uv tool install rowbase-db) or use a one-file download.
rowbase add shop 'postgres://me@db.example.com/shop?ssh=deploy@bastion' # read-only unless --rw
rowbase tables -c shop
rowbase q "SELECT * FROM orders WHERE status = 'new'" -c shop --format json
rowbase ui # web UI on http://127.0.0.1:8765
rowbase mcp # MCP server (stdio)
rowbase doctor # environment report
rowbase update # update a one-file binary in place (--check: only check)

python3 -m venv .venv && .venv/bin/pip install -e . && .venv/bin/rowbase uicd native && swift build · releases: docs/RELEASING.mdIssues, ideas and pull requests are welcome — see CONTRIBUTING.md and the Code of Conduct. If Rowbase is useful to you, a ⭐ helps others find it.
Apache-2.0 — see NOTICE and THIRD_PARTY_LICENSES.md.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx rowbase-dbMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-djstreet11-rowbase": {
"command": "uvx",
"args": [
"rowbase-db"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencerowbase-dbpypiRowbase works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.