Lightweight, type-safe TypeScript ORM for SQL databases
open sourceApache-2.0freeMCP
Drizzle ORM is a headless TypeScript ORM for PostgreSQL, MySQL, SQLite, SingleStore, MSSQL and CockroachDB. It has both a relational query API and a SQL-like one, is type-safe, and is lightweight and serverless-ready, with drivers for hosted databases such as Neon, Supabase, PlanetScale and Vercel Postgres. Its companion Drizzle Kit generates and runs migrations, pushes and pulls schemas and opens Drizzle Studio, and ships an MCP server that lets a coding agent generate migrations and pull schemas.
Problems it solves
- type-safe database queries in a TypeScript backend
- an ORM that works in serverless and edge functions
- generate SQL migrations from my TypeScript schema
Features
- relational and SQL-like query APIs
- type-safe queries
- migrations, push and pull with Drizzle Kit
- Drizzle Studio
- PostgreSQL, MySQL, SQLite, SingleStore, MSSQL and CockroachDB
- MCP server for coding agents
Capabilities
| Has an MCP server | plan not known |
|---|
Alternatives
The same job
These do what Drizzle ORM does.
- Prisma ORM One schema. Every query type-safe.
- TypeORM TypeScript ORM with DataMapper and ActiveRecord patterns
- MikroORM TypeScript ORM for Node.js built on Data Mapper, Unit of Work and Identity Map
- sqlc Compile SQL to type-safe code
- Sequelize Feature-rich ORM for modern TypeScript and JavaScript