Official and community plugins for Kubb.
This monorepo is home to official and community plugins for Kubb, the meta framework for code generation. Point Kubb at your OpenAPI specification and it generates 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-client |
API client generation (Axios, Fetch) |
| Package | Version | Description |
|---|---|---|
@kubb/plugin-zod |
Zod schema generation for runtime validation |
| Package | Version | Description |
|---|---|---|
@kubb/plugin-react-query |
TanStack Query hooks for React | |
@kubb/plugin-vue-query |
TanStack Query composables for Vue |
| Package | Version | Description |
|---|---|---|
@kubb/plugin-faker |
Faker.js mock data generation | |
@kubb/plugin-msw |
Mock Service Worker handlers | |
@kubb/plugin-cypress |
Cypress e2e test generation |
| Package | Version | Description |
|---|---|---|
@kubb/plugin-redoc |
ReDoc API documentation generation | |
@kubb/plugin-mcp |
Model Context Protocol tools for AI assistants |
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 |
We welcome contributions, and there are a few ways to get involved:
- Found a bug? File it in the issue tracker.
- Have an idea for a plugin or improvement? Open an issue to share it.
- Need help? Ask the community on Discord.
Want to contribute to an existing plugin or add a new one, official or community? See CONTRIBUTING.md for the project structure, prerequisites, local setup, and commands.