@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 1,578 recorded weekly downloads on npm, a decrease of 93.8% over the past 30 days, ranking #1958 of 3,247 tracked listings.
About @nest-openapi/mcp
Overview
@nest-openapi/mcp turns your OpenAPI 3.x operations into MCP tools for NestJS applications.
- LLM & Agent Ready — Expose your NestJS OpenAPI operations directly as tools for any MCP-compatible client. Automatically dispatches tool invocations to your live API or backend services.
- API contract ↔ MCP contract — Tool names, descriptions, input schemas, and output definitions are automatically derived from your OpenAPI spec.
- Secure by default — Tool exposure is opt-in by default (
x-mcp: trueper operation), avoiding unintended tool exposure. - NestJS-native — HTTP transport integration plus programmatic server APIs, powered by
@modelcontextprotocol/sdk.
Install
npm i @nest-openapi/mcp
Quick Start
// app.module.ts
import { Module } from "@nestjs/common";
import { OpenAPIMcpModule } from "@nest-openapi/mcp";
import * as openApiSpec from "./openapi.json";
@Module({
imports: [
OpenAPIMcpModule.forRoot({
specSource: { type: "object", spec: openApiSpec },
http: { path: "/mcp" },
executor: { baseUrl: "http://127.0.0.1:3000" },
}),
],
})
export class AppModule {}
That’s it. Your MCP endpoint is available at /mcp.
Tool Exposure with x-mcp
By default, only operations explicitly marked with x-mcp: true are exposed as tools.
paths:
/users/{id}:
get:
operationId: getUser
x-mcp: true
You can change this behavior using tools.defaultInclude.
Next Steps
- Advanced setup — Transport/session strategy and server extension patterns
- Options — Full configuration reference
- Manual Usage — Programmatic MCP server usage
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 (170)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 Dec 3, 2026. See the methodology.