Datasette
$ datasette Community Low Riskdatasette inspects SQLite files and serves them as instant faceted web applications and JSON/CSV HTTP APIs (datasette serve), outputs structured database metadata (datasette inspect), and packages immutable database containers (datasette package).
brew install datasette datasette directly inspects local SQLite files and launches or packages HTTP JSON APIs locally; CLI execution is much cleaner than wrapping it in MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
datasette inspect returns clean JSON directly to stdout, and serve exposes .json/.csv APIs, though serve is a long-running daemon.
datasette inspectemits JSON metadata;serveprovides HTTP JSON/CSV endpoints
Read-only by design for SQLite data exploration, with -i (--immutable) mode and localhost default binding (127.0.0.1).
- Read-only query execution and
-iimmutable SQLite mode
Installable via Homebrew, PyPI, and uvx across macOS, Linux, and Windows; datasette package requires Docker.
- Available via Homebrew, PyPI, and
uvx
Turns any SQLite file into an instant JSON API, SQL workbench, and deployable container with minimal boilerplate.
- Combines metadata inspection, HTTP JSON API, and Docker packaging
Maintained by Simon Willison (simonw/datasette) under Apache-2.0 with an active plugin ecosystem.
- Official
simonw/datasetterepository under Apache-2.0
Thorough CLI reference at docs.datasette.io with clear flag descriptions.
- Official CLI docs at docs.datasette.io
Security, Auth & Guardrails
Read-only SQLite serving needs no credentials; optional plugin secrets or root tokens come from metadata.json / environment variables.
100% free and Apache-2.0 open-source.
# Datasette Agent Rules - Use `datasette inspect <db>` for instant one-shot JSON metadata without starting a daemon. - When starting `datasette serve`, pass `-i` (`--immutable`) for read-only safety and bind `-h 127.0.0.1`. - Remember `datasette serve` is a foreground HTTP server; run it only when a live API/UI is needed.
Agent-Ready Command Recipes
Safe Read-Only Queries
datasette inspect app.db
Emits a JSON summary of tables, columns, foreign keys, and row counts without starting a server.
datasette serve -i app.db -h 127.0.0.1 -p 8001
Launches a read-only local web UI and .json/.csv API endpoint bound to localhost.
Strengths for Agents
- + Read-only by default with
-i(--immutable) mode for safe SQLite inspection. - +
datasette inspectprovides instant one-shot JSON table/column summaries. - + Every view exposed by
datasette serveautomatically supports.jsonand.csvformats.
Caveats & Pitfalls
- !
datasette serveblocks the foreground process as an HTTP server until terminated. - !
datasette packageandpublishdepend on external tools like Docker or cloud provider CLIs.