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. observed · 2026-10-20
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 88
- Longevity 98
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 1381
- days_rel: 1
- days_push: 1
- n_releases_24m: 319
Adoption not part of the score
1825 stars · 149 forks observed · 2026-10-20
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-10-20 · 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 | 95 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem