BigHugger
GH Repository · kubb-labs

kubb

🧡 The meta framework for code generation. Automate OpenAPI to type-safe TypeScript, Zod, and TanStack Query with a modular, plugin-based engine.

stars
1,802
30-day movement
+41/day
Related entries
61
Connections
5
TypeScriptfakerzodiosswrplugin-managernodemcpreacttypescriptaxiosmswzodcodegennode/pnpmmcp-serverkubbopenapiswaggerreact-queryvuesvelteclaudesolid

Kubb is a code generation framework that turns OpenAPI specifications into type-safe TypeScript, Zod schemas, and API client code through a plugin-based engine. It also ships as an MCP server, exposing the generator to AI coding agents.

You want a single configurable pipeline that generates consistent typed clients and schemas from an OpenAPI spec instead of hand-writing them.

Use it to

  • Generate TypeScript types from an OpenAPI spec
  • Emit Zod schemas for API validation
  • Scaffold TanStack Query or SWR hooks from OpenAPI
  • Expose code generation to AI agents via MCP
  • Customize output with a plugin architecture

For TypeScript developers building API clients from OpenAPI specs

Role
mcp-server
Language
TypeScript
Licence
MIT
Forks
147
Open issues
6
Last push
2026-09-17
Latest release
@kubb/adapter-oas@4.37.9 · 2026-05-31
topicsopenapicodegentypescriptzodmcpplugins