Skip to content
Extensions

All extensions

Plugins generate code, adapters read your API spec, and parsers print the files. Every listed version is reviewed.

17 extensions · updated

PluginFeatured
TypeScript

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.

typescripttypesinterfaces
Stijn Van Hulle 1.3M 8
PluginFeatured
Zod

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.

zodvalidationschema
Stijn Van Hulle 923.8K 8
Plugin
Client

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.

api-clienthttp-clientcodegen
Stijn Van Hulle 469.3K 8
PluginFeatured
React Query

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.

react-querytanstack-queryreact
Stijn Van Hulle 400.4K 8
ParserFeatured
TypeScript

TypeScript

Official

@kubb/parser-ts · v5.8.2Updated

Prints the Kubb AST to TypeScript source with the official TypeScript compiler, so every plugin writes real `.ts`, `.tsx`, `.js`, and `.jsx` files.

typescripttsxparser
Stijn Van Hulle 383.7K 1.8K
Plugin
Faker

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.

fakermock-datamocks
Stijn Van Hulle 309.2K 8
Plugin
MSW

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.

mswmock-service-workerapi-mocking
Stijn Van Hulle 286.8K 8
AdapterFeatured
OpenAPI

OpenAPI

Official

@kubb/adapter-oas · v5.8.2Updated

Reads an OpenAPI 2.0, 3.0, or 3.1 spec and converts every schema and operation into the AST that Kubb plugins generate from, so one adapter feeds the whole build.

openapiswaggerapi-spec
Stijn Van Hulle 284.1K 1.8K
PluginFeatured
Barrel

Barrel

Official

@kubb/plugin-barrel · v5.8.2Updated

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.

barrelindexexports
Stijn Van Hulle 173.5K 1.8K
Parser
Markdown

Markdown

Official

@kubb/parser-md · v5.8.2Updated

Emits `.md` and `.markdown` files from the Kubb AST, joining source blocks as plain markdown and prepending YAML frontmatter from a file's meta.

markdownfrontmatterparser
Stijn Van Hulle 172.2K 1.8K
PluginFeatured
Fetch

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.

api-clientfetchhttp-client
Stijn Van Hulle 83.6K 8
PluginFeatured
SWR

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.

swrreacthooks
Stijn Van Hulle 45.9K 8
Plugin
Redoc

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.

redocapi-docsdocumentation
Stijn Van Hulle 41.7K 8
Plugin
MCP

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.

mcpmodel-context-protocolai
Stijn Van Hulle 40.1K 8
Plugin
Vue Query

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.

vue-querytanstack-queryvue
Stijn Van Hulle 36.3K 8
Plugin
Cypress

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.

cypresse2e-testingapi-testing
Stijn Van Hulle 32.2K 8
PluginFeatured
Axios

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.

api-clientaxioshttp-client
Stijn Van Hulle 26.8K 8
@your/extension

Bring your own

Write a plugin, adapter or parser in TypeScript, ship a kubb-extension.json, and submit it to the registry.