Give Your AI Agent Your Prod Database. Safely.

Local databases, sandboxes, dry runs, per-database rules, review and undo. All built in for your coding agent.
  • 100+ commands in one palette ⌘K
  • 90+ schema, performance and health checks
  • 50+ agent tools, with a dry run and backup before prod changes
Download for macOS

7-day free trial · No credit card · Then $49 once, no subscription

Works with Claude Code Codex Cursor OpenCode
Every engine

One App, and One Plugin, for Every Database You Run

PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, ClickHouse, CockroachDB and Cloudflare D1, plus the platforms built on them. You and your agent get the same connections.
PostgreSQL
MySQL
SQLite
SQL Server
MariaDB
CockroachDB
ClickHouse
PostgreSQL
MySQL
SQLite
SQL Server
MariaDB
CockroachDB
ClickHouse
PostgreSQL
MySQL
SQLite
SQL Server
MariaDB
CockroachDB
ClickHouse
PostgreSQL
MySQL
SQLite
SQL Server
MariaDB
CockroachDB
ClickHouse
PostgreSQL
MySQL
SQLite
SQL Server
MariaDB
CockroachDB
ClickHouse
PostgreSQL
MySQL
SQLite
SQL Server
MariaDB
CockroachDB
ClickHouse
Supabase
Neon
PlanetScale
Cloudflare D1
Raycast
Apple Spotlight
Supabase
Neon
PlanetScale
Cloudflare D1
Raycast
Apple Spotlight
Supabase
Neon
PlanetScale
Cloudflare D1
Raycast
Apple Spotlight
Supabase
Neon
PlanetScale
Cloudflare D1
Raycast
Apple Spotlight
Supabase
Neon
PlanetScale
Cloudflare D1
Raycast
Apple Spotlight
Supabase
Neon
PlanetScale
Cloudflare D1
Raycast
Apple Spotlight
For you

This Isn't an AI Chatbot Stapled to a Query Editor

TableStudio uses your live schema as context - so when you ask "show me orders over $500 last week", it knows your column names. No guessing. Bring your GitHub Copilot subscription or any OpenAI-compatible endpoint and tune model, temperature, and system prompts per connection.
  • Schema-Aware AI Chat
    Ask questions against your actual tables and columns. No hallucinated column names, no generic guesses - just working SQL from an AI that knows your database.
  • Natural Language Browse
    Find records in any table using plain English. TableStudio generates SQL in the right dialect for whichever database you are connected to, runs it, and shows you the rows.
  • Bring Your Own Model
    Already paying for GitHub Copilot or Codex? Connect it here. Tune model, temperature, and system prompt per connection.

The Index You're Missing Is Costing You Every Request

Dead tuples, unused indexes, bloated tables, missing keys - they accumulate quietly in every engine until they don't. TableStudio watches your real query patterns and surfaces exactly what's missing, with estimated speedup percentages before you apply anything.
  • Index Suggestions, Earned
    Based on your real query patterns - not heuristics. Estimated speedup shown before you apply. One click to review, one click to run.
  • ER Diagrams You Can Talk To
    Ask how orders reach payments and the diagram highlights the path. Your agent can open it too, centered on the table it's working on.
  • Schema Diffs That Matter
    Compare dev vs staging vs production side by side. Spot drift before it becomes an incident.
TableStudio schema insights panel with suggested indexes, an ER diagram preview, and a database hygiene score

Localhost, Finally in Plain Sight

Postgres.app and Homebrew start a server and leave you guessing whether it's even running. TableStudio picks up the Postgres, MySQL, and ClickHouse servers already on your Mac, data untouched, or creates fresh ones. Start and stop them, launch them at login, back them up to your Mac or S3, and see uptime, connections, disk use, and every database at a glance.
  • Let Your Agents Run It Too
    Claude Code, Cursor, or any MCP client can list, start, stop, and spin up local databases on their own. Starting, stopping, and creating are separate permissions, so an agent only gets what you allow.
  • Logs Without the Hunt
    No more digging through ~/Library or brew paths. The server log sits right next to the stats, so a failed start explains itself.
  • Share It With a Teammate
    Open a Cloudflare Tunnel to any local server and send them the connect command. Guard it with a Cloudflare Access policy and switch it off when you're done.
TableStudio's Local Databases window: every Postgres, MySQL and SQLite database on the Mac as a card, with its version, port, data folder and whether it's running

Your Keyboard Should Run the Show

⌘K opens a context-aware command palette that knows where you are and what you're doing. Switch connections, run queries, open migrations, compare schemas - without touching your mouse.
  • Context-Aware Commands
    The palette adapts to what you have open. In the query editor? You get query actions. In the schema browser? Schema actions.
  • Everything, Instantly
    Connect to a database, jump to a table, trigger a backup, open the ER diagram - any action in the app, one keystroke away.
  • Fuzzy Search Across Everything
    TableStudio, connections, recent queries, migrations - all searchable from one place. No hunting through menus.
