---
title: "Plugins for your API spec · Kubb"
description: "Plugins generate TypeScript types, fetch and axios clients, TanStack Query and SWR hooks, Zod schemas and MSW mocks from your API spec. Pick what you need."
canonical_url: "https://kubb.dev/extensions/kind/plugins"
meta:
  author: "Stijn Van Hulle"
  keywords: "kubb, openapi to typescript, openapi code generator, swagger to typescript, typescript api client, zod, tanstack query, react query, msw, code generation, type safety"
  "og:description": "Plugins generate TypeScript types, fetch and axios clients, TanStack Query and SWR hooks, Zod schemas and MSW mocks from your API spec. Pick what you need."
  "og:image": "https://kubb.dev/_og/s/o_fe20c01abb8350ed.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Plugins for your API spec · Kubb"
  "twitter:image": "https://kubb.dev/_og/s/o_fe20c01abb8350ed.png"
---

> Index of every page on this site: [llms.txt](https://kubb.dev/llms.txt)

**Extensions**

# **Plugins**

Plugins generate TypeScript types, fetch and axios clients, TanStack Query and SWR hooks, Zod schemas and MSW mocks from your API spec. Pick what you need.

15 extensions · updated Nov 2, 2026

Filtered by

[![TypeScript logo](https://kubb.dev/feature/typescript.svg)`plugins: [pluginTs()]`<h2>**TypeScript**</h2>Official@kubb/plugin-ts · v5.4.0UpdatedOct 29 Generates TypeScript types and interfaces from your OpenAPI spec, the typed foundation the other Kubb plugins build on.typescripttypesinterfacesStijn Van Hulle 1.3M 10](https://kubb.dev/extensions/kubb-labs/plugin-ts) [![Zod logo](https://kubb.dev/feature/zod.svg)`plugins: [pluginZod()]`<h2>**Zod**</h2>Official@kubb/plugin-zod · v5.8.0UpdatedOct 29 Generates Zod v4 schemas from your OpenAPI spec so you validate API responses, form input, and query params at runtime.zodvalidationschemaStijn Van Hulle 905.7K 10](https://kubb.dev/extensions/kubb-labs/plugin-zod) [![Client logo](https://kubb.dev/feature/javascript.svg)`plugins: [pluginClient()]`<h2>**Client**</h2>Official@kubb/plugin-client · v5.9.0UpdatedOct 29 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-clientcodegenStijn Van Hulle 458.5K 10](https://kubb.dev/extensions/kubb-labs/plugin-client) [![React Query logo](https://kubb.dev/feature/tanstack.svg)`plugins: [pluginReactQuery()]`<h2>**React Query**</h2>Official@kubb/plugin-react-query · v5.8.0UpdatedOct 29 Generates typed TanStack Query helpers for React from your OpenAPI spec: queryOptions and mutationOptions factories with their cache keys. Set hooks to also get useQuery and useMutation hooks, plus useInfiniteQuery when infinite is set.react-querytanstack-queryreactStijn Van Hulle 440.0K 10](https://kubb.dev/extensions/kubb-labs/plugin-react-query) [![Faker logo](https://kubb.dev/feature/faker.svg)`plugins: [pluginFaker()]`<h2>**Faker**</h2>Official@kubb/plugin-faker · v5.3.0UpdatedOct 29 Generates a Faker.js mock-data factory for every schema in your OpenAPI spec.fakermock-datamocksStijn Van Hulle 387.7K 10](https://kubb.dev/extensions/kubb-labs/plugin-faker) [![MSW logo](https://kubb.dev/feature/msw.svg)`plugins: [pluginMsw()]`<h2>**MSW**</h2>Official@kubb/plugin-msw · v6.1.0UpdatedOct 29 Generates MSW request handlers from your OpenAPI spec so you can mock the API in tests and during local development.mswmock-service-workerapi-mockingStijn Van Hulle 369.0K 10](https://kubb.dev/extensions/kubb-labs/plugin-msw) [![Barrel logo](https://kubb.dev/feature/plugins-light.svg)`plugins: [pluginBarrel()]`<h2>**Barrel**</h2>Official@kubb/plugin-barrel · v5.15.2UpdatedOct 29 Generates index.ts barrel files for every plugin output, plus a root barrel when output.barrel is set on defineConfig.barrelindexexportsStijn Van Hulle 242.0K 1.8K](https://kubb.dev/extensions/kubb-labs/plugin-barrel) [![Fetch logo](https://kubb.dev/feature/javascript.svg)`plugins: [pluginFetch()]`<h2>**Fetch**</h2>Official@kubb/plugin-fetch · v5.11.0UpdatedOct 29 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-clientStijn Van Hulle 122.7K 10](https://kubb.dev/extensions/kubb-labs/plugin-fetch) [![SWR logo](https://kubb.dev/feature/swr.svg)`plugins: [pluginSwr()]`<h2>**SWR**</h2>Official@kubb/plugin-swr · v5.7.0UpdatedOct 29 Generates typed SWR hooks from your OpenAPI spec, so data fetching stays in sync with the API.swrreacthooksStijn Van Hulle 52.7K 10](https://kubb.dev/extensions/kubb-labs/plugin-swr) [![MCP logo](https://kubb.dev/feature/mcp-light.svg)`plugins: [pluginMcp()]`<h2>**MCP**</h2>Official@kubb/plugin-mcp · v5.4.0UpdatedOct 29 Generates a Model Context Protocol server from your OpenAPI spec, so AI assistants can call each operation as a typed tool.mcpmodel-context-protocolaiStijn Van Hulle 51.3K 10](https://kubb.dev/extensions/kubb-labs/plugin-mcp) [![Redoc logo](https://kubb.dev/feature/openapi.svg)`plugins: [pluginRedoc()]`<h2>**Redoc**</h2>Official@kubb/plugin-redoc · v5.2.0UpdatedOct 29 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-docsdocumentationStijn Van Hulle 50.1K 10](https://kubb.dev/extensions/kubb-labs/plugin-redoc) [![Vue Query logo](https://kubb.dev/feature/tanstack.svg)`plugins: [pluginVueQuery()]`<h2>**Vue Query**</h2>Official@kubb/plugin-vue-query · v5.8.0UpdatedOct 29 Generates typed TanStack Query helpers for Vue from your OpenAPI spec: queryOptions factories with their query and mutation keys. Set hooks to also get useQuery and useMutation composables, plus useInfiniteQuery when infinite is set.vue-querytanstack-queryvueStijn Van Hulle 46.4K 10](https://kubb.dev/extensions/kubb-labs/plugin-vue-query) [![Cypress logo](https://kubb.dev/feature/cypress.svg)`plugins: [pluginCypress()]`<h2>**Cypress**</h2>Official@kubb/plugin-cypress · v5.2.0UpdatedOct 29 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-testingStijn Van Hulle 42.9K 10](https://kubb.dev/extensions/kubb-labs/plugin-cypress) [![Axios logo](https://kubb.dev/feature/axios.svg)`plugins: [pluginAxios()]`<h2>**Axios**</h2>Official@kubb/plugin-axios · v5.11.0UpdatedOct 29 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-clientStijn Van Hulle 40.6K 10](https://kubb.dev/extensions/kubb-labs/plugin-axios) [![Playwright logo](https://playwright.dev/img/playwright-logo.svg)`plugins: [pluginPlaywright()]`<h2>**Playwright**</h2>Communitykubb-plugin-playwright · v0.1.0UpdatedOct 31 Generates a typed Playwright request helper per OpenAPI operation that returns the native APIResponse with a typed json().playwrightapi-testinge2e-testingÉric Le Maître — 1](https://kubb.dev/extensions/ericlm/kubb-plugin-playwright) [`@your/extension`<h2>**Bring your own**</h2>Write a plugin, adapter or parser in TypeScript, ship a kubb-extension.json, and submit it to the registry.](https://kubb.dev/docs/5.x/tutorials/creating-plugins)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://kubb.dev/#website","@type":"WebSite","description":"Kubb is an open source code generator that turns an API spec into TypeScript types, API clients, TanStack Query hooks, Zod schemas and mocks.","name":"Kubb","url":"https://kubb.dev/","publisher":{"@id":"https://kubb.dev/#identity"}},{"@id":"https://kubb.dev/extensions/kind/plugins#webpage","@type":"WebPage","description":"Plugins generate TypeScript types, fetch and axios clients, TanStack Query and SWR hooks, Zod schemas and MSW mocks from your API spec. Pick what you need.","name":"Plugins for your API spec · Kubb","url":"https://kubb.dev/extensions/kind/plugins","isPartOf":{"@id":"https://kubb.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://kubb.dev/extensions/kind/plugins"]}],"primaryImageOfPage":{"@id":"https://kubb.dev/#logo"}},{"@id":"https://kubb.dev/#identity","@type":"Organization","description":"Kubb is an open source code generator. It turns an API spec, such as OpenAPI, into TypeScript types, API clients, TanStack Query hooks, Zod schemas and mocks.","email":"kubb@kubb.dev","name":"Kubb","url":"https://kubb.dev","founder":{"@id":"https://kubb.dev/#founder"},"logo":{"@id":"https://kubb.dev/#logo"},"sameAs":["https://github.com/kubb-labs/kubb","https://discord.gg/shfBFeczrm","https://www.linkedin.com/company/kubb-labs"]},{"@id":"https://kubb.dev/#logo","@type":"ImageObject","caption":"Kubb","contentUrl":"https://kubb.dev/logo.png","inLanguage":"en","url":"https://kubb.dev/logo.png"}]}
```

## Sitemap

See the full [sitemap](https://kubb.dev/sitemap.md) for all pages.
