Ross ROSS = Recommend OSS · open-source software intelligence for agents

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

github.com/kubb-labs/kubb · homepage · TypeScript · MIT (permissive) 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

Full methodology

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

Member repositories

RepositoryRoleHealth v2
kubb-labs/kubbmain95

For agents

markdown · JSON · MCP: product_card(name="kubb-labs/kubb")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem