Gulliver

Test on tiny data before you run on giant data.
An open-source MCP server and CLI that gives AI agents a dress rehearsal for SQL: estimate the cost, fix the slow parts, rehearse on 1% → 3% → 10% of the data, predict what 100% will do, and only run the full query inside a budget.
Website ·
Quick start ·
Install ·
Auto-fix ·
Guards ·
CI ·
Compare ·
FAQ ·
Roadmap
Works with Claude Code, Codex, Cursor, Gemini CLI, Claude Desktop, VS Code, Windsurf and any MCP client, on DuckDB, Postgres, BigQuery and Snowflake.
New in 0.4.0: data quality checks you define once in gulliver.toml and run in CI with
gulliver check --all, gulliver lint --baseline so an existing repo only sees new findings, gulliver prune,
gulliver calibration, gulliver receipt --list, column-level gulliver diff, lint rules GV016-GV018, and
refusal of bad budgets, unknown config keys and out-of-range flags instead of silently misreading them. See the
changelog.
In 0.3.0: a read-only gate that also blocks side-effect functions, SQL hidden in strings and file
access, with DuckDB sandboxed in the engine. A result guard for personal data and prompt injection in rows. A
runaway guard for loops and per-agent budgets. Lint for CI (SARIF, pre-commit), gulliver fix --verify,
gulliver top, and gulliver review with a GitHub Action. One breaking change in 0.3.0: DuckDB can no
longer read files outside the database folder and the current folder unless you allow them
(details).

A real recording of the CLI on the demo database (script: docs/demo.sh).
In Gulliver's Travels, Gulliver visits Lilliput, a land of tiny people, and Brobdingnag, a land of giants.
Gulliver does the same with your data: it tries your query in Lilliput first, and only walks into Brobdingnag
when it knows what will happen there.
Why
Agents write SQL that works on a small table and breaks on a big one. They do not know that events has
5 billion rows, that a join multiplies rows, or that a forgotten partition filter scans every day since 2019.
Benchmarks score agents on is the answer right, never on what did it cost or does it still work at 100x.
One unlucky query can burn a monthly budget.
Gulliver sits between the agent and the warehouse: