kubb-labs/kubb

🧡 Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.

About the project

Kubb is a modular code-generation framework that turns OpenAPI descriptions into type-safe TypeScript code, Zod schemas, and TanStack Query integrations. It is used by TypeScript developers to generate client code and related interfaces from API specifications. The catalogue contains extensions such as skills, commands, hooks, agents, and a plugin that support Kubb workflows.

This repository also configures its own agents. See what kubb tells them →

1.8kStars on the repository
12Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

kubb

01

kubb-labs/kubb

Plugin Claude Code

Bundles 2 skills, 3 commands, 1 agent · 196 tokens together

Kubb turns your API spec into type-safe code. Generate TypeScript types, Zod schemas, Axios and fetch clients, React Query and Vue Query hooks, Faker mocks and more from an OpenAPI spec. The commands run the Kubb CLI, and a bundled MCP server adds conversational generation.

not rated 1.8k +6 changed today A tokens not measured original MIT