Kubb Plugins

August 28, 2026 · View on GitHub

Kubb banner

Stars License OC Backers

Documentation · Report Bug · Request Feature


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

PackageVersionDescription
@kubb/plugin-tsnpm versionTypeScript types and interfaces generation

Clients

PackageVersionDescription
@kubb/plugin-axiosnpm versionType-safe HTTP client based on Axios
@kubb/plugin-fetchnpm versionType-safe HTTP client based on the Fetch API

Zod

PackageVersionDescription
@kubb/plugin-zodnpm versionZod schema generation for runtime validation

Data fetching

PackageVersionDescription
@kubb/plugin-react-querynpm versionTanStack Query hooks for React
@kubb/plugin-vue-querynpm versionTanStack Query composables for Vue
@kubb/plugin-swrnpm versionSWR hooks for React

Testing and mocking

PackageVersionDescription
@kubb/plugin-fakernpm versionFaker.js mock data generation
@kubb/plugin-mswnpm versionMock Service Worker handlers
@kubb/plugin-cypressnpm versionCypress e2e test generation

Documentation and AI

PackageVersionDescription
@kubb/plugin-redocnpm versionReDoc API documentation generation
@kubb/plugin-mcpnpm versionModel 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

ExampleDescription
typescriptGenerate TypeScript types
clientGenerate API clients with Axios
fetchGenerate API clients with Fetch
zodGenerate Zod validation schemas
react-queryGenerate React Query hooks
vue-queryGenerate Vue Query composables
fakerGenerate Faker.js mock data
mswGenerate MSW handlers
cypressGenerate Cypress tests
mcpGenerate MCP tools
advancedAdvanced multi-plugin configuration

Contributing

We welcome contributions, and there are a few ways to get involved:

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 Contributors

Stijn Van Hulle
Stijn Van Hulle

💻
Alfred
Alfred

💻
Kirill Agalakov
Kirill Agalakov

💻
Nick Williams
Nick Williams

📖
helt
helt

💻
Vasily Mikhaylovsky
Vasily Mikhaylovsky

💻
Chaim Lev-Ari
Chaim Lev-Ari

💻
Pavel Belousov
Pavel Belousov

💻
Dmitry Belov
Dmitry Belov

💻
Alex Burgel
Alex Burgel

💻
Daniel Garcia
Daniel Garcia

💻
wuyuanyi135
wuyuanyi135

💻
Chris Thompson
Chris Thompson

💻
Caleb Hoyoul Kang
Caleb Hoyoul Kang

💻
Gregory Zhukovsky
Gregory Zhukovsky

💻
Christoffer Nørbjerg
Christoffer Nørbjerg

💻
CHE1RON
CHE1RON

💻
ekaradon
ekaradon

💻
Thijmen Stavenuiter
Thijmen Stavenuiter

💻
Bohdan Husak
Bohdan Husak

📖
Éric Le Maître
Éric Le Maître

💻
Rubens Pereira do Nascimento
Rubens Pereira do Nascimento

💻
Matt Sutkowski
Matt Sutkowski

💻
Vítor Camacho
Vítor Camacho

💻
Václav Procházka
Václav Procházka

💻
Luiz Bett
Luiz Bett

💻
Sebastian Andersen
Sebastian Andersen

💻
Akino
Akino

💻
Ricardo Machado
Ricardo Machado

💻
Simon El Nahas
Simon El Nahas

📖
maartenvansambeek
maartenvansambeek

💻
Stefan du Fresne
Stefan du Fresne

💻
Hugo Felippe de Souza Cruz
Hugo Felippe de Souza Cruz

💻
Sébastien Vanvelthem
Sébastien Vanvelthem

💻
Vitaly Gashkov
Vitaly Gashkov

📖
Duco Drupsteen
Duco Drupsteen

💻
th3l0g4n
th3l0g4n

💻
rxliuli
rxliuli

💻
humarkx
humarkx

💻
Jakub Cerovsky
Jakub Cerovsky

💻
Pachara Chantawong
Pachara Chantawong

💻
Volodymyr Kushnir
Volodymyr Kushnir

💻
GKNewsrooms
GKNewsrooms

💻
Kamil Stepczuk
Kamil Stepczuk

💻
João Brilhante
João Brilhante

💻
Kamil Sieradzki
Kamil Sieradzki

💻
Eric Pierlot
Eric Pierlot

💻
Alexander Sjöcrona Tholin
Alexander Sjöcrona Tholin

💻
Stephen Zhou
Stephen Zhou

💻
Ilia Choly
Ilia Choly

💻
Alex Skoropad
Alex Skoropad

💻
Jay Patel
Jay Patel

💻
Hamza Mihai Daniel
Hamza Mihai Daniel

💻
Alexis Rico
Alexis Rico

💻
Aayush Kapoor
Aayush Kapoor

💻

Sponsors

Kubb's development is funded by sponsors. To support the project, become a sponsor on GitHub or back us on Open Collective.

stijnvanhulle sponsors

License

MIT © Stijn Van Hulle

Star history

Star history chart