Skip to content

Explore Kubb Plugins

Plugins are how you target a stack. Choose the ones you need, or write your own.

11 plugins · updated Jun 8, 2026
Featured
TypeScript

@kubb/plugin-ts

Generate TypeScript types and interfaces from OpenAPI schemas with full type safety end to end.

575K 3
Featured
Zod

@kubb/plugin-zod

Generate Zod v4 schemas from OpenAPI for runtime validation that stays in sync with your TypeScript types.

490K 3
Featured
Client

@kubb/plugin-client

Generate type-safe HTTP clients (axios or fetch) from OpenAPI — one async function per operation, fully typed end to end.

356K 3
Featured
React Query

@kubb/plugin-react-query

Generate TanStack Query hooks for React (useQuery, useMutation, useSuspenseQuery, useInfiniteQuery) from OpenAPI.

253K 3
Official
Faker

@kubb/plugin-faker

Generate Faker.js mock-data factories from OpenAPI for tests, Storybook, and seeded local data.

161K 3
Official
MSW

@kubb/plugin-msw

Generate MSW request handlers from OpenAPI so you can mock the entire API in tests and during local development.

124K 3
Official
Redoc

@kubb/plugin-redoc

Render your OpenAPI spec as a single-file HTML page using Redoc, regenerated as part of the Kubb build.

46K 3
Featured
SWR

@kubb/plugin-swr

Generate SWR hooks (useSWR, useSWRMutation) from OpenAPI specifications.

39K 3
Official
MCP MCP

@kubb/plugin-mcp

Generate a Model Context Protocol (MCP) server from OpenAPI so AI assistants like Claude can call your API as tools.

39K 3
Official
Cypress

@kubb/plugin-cypress

Generate typed `cy.request()` wrappers from OpenAPI so end-to-end tests reuse one source of truth for API calls.

38K 3
Official
Vue Query

@kubb/plugin-vue-query

Generate TanStack Query composables for Vue (useQuery, useMutation, useInfiniteQuery) from OpenAPI.

38K 3
Your plugin

@your/plugin

Bring your own plugin. Write it in TypeScript, publish to npm, it shows up here.

Author guide