Agent Center

See Everything Your Agent Did With Your Data

Every conversation, from every agent, in one window: which agent, which repo, which chat, and each call it made. What it read, what it dry-ran, what it proposed and what TableStudio stopped. Open Chat takes you straight back to the conversation.
  • Every Call, by Conversation
    Calls are filed under the chat that made them, so you can follow a session from its first question to its last change.
  • What Was Stopped, and Why
    A production write, a write without a dry run, a function with side effects. The agent is told the safe route, and you see the attempt.
  • It Stays on Your Mac
    The record lives in TableStudio's own files for 30 days. The plugin only ever talks to TableStudio on localhost.
The Agent Center overview: this week's conversations, tool calls, proposals, direct changes and calls stopped by safety rules, with the changes waiting for review
Undo

Every AI Change Comes With an Undo

Before your agent changes a row, TableStudio saves the rows it's about to touch, including the ones a foreign key cascades to, on every engine. Undo that one change from the Agent Center without restoring the whole database. Schema changes save the schema first, and a change it can't save row by row gets a full restore point or goes to your review.
  • Undo One Change, Not the Whole Day
    Put back exactly the rows a change touched. Everything written since stays where it is.
  • Dry-Run First
    An undo is checked before it runs. A row someone changed since is skipped and listed, never overwritten.
  • Your Rules, per Database
    Save every change or only deletes, pick when a full restore point is taken, and what happens when rows can't be saved.
The Agent Center with a change from Claude Code open: the rows saved before it ran, and Undo
Works with your agent

Give Your Agent the Whole Toolbox

Claude Code, Codex, Cursor and OpenCode get TableStudio's tools and checks on every database you've connected. TableStudio sets up the plugin when it first opens.
55+MCP toolsFrom the schema to a staged migration
78Query rules20 catch wrong answers, not just slow ones
96Health checksBloat, locks, wraparound, replication lag
67Schema checksFixes come with their rollback SQL
8EnginesOne plugin for all of them
Download for macOS

7-day free trial · No credit card · Then $49 once, no subscription

Or install TableStudio and the plugin from the terminal:

$ curl -fsSL https://tablestudio.sh/install | bash
Features

And Everything Else, in the Same App

Local servers, sandboxes, migrations between platforms, sync, tunnels and more. All included, nothing extra to install.
Local Servers
Postgres, MySQL, ClickHouse and CockroachDB servers on your Mac, started and stopped from TableStudio. The ones Homebrew and Postgres.app set up are picked up, data untouched.
Sandboxes
A throwaway local copy of any database in one step, on the same engine, with its real rows or none. Try the risky migration there first, or hand it to your agent.
Move Between Hosts and Engines
From the cloud to your Mac, one host to another, or Postgres to MySQL. A pre-flight report flags what won't translate before anything is copied.
Data Sync
Make one database's rows match another's. Only the differences are written, parents before children, then it checks the two really match.
Tunnels
Put a local server online through a Cloudflare Tunnel and send a teammate the connect command. Switch it off and it's gone.
Backups & Restore Points
Back up in each engine's own format to your Mac or any S3 bucket, and snapshot a whole database before a risky change. D1 and ClickHouse Cloud included.
Index Advisor
The fewest indexes that cover the most database time, from your real workload, proven against the planner before one is built. Postgres.
Drop an Index Safely
Hide an "unused" index from the planner and see which queries would get slower before you drop it. Postgres.
Schema Compare to Script
Compare dev with production and get the migration script that closes the gap, written for the target's engine.
Migration Watcher
Watches your Drizzle or Prisma migrations folder and tells you what's pending, failed or drifted, with the SQL right there.
Workflows
Chain backups, health checks, exports and SQL into one saved run, like a backup that restores itself into a sandbox to prove it works.
Your Host's Tools, Built In
Link your database host's account and its own tools, from branches to logs, work next to TableStudio's. Anything irreversible still asks you first.
Pricing

One Payment. Lifetime Activation.

No monthly subscription. No annual renewal. Pay once, own it forever - every future update included.
Free Trial
7-day trial
Try the full app free for 7 days.
Free
  • Every feature unlocked
  • No credit card
  • No account needed
Lifetime
Pay once, keep it forever.
$49
 one-time payment
  • Every feature, no add-ons
  • 1 Mac per license
  • Every database engine
  • Free updates for life
  • Unlimited connections
Team
Lifetime licenses for your whole team.
$44
 per seat - one-time
  • Everything in Lifetime
  • A license key per teammate
  • Assign seats by email
  • One invoice, paid once

$220 total, paid once

Add 5 more seats for $40 per seat

No subscription. No renewal.
FAQ

Common questions

Everything you need to know before you download.

Agents

Safety and privacy

Databases and your Mac

Pricing and licenses

Let Your Agent Near the Database Tonight

7 days, every feature, nothing to sign up for. Install the app, let it set up your agent, and ask about your data. Then keep it for $49, once.