Kubb Plugins
August 28, 2026 · View on GitHub
Kubb Plugins
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, TanStack Query hooks for React, composables for Vue, SWR hooks, Faker mocks, MSW handlers, and more.
Want to build your own plugin? See CONTRIBUTING.md.
Official plugins
Maintained by the Kubb team. Kubb v5 OpenAPI configs use @kubb/adapter-oas as the adapter layer.
TypeScript
| Package | Version | Description |
|---|---|---|
@kubb/plugin-ts | TypeScript types and interfaces generation |
Clients
| Package | Version | Description |
|---|---|---|
@kubb/plugin-axios | Type-safe HTTP client based on Axios | |
@kubb/plugin-fetch | Type-safe HTTP client based on the Fetch API |
Zod
| Package | Version | Description |
|---|---|---|
@kubb/plugin-zod | Zod schema generation for runtime validation |
Data fetching
| Package | Version | Description |
|---|---|---|
@kubb/plugin-react-query | TanStack Query hooks for React | |
@kubb/plugin-vue-query | TanStack Query composables for Vue | |
@kubb/plugin-swr | SWR hooks for React |
Testing and mocking
| 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 |
Documentation and AI
| Package | Version | Description |
|---|---|---|
@kubb/plugin-redoc | ReDoc API documentation generation | |
@kubb/plugin-mcp | Model Context Protocol tools for AI assistants |
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.
Examples
| 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 |
Contributing
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.
Contributors 
Sponsors
Kubb's development is funded by sponsors. To support the project, become a sponsor on GitHub or back us on Open Collective.