Open Source · MIT Licensed

Safe test databases from production Postgres.

sow connects to your production Postgres, samples representative data with edge cases, replaces all PII with realistic fakes, and gives you isolated database branches that start in seconds. 100% local, zero API calls, zero cost.

sow — quick start
$ npm install -g @sowdb/cli
$ sow connect postgresql://user:pass@host:5432/mydb
✓ Schema analyzed (42 tables)
✓ Data sampled (2,847 rows)
✓ PII sanitized (318 fields)
✓ Snapshot saved (1.8 MB)
$ sow branch create my-feature
→ postgresql://sow:sow@localhost:54320/sow

Features

Everything you need, nothing you don't

PII Safe

All personal data is detected and replaced with realistic fakes.

Agent-First

MCP server, --json mode, SKILL.md for agent context.

Fast

First snapshot in 30-60s. Branches in ~5s. Resets in ~1s.

Checkpoints

Save and restore branch state instantly.

Diff

See exactly what changed: rows added, deleted, modified, schema changes.

Deterministic

Same seed produces identical output every time.

Read-Only

sow never writes to your source database.

Auto-Detect

Scans .env files, Prisma, Drizzle, Knex, TypeORM, Sequelize, Docker Compose.

For AI Agents

First-class MCP support

Give Cursor, Claude Code, Windsurf, or Codex direct access to isolated database branches. Agents can create branches, run migrations, check diffs, and reset — all through MCP tools.

sow — mcp setup
$ npm install -g @sowdb/mcp
$ sow mcp --agent cursor
✓ MCP server started
✓ Tools registered: branch, diff, checkpoint, reset
Ready. Your agent can now create branches,
run migrations, and diff changes.

Or add to your MCP config manually:

{
  "mcpServers": {
    "sow": { "command": "sow-mcp" }
  }
}

Coming Soon

sow Cloud

sow CLI is free, open source, and works 100% locally. Always will be. sow Cloud adds shared connectors, CI/CD without Docker-in-Docker, compliance, and a team dashboard.

Join the Waitlist