DRZL
Zero‑friction codegen for Drizzle ORM. Analyze your schema. Generate validation, services, and routers fast.
Sponsor
- GitHub Sponsors: https://github.com/sponsors/omar-dulaimi
Power your agent
पब्लिशर की अपनी कमांड। PlugMCP एंडपॉइंट नहीं।
Host a copy with our keys and logs.
npx -y @drzl/[email protected]Claude Code में लोकल कमांड के लिए इंस्टॉल लिंक नहीं है। नीचे दी गई कमांड कॉपी करें और टर्मिनल में चलाएँ।
claude mcp add drzl-generator-mcp -- npx -y @drzl/generator-mcp@0.1.0टर्मिनल में चलाएँ।
{ "mcpServers": { "drzl-generator-mcp": { "command": "npx", "args": [ "-y", "@drzl/[email protected]" ] } }}claude_desktop_config.json
रिमोट URL या आपकी मशीन पर कमांड? दोनों इंस्टॉल में क्या अंतर है
PlugMCP पर चलाएँ
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
लॉन्चपब्लिशर से
Zero‑friction codegen for Drizzle ORM. Analyze your schema. Generate validation, services, and routers fast.
Generate Model Context Protocol tools from a Drizzle schema, one module per table, so a language model is told each column's real bounds before it writes a row rather than after the database refuses one.
sponsor-wanted (or open one) and DM @omardulaimidev so we can reserve it for you.@drzl/cli brings every one of themPostgres in-process via PGlite, SQLite via node:sqlite, and MySQL as a CI service container, on
every commit. The run behind this README printed:
1476 probes against a real Postgres (41 columns)
59 CHECK probes against a real Postgres (15 constrained columns)
rows Postgres rejects and the validator accepts: DRZL 0, drizzle-orm 24
32 CHECK probes against a real SQLite (10 constrained columns)
37 probes against a real MySQL
Those lines are compared against the run itself, line by line, by
scripts/verify/stages/35-docs-numbers.sh, so a number here that stops being true fails the build
rather than sitting in a README nobody rechecks. See how it is
verified.
pnpm add @drzl/cli -D
pnpm drzl init
pnpm drzl generate -c drzl.config.ts
Minimal config
// drzl.config.ts
import { defineConfig } from '@drzl/cli/config';
export default defineConfig({
schema: 'src/db/schemas/index.ts',
outDir: 'src/api',
generators: [
{ kind: 'zod', path: 'src/validators/zod' },
{ kind: 'service', path: 'src/services', dataAccess: 'drizzle' },
{ kind: 'orpc', template: '@drzl/template-orpc-service' },
],
});
Runtime
drzl CLI, which is what its own dependencies requirepackages/analyzer: schema analysispackages/cli: CLI (drzl)packages/generator-orpc: oRPC router generatorpackages/generator-trpc: tRPC v11 router generatorpackages/generator-hono: Hono route generatorpackages/generator-express: Express 5 router generatorpackages/generator-fastify: Fastify 5 plugin generatorpackages/generator-nestjs: NestJS DTO and entity class generatorpackages/generator-graphql: GraphQL SDL and resolver-stub generatorpackages/generator-effect-http: Effect Platform HttpApi generatorpackages/generator-h3: h3 and Nitro route handler generatorpackages/generator-elysia: Elysia route generatorpackages/generator-seed: constraint-satisfying seed data generatorpackages/generator-fast-check: constraint-bounded fast-check arbitrary generatorpackages/generator-pothos: Pothos schema builder generatorpackages/generator-ts-rest: ts-rest contract generatorpackages/generator-openapi-fetch: typed openapi-fetch client generatorpackages/generator-forms: react-hook-form and TanStack Form resolver and field-metadata generatorpackages/generator-ai: AI SDK tool generatorpackages/generator-mcp: Model Context Protocol tool generatorpackages/generator-next: Next.js server action generatorpackages/generator-tanstack-start: TanStack Start server function generatorpackages/generator-service: typed service generatorpackages/generator-zod: Zod generatorpackages/generator-valibot: Valibot generatorpackages/generator-arktype: ArkType generatorpackages/generator-typebox: TypeBox generatorpackages/generator-effect: Effect Schema generatorpackages/generator-json-schema: JSON Schema and OpenAPI generatorpackages/validation-core: shared validation utilitiespackages/template-orpc-service: oRPC router template (service‑backed)packages/template-standard: minimal oRPC router templateSee each package’s README for details.
pnpm installpnpm -r run buildpnpm -r testpnpm lintRunnable applications live in examples/. They are workspace members that depend on the
workspace copy of @drzl/cli, so pnpm build and pnpm -r test cover them and a regression in a
generator breaks them.
examples/nextjs-server-actions: a Drizzle schema,
drzl generate, and the emitted zod schemas validating what a form posts to a Next.js server
action, with field errors attributed to the constraint that caused them.VitePress site lives in docs/ (kept out of releases). Local dev:
pnpm -C docs dev
Contributions welcome. See CONTRIBUTING.md.
Apache-2.0
Generate Model Context Protocol tools from a Drizzle schema, one module per table, so a language model is told each column's real bounds before it writes a row rather than after the database refuses o
{ "mcpServers": { "drzl-generator-mcp": { "command": "npx", "args": [ "-y", "@drzl/[email protected]" ] } }}ओवरव्यू
Generate Model Context Protocol tools from a Drizzle schema, one module per table, so a language model is told each column's real bounds before it writes a row rather than after the database refuses one.
टूल
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
FAQ
इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
इस रिकॉर्ड में कोई ज़रूरी एनवायरनमेंट वेरिएबल दर्ज नहीं है।
@drzl/generator stdio पर लोकल चलता है।
पिछली जाँच 2026-11-16 को हुई। Generate Model Context Protocol tools from a Drizzle schema, one module per table, so a language model is told each column's real bounds before it writes a row rather than after the database refuses one.