@kubb/mcp weekly downloads statistics
By kubb (2 listings) · npm · MCP servers
MCP server for Kubb. Exposes code generation as a tool over the Model Context Protocol so AI assistants like Claude, Cursor, and other MCP-compatible clients can generate TypeScript types, clients, and more.
@kubb/mcp has 29,135 recorded weekly downloads on npm, a decrease of 2.6% over the past 30 days.
It ranks #667 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by +462%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About @kubb/mcp
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Stars][stars-src]][stars-href] [![License][license-src]][license-href] [![Node][node-src]][node-href]
Documentation · Report Bug · Request Feature
@kubb/mcp
Model Context Protocol server for Kubb
@kubb/mcp is the MCP server for Kubb. It exposes Kubb code generation as tools over the Model Context Protocol, so AI assistants such as Claude and Cursor can validate a spec and generate TypeScript types and API clients from the chat.
The server has three tools. generate runs a full Kubb build from a kubb.config.ts and returns its build events when the build succeeds. A failed build returns its diagnostics instead. validate checks an OpenAPI spec, and init scaffolds a kubb.config.ts.
Installation
Install as a dev dependency:
[!IMPORTANT] The kubb mcp command comes from @kubb/cli, which the kubb package includes. Install kubb to use it.
Usage
Start the MCP server
Start the server using the Kubb CLI:
Or run it directly as a standalone package:
Both commands start the same server over stdio.
Configure an MCP client
Add one of these entries to your MCP client's config, such as claude_desktop_config.json for Claude Desktop.
Using kubb mcp:
Using the standalone package:
The server looks for kubb.config.* in the directory the client starts it in, and rejects a config path outside that directory. Claude Code starts it in the folder you run claude from, so register it from the project root:
Clients such as Claude Code ignore a cwd key in this config. When a client starts the server in another directory, change into the project first (macOS and Linux):
Available tools
generate
Runs a Kubb build from your config. A successful build returns the build events, and a failed build returns its diagnostics.
Parameters:
• config (string, optional): Path to a config file inside the working directory. Defaults to kubb.config.ts (or .mts, .cts, .js, .mjs, .cjs) in the working directory • input (string, optional): Path to OpenAPI/Swagger spec file (overrides config file setting) • output (string, optional): Output directory path (overrides config file setting) • logLevel (enum, optional): One of 'silent', 'info', 'verbose' (default: 'info'), passed to a config that exports a function
Examples:
Using default config file:
Overriding input and output:
With verbose logging:
validate
Validates an OpenAPI/Swagger specification from a path or URL.
Parameters:
• input (string, required): Path or URL to the OpenAPI/Swagger specification
init
Writes a kubb.config.ts in the working directory without prompts. It does not install packages, and it fails when kubb.config.ts already exists.
Parameters:
• input (string, optional): Path to the OpenAPI spec (default: ./openapi.yaml) • output (string, optional): Output directory (default: ./src/gen) • plugins (string, optional): Comma-separated list of plugins, such as plugin-ts,plugin-zod
Configuration
The generate tool looks for kubb.config.ts in the working directory by default. Pass config to use another config file in that directory.
Example kubb.config.ts:
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:
• Become a Sponsor on GitHub • See sponsorship tiers and our sponsors
License
MIT
Description from the npm listing.
- ai
- codegen
- kubb
- llm
- mcp
- meta-framework
- model-context-protocol
- typescript
Where @kubb/mcp sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (121)Similar npm MCP servers plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@kubb/mcp. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.