Managed, serverless database with SQLite's SQL semantics
SaaSfreeMCP
D1 is Cloudflare's serverless SQL database: SQLite semantics, queried from Workers and Pages through a binding or from anywhere through the HTTP API. Instead of one large database it's built for many small ones, one per user, tenant or project (up to a million per account on the paid plan, 10 GB each). Time Travel restores a database to any minute in the last 30 days, and read replication adds read-only copies near users to cut read latency. Billing counts rows read, rows written and storage.
Problems it solves
- a SQL database for my Cloudflare Workers app without running a server
- give every customer their own small database instead of one big shared one
- SQLite in production without worrying about the disk it lives on
- restore my database to how it was ten minutes ago after a bad migration
- a cheap database for a side project that costs nothing when nobody's using it
- reads are slow for users far from where the database lives
- query a hosted SQLite database over HTTP from a script
- a serverless database billed by rows read and written, not by instance size
Features
- SQLite SQL semantics
- Workers and Pages bindings
- HTTP API
- Time Travel: restore to any minute in the last 30 days
- read replication
- up to 1,000,000 databases per account on Workers Paid
- 10 GB per database on Workers Paid (500 MB on Free)
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
Alternatives
The same job
These do what Cloudflare D1 does.
- Supabase The Postgres development platform
- Neon Serverless Postgres with branching, autoscaling and scale to zero
- PlanetScale The world's fastest and most scalable cloud databases
- Convex The reactive backend platform that keeps up with you and your agents
