kubb-labs/kubb
🧡 The meta framework for code generation. Automate OpenAPI to type-safe TypeScript, Zod, and TanStack Query with a modular, plugin-based engine. observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 87
- Longevity 95
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1333
- days_rel: 9
- days_push: 7
- n_releases_24m: 248
Adoption not part of the score
1789 stars · 146 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Kubb is a meta framework for code generation that turns OpenAPI/Swagger specifications into type-safe TypeScript code via a plugin-based pipeline. It generates types, API clients (Axios/Fetch), React Query/Vue Query/SWR hooks, Zod validators, MSW mocks, and Faker mocks from a single config.
Use cases
- generate TypeScript types from OpenAPI spec
- generate React Query hooks from Swagger
- generate Zod schemas from OpenAPI
- generate MSW mocks and Faker data from API spec
- generate typed Axios or Fetch client from OpenAPI
- generate MCP server from OpenAPI spec
- validate OpenAPI specification
When to choose
- you maintain an OpenAPI/Swagger spec and want type-safe generated clients, hooks, and validators
- you want deterministic, plugin-based codegen with custom output support
- you use React Query, Vue Query, SWR, Zod, or MSW in a TypeScript stack
When to avoid
- your API is not described by OpenAPI/Swagger and you don't want to write a custom adapter
- you need code generation for non-TypeScript target languages out of the box
- you prefer hand-written clients with full manual control
Facets
framework · maturity active
api-framework type-system plugin-system cli developer-tools apis web-development cli openapi codegen zod react-query swagger msw mocks mcp code generation nodejs typescript
10 sources
- readme: https://github.com/kubb-labs/kubb · fetched 2026-08-28 · 6e0e55439b1a
- homepage: https://kubb.dev · fetched 2026-08-29 · 573062192e01
- site_page: https://kubb.dev/docs/5.x/getting-started/introduction · fetched 2026-08-29 · 489cb8652e8d
- site_page: https://kubb.dev/about · fetched 2026-08-29 · f672a438a1af
- site_page: https://kubb.dev/docs/5.x/migration · fetched 2026-08-29 · b3d720cf3062
- site_page: https://kubb.dev/docs/5.x/changelog · fetched 2026-08-29 · 20e681f4c912
- site_page: https://kubb.dev/docs/5.x/guide/concepts/architecture · fetched 2026-08-29 · c33f9abdc018
- site_page: https://kubb.dev/docs/5.x/reference/kit · fetched 2026-08-29 · 089b9d7d3451
- site_page: https://kubb.dev/docs/5.x/community/contributing · fetched 2026-08-29 · f0b31f5cc8e7
- site_page: https://kubb.dev/docs/5.x/ai/claude · fetched 2026-08-29 · e07685998e4c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kubb-labs/kubb | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem