@nest-openapi/mcp weekly downloads statistics
By nest-openapi · npm · MCP servers
Spec-driven MCP server for exposing OpenAPI operations as tools
@nest-openapi/mcp has 7,984 recorded weekly downloads on npm, an increase of 169% over the past 30 days, ranking #980 of 2,306 tracked listings.
About @nest-openapi/mcp
Features
- 🎯 Single Source of Truth — Your OpenAPI spec drives validation, serialization, mocking, and MCP tools.
- ⚡ Fast by Design — AJV validation and
fast-json-stringifyserialization with caching and precompilation. - 🔌 Drop-in Integration — Works with existing NestJS controllers and routes
- 🎛️ Fine-Grained Control — Per-route opt-out and custom schema overrides
- 🚀 Platform Agnostic — Supports both Express and Fastify adapters
Packages
| Package | Description | Version |
|---|---|---|
@nest-openapi/validator | Automatic request/response validation using your OpenAPI spec | |
@nest-openapi/serializer | High-performance response serialization based on your OpenAPI spec | |
@nest-openapi/mock | Spec-driven mock server for generating realistic mock responses | |
@nest-openapi/mcp | Spec-driven MCP server for exposing OpenAPI operations as tools |
Quick Start
Validator
npm i @nest-openapi/validator
import { Module } from "@nestjs/common";
import { OpenAPIValidatorModule } from "@nest-openapi/validator";
import * as openApiSpec from "./openapi.json";
@Module({
imports: [
OpenAPIValidatorModule.forRoot({
specSource: { type: "object", spec: openApiSpec },
}),
],
})
export class AppModule {}
All routes are automatically validated. See full documentation for advanced configuration.
Serializer
npm i @nest-openapi/serializer
import { Module } from "@nestjs/common";
import { OpenAPISerializerModule } from "@nest-openapi/serializer";
import * as openApiSpec from "./openapi.json";
@Module({
imports: [
OpenAPISerializerModule.forRoot({
specSource: { type: "object", spec: openApiSpec },
responseSerialization: { enable: true, skipErrorResponses: true },
}),
],
})
export class AppModule {}
Responses are automatically serialized. See full documentation for advanced configuration.
Mock
npm i @nest-openapi/mock
import { Module } from "@nestjs/common";
import { OpenAPIMockModule } from "@nest-openapi/mock";
import * as openApiSpec from "./openapi.json";
@Module({
imports: [
OpenAPIMockModule.forRoot({
specSource: { type: "object", spec: openApiSpec },
enable: process.env.NODE_ENV === "development",
mockByDefault: true,
}),
],
})
export class AppModule {}
Routes return mocked responses when enabled. See full documentation for advanced configuration.
MCP
npm i @nest-openapi/mcp
```…
Description from the npm listing.
- nest
- nestjs
- openapi
- mcp
- model-context-protocol
- typescript
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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.
Each band is one page of 20. Weekly downloads on a linear 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.
Recent observations
Full history (122)Similar npm MCP servers plugins
All 20 @nest-openapi/mcp alternativesData 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/@nest-openapi/mcp. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.