Plugins
14Generate types, clients, hooks, validators and mocks.
Registry updated
TypeScript
Official@kubb/plugin-ts · v5.0.8Updated
Generates TypeScript types and interfaces from your OpenAPI spec, the typed foundation the other Kubb plugins build on.
Zod
Official@kubb/plugin-zod · v5.4.6Updated
Generates Zod v4 schemas from your OpenAPI spec so you validate API responses, form input, and query params at runtime.
Client
Official@kubb/plugin-client · v5.5.7Updated
Generates typed operation functions from your OpenAPI spec that call a client module you own, so you decide the transport, auth, and error handling.
React Query
Official@kubb/plugin-react-query · v5.3.1Updated
Generates typed TanStack Query hooks for React from your OpenAPI spec, so reads and writes call your API through useQuery, useMutation, and useInfiniteQuery without hand-written boilerplate.
Faker
Official@kubb/plugin-faker · v5.1.3Updated
Generates a Faker.js mock-data factory for every schema in your OpenAPI spec. Use the factories in tests, Storybook, and local development without a running backend.
MSW
Official@kubb/plugin-msw · v5.0.10Updated
Generates MSW request handlers from your OpenAPI spec so you can mock the API in tests and during local development.
Barrel
Official@kubb/plugin-barrel · v5.8.1Updated
Generates an index.ts barrel for every plugin output and one root barrel, so you import all generated code from a single entry point. Ships with Kubb, but only generates barrels once output.barrel is configured.
Fetch
Official@kubb/plugin-fetch · v5.5.9Updated
Generates a type-safe Fetch API client from your OpenAPI spec, one async function per operation, so each call stays in sync with the API.
SWR
Official@kubb/plugin-swr · v5.2.3Updated
Generates typed SWR hooks from your OpenAPI spec, so data fetching stays in sync with the API.
Redoc
Official@kubb/plugin-redoc · v5.0.6Updated
Generates a single-file HTML page from your OpenAPI spec with Redoc, rebuilt on every Kubb run so the docs match the spec your code comes from.
MCP
Official@kubb/plugin-mcp · v5.0.11Updated
Generates a Model Context Protocol server from your OpenAPI spec, so AI assistants can call each operation as a typed tool.
Vue Query
Official@kubb/plugin-vue-query · v5.3.1Updated
Generates TanStack Query composables for Vue from your OpenAPI spec, so every read and write is a typed useQuery, useInfiniteQuery, or useMutation.
Cypress
Official@kubb/plugin-cypress · v5.0.8Updated
Generates a typed cy.request() wrapper per OpenAPI operation so your Cypress tests call the API through generated helpers and catch broken calls at compile time.
Axios
Official@kubb/plugin-axios · v5.5.10Updated
Generates a type-safe axios client from your OpenAPI spec, one async function per operation, so each call stays in sync with the API.
@your/extensionBring your own
Write a plugin, adapter or parser in TypeScript, ship a kubb-extension.json, and submit it to the registry.