RadarTopicsBuildersWeeklyReads
Open Source Radar
kubb-labs/

kubb

GitHubWebsite

Kubb is a TypeScript-based meta framework for code generation that outputs type-safe TS, Zod validators, and TanStack/React Query hooks from OpenAPI schemas. It uses a plugin-based engine and offers OpenAPI adapters and multiple deployment bindings.

1.8kstars
146forks
10issues
MITlicense
2023since
Star historydaily snapshots by VibeCrowd

Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).

Alternatives & relatedmatched by topic overlap
Reviewgenerated from repository data · Aug 5, 2026

What it is

Kubb is a meta framework for code generation. Point Kubb at a schema and it generates types, clients, hooks, validators, mocks, and more.

How it works

Kubb outputs TypeScript types, type-safe clients, TanStack Query and SWR hooks, Zod validators, Faker mocks, and MSW handlers from a schema. It supports generating a typed axios or Fetch client with features like status-keyed results, auth, validation, file uploads, server-sent events, interceptors, and a pluggable transport. It can read OpenAPI 2.0, 3.0, and 3.1 via adapters such as @kubb/adapter-oas, for Node.js and Bun. Plugins can be enabled selectively (e.g., plugin-ts, plugin-axios, plugin-react-query, plugin-zod, plugin-msw, etc.). Output can be grouped by tag and written to disk, memory, or a custom storage backend. It also provides a toolkit to build custom plugins, generators, adapters, and a JSX renderer for component-based output. Generation can be run in bundlers with unplugin-kubb for Vite, Nuxt, Astro, Webpack, and more. AI-driven generation can be driven via MCP server or Claude Code.

Getting started

Install via npm, pnpm, or bun, then run the setup wizard and generation commands as shown:

bun add kubb
# or
pnpm add kubb
# or
npm install kubb
npx kubb init
npx kubb generate

See the documentation for detailed usage and advanced features.

Recent releases

Latest releases include:

  • unplugin-kubb@5.0.30 (2026-08-04): Patch Changes; updated dependencies to @kubb/core@4.39.3
  • kubb@3.2.3 (2026-08-04): Patch Changes; updated dependencies to @kubb/core@4.39.3, @kubb/cli@4.39.3, @kubb/mcp@4.3
  • @kubb/plugin-zod@4.39.3 (2026-08-04): Patch Changes; updated dependencies to @kubb/core@4.39.3, @kubb/oas@4.39.3
  • @kubb/plugin-vue-query@4.39.3 (2026-08-04): Patch Changes; updated dependencies to @kubb/core@4.39.3, @kubb/oas@4.39.3
  • @kubb/plugin-ts@4.39.3 (2026-08-04): Patch Changes; updated dependencies to @kubb/core@4.39.3, @kubb/oas@4.39.3

Traction

1768 stars, 146 forks, 10 open issues as of latest data.

Behind the repo

Maintained by kubb-labs; repository focuses on code generation tooling with a modular plugin system and adapters for OpenAPI.

Caveats

License: MIT. Created 2023-01-08. Last push 2026-08-04. Language: TypeScript. Open issues: 10.

SharePost on XLinkedIn
All trending reposRevenue-verified startups →