Beta You're reading the docs for Kubb v5, which is currently in beta. View the stable v4 docs
Skip to content

Explore Kubb Plugins

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

13 plugins · updated Jun 23, 2026
Featured
TypeScript

@kubb/plugin-ts

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

592K 3
Featured
Zod

@kubb/plugin-zod

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

522K 3
Featured
React Query

@kubb/plugin-react-query

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

281K 3
Official
Faker

@kubb/plugin-faker

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

146K 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.

118K 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.

42K 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.

41K 3
Official
Vue Query

@kubb/plugin-vue-query

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

38K 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
Featured
SWR

@kubb/plugin-swr

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

37K 3
Featured
Barrel

@kubb/plugin-barrel

Generates `index.ts` re-export files for every plugin output and one root barrel. Ships with Kubb and is enabled by default.

4K 2K
Featured
Axios

@kubb/plugin-axios

Generate a type-safe axios HTTP client from OpenAPI, one async function per operation, fully typed end to end.

3
Featured
Fetch

@kubb/plugin-fetch

Generate a type-safe Fetch API client from OpenAPI, one async function per operation, fully typed end to end.

3
Your plugin

@your/plugin

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

Author guide