1. Conduid
  2. Documentation
  3. Kubb
MCP server · Documentation

Kubb

🧡 Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.

64Good

Scored 5 hours ago · breakdown

About Kubb

Kubb is an MCP server published by kubb-labs in the Documentation category: 🧡 Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.

The repository has 1.8K stars and 149 forks, with the last commit 19 hours ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/kubb-labs/kubb

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Kubb

Powered by Claude · Grounded in docs

I know everything about Kubb. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.

2 checks have not been run yet.

Releases

kubb@5.11.0v5.11.0 · 16 Oct 2026@kubb/core Features Filter operations by vendor extension. `include`, `exclude`, and `override` accept `{ type: 'extension', key: 'x-…', value? }`, which matches `OperationNode.extensions`: the key must be present and, when `value` is…
kubb@5.10.4v5.10.4 · 15 Oct 2026@kubb/adapter-oas Bug Fixes Keep function and class names in the CommonJS build, as the ESM build already does. Two builds wrote `.cjs` files to the same folder, so a published package could ship the copy without names.…
kubb@5.10.3v5.10.3 · 15 Oct 2026@kubb/adapter-oas Bug Fixes Ship separate CommonJS type declarations, so `require` consumers get correct types under `moduleResolution: node16` and `nodenext`. Points the `require` condition at new `.d.cts` files. It used to reuse the ESM…
kubb@5.9.6v5.9.6 · 15 Oct 2026@kubb/adapter-oas Bug Fixes Keep `allowReserved` on parameters. `ParameterNode` gains an optional `allowReserved` flag, and the OAS adapter copies it from the source parameter like `style` and `explode`, so plugins can read the flag and…
kubb@5.9.5v5.9.5 · 15 Oct 2026@kubb/studio Bug Fixes Agents granted `--allow-read` keep the Kubb AST (`InputNode`) of each generation and return it through the new `readInput` call, so Kubb Studio can describe your API in the names Kubb generates. The permission prompt…

README

npm version npm downloads Stars License Coverage Node OC Backers

Kubb

Turn your API spec into type-safe code

Kubb turns an API spec, such as OpenAPI, into TypeScript types, API clients, hooks, validators and mocks, and keeps them in sync with your API. It reads OpenAPI 2.0, 3.0 and 3.1.

Installation

bun add kubb
# or
pnpm add kubb
# or
npm install kubb

Quick start

Run the setup wizard to create a kubb.config.ts:

npx kubb init

The wizard creates a package.json if needed, guides you through plugin selection, installs packages, and writes kubb.config.ts. Then generate your code:

npx kubb generate

See the documentation for detailed usage and advanced features.

Kubb Studio

Kubb Studio is the visual companion for Kubb. Configure, run, and inspect generations in the browser while Kubb runs in your project or on an agent you control.

Try Studio's shared sandbox, connect a local project, or publish reviewable snapshots from CI. Kubb remains MIT-licensed and works without Studio.

Features

  • Generate TypeScript types, type-safe clients, TanStack Query and SWR hooks, Zod validators, Faker mocks, and MSW handlers from one schema.
  • Generate a typed axios or Fetch client with status-keyed results, auth, validation, file uploads, server-sent events, interceptors, and a swappable transport.
  • Read OpenAPI 2.0, 3.0, and 3.1 through adapters like @kubb/adapter-oas, with output for Node.js and Bun.
  • Enable only the plugins you need: plugin-ts, plugin-axios, plugin-fetch, plugin-react-query, plugin-vue-query, plugin-swr, plugin-zod, plugin-faker, plugin-msw, plugin-cypress, plugin-redoc, plugin-mcp.
  • Shape the output by grouping files by tag, including or excluding operations, and writing to disk, memory, or a custom storage backend.
  • Build your own plugins, generators, adapters, and renderers with the kubb/kit authoring toolkit, plus a JSX renderer for component-based output.
  • Run generation in your bundler with unplugin-kubb for Vite, Nuxt, Astro, webpack, and more.
  • Drive generation from AI tools over the built-in MCP server (Claude, Cursor) or inside Claude Code.

Supporting Kubb

Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:

Contributing

We welcome contributions that help improve Kubb. A few ways to get involved:

See CONTRIBUTING.md for the project structure, local setup, and commands.

Contributors Contributors

License

This repository is licensed under the MIT License, Copyright © 2025 Stijn Van Hulle.

See LICENSE for details.

Star history

README fetched from the repository 4 hours ago. The original is authoritative.

Questions

About Kubb

How do I install Kubb?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Kubb safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 4 of the 4 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Kubb still maintained?

Yes — the latest release is kubb@5.11.0 (16 Oct 2026), and the last commit was 19 hours ago. The repository has 1.8K stars and 5 open issues.