Package Exports
- @kubb/core
- @kubb/core/fs
- @kubb/core/hooks
- @kubb/core/package.json
- @kubb/core/transformers
- @kubb/core/utils
Readme
Quick Start
Get started with Kubb in seconds:
npx kubb initThe interactive setup will:
- Create a
package.json(if needed) - Guide you through plugin selection
- Install packages automatically
- Generate
kubb.config.ts
Then generate your code:
npx kubb generateSee the documentation for detailed usage and advanced features.
Features
- Works with Node.js 20+.
- Convert Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1 to TypeScript, Zod, React-Query, ...
- Plugin ecosystem to extend beyond the default plugins we provide.
- CLI support with progress bar and detailed logs.
- Model Context Protocol (MCP) server for AI assistants like Claude, Cursor, and other MCP-compatible tools.
- Debug tools with React DevTools.
- Generates barrel files (index.ts).
- And so much more ...
Supporting Kubb
Kubb is an open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
Contributors 
License
Most of this repository is licensed under the MIT License, Copyright © 2025 Stijn Van Hulle. Some components are licensed under AGPL-3.0-or-later.
- Most packages — MIT
@kubb/agent— AGPL-3.0-or-later
See LICENSE for details.