Official and community plugins for Kubb.

This monorepo is the home for official and community plugins for Kubb β the meta framework for code generation. Point Kubb at your OpenAPI specification and it generates everything you need: TypeScript types, API clients, Zod schemas, React/Vue/Svelte/Solid Query hooks, Faker mocks, MSW handlers, and more.
Want to build your own plugin? See CONTRIBUTING.md.
Maintained by the Kubb team. Kubb v5 OpenAPI configs use @kubb/adapter-oas as the adapter layer.
| Package |
Version |
Description |
@kubb/plugin-ts |
 |
TypeScript types and interfaces generation |
| Package |
Version |
Description |
@kubb/plugin-zod |
 |
Zod schema generation for runtime validation |
Community Plugins
Plugins built and maintained by the community. Want to add yours? See CONTRIBUTING.md.
No community plugins listed yet β be the first to contribute one!
| Example |
Description |
typescript |
Generate TypeScript types |
client |
Generate API clients with Axios |
fetch |
Generate API clients with Fetch |
zod |
Generate Zod validation schemas |
react-query |
Generate React Query hooks |
vue-query |
Generate Vue Query composables |
faker |
Generate Faker.js mock data |
msw |
Generate MSW handlers |
cypress |
Generate Cypress tests |
mcp |
Generate MCP tools |
advanced |
Advanced multi-plugin configuration |
plugins/
βββ packages/ # Kubb plugins
β βββ plugin-ts/ # TypeScript generation
β βββ plugin-client/ # API client generation
β βββ plugin-zod/ # Zod schemas
β βββ plugin-react-query/# React Query hooks
β βββ plugin-vue-query/ # Vue Query composables
β βββ plugin-faker/ # Faker.js mocks
β βββ plugin-msw/ # MSW handlers
β βββ plugin-cypress/ # Cypress tests
β βββ plugin-redoc/ # ReDoc documentation
β βββ plugin-mcp/ # MCP integration
βββ internals/ # Shared internal utilities (not published)
β βββ utils/ # @internals/utils
β βββ tanstack-query/ # @internals/tanstack-query
βββ examples/ # Usage examples
βββ tests/ # Performance and e2e tests
# Build all packages
pnpm build
# Build examples
pnpm build:examples
# Run all tests
pnpm test
# Watch mode
pnpm test:watch
Want to contribute to an existing plugin or add a new one β official or community? See CONTRIBUTING.md.
MIT Β© Stijn Van Hulle