Skip to content
PluginStats

@nestjs/mcp weekly downloads statistics

By nestjs (3 listings) · npm · MCP servers

Model Context Protocol servers for NestJS: provider methods become MCP tools, resources and prompts, over Streamable HTTP or stdio.

View on npm Fresh · Dec 6, 2026

@nestjs/mcp has 32,549 recorded weekly downloads on npm, an increase of 1786% over the past 30 days, ranking #905 of 3,247 tracked listings.

Weekly downloads
32,549
Official API · Dec 5, 2026
7-day growth
+6.7%
+2K weekly downloads
30-day growth
+1786%
+30.8K weekly downloads
90-day growth
—
Insufficient history
Rank
#905
▼ 14 in 7 days

About @nestjs/mcp

<p align="center"> <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a> </p> <p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications.</p> <p align="center"> <a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a> <a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a> <a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/dm/@nestjs/core.svg" alt="NPM Downloads" /></a> <a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a> <a href="https://opencollective.com/nest#backer"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a> <a href="https://opencollective.com/nest#sponsor"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a> <a href="https://paypal.me/kamilmysliwiec"><img src="https://img.shields.io/badge/Donate-PayPal-dc3d53.svg"/></a> <a href="https://twitter.com/nestframework"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a> </p> <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer) [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->

Description

Model Context Protocol module for Nest: tools, resources and prompts are methods of your providers, declared with decorators and a schema (Zod, ArkType, Valibot or JSON Schema), and run through Nest's guards, interceptors, pipes and exception filters. The server is served over Streamable HTTP from your existing Nest application (Express, Fastify or the Node adapter), statelessly so it scales behind any load balancer, to clients of both the 2026-07-28 and the 2025 protocol revisions, and over stdio from a standalone application context. It can act as an OAuth 2.1 resource server with protected resource metadata, WWW-Authenticate challenges, per-tool scopes and a token verifier of your own, and comes with an in-memory test client. Built on the official MCP TypeScript SDK (@modelcontextprotocol/server).

Installation

$ npm i --save @nestjs/mcp @modelcontextprotocol/server zod

Zod 4.2 or later; any other Standard Schema library that produces JSON Schema works too.

Quick Start

Import the module, and decorate the methods of a provider:

import { Injectable, Module } from '@nestjs/common';
import { McpModule, Resource, Tool, type McpContext } from '@nestjs/mcp';
import * as z from 'zod';

@Injectable()
export class NotesTools {
  constructor(private readonly notes: NotesService) {}

  @Tool({
    description: 'Save a note',
    inputSchema: z.object({ text: z.string().describe('What to remember') }),
  })
  add({ text }: { text: string }, ctx: McpContext) {
    return this.notes.add(text, ctx.authInfo?.clientId);
  }

  @Resource({ uri: 'notes://all', mimeType: 'application/json' })
  all() {
    return this.notes.all();
  }
}

@Module({
  imports: [McpModule.forRoot({ name: 'notes', version: '1.0.0' })],
  providers: [NotesService, NotesTools],
})
export class AppModule {}

app.listen(3000) now serves the MCP endpoint at http://localhost:3000/mcp, a route like any other (the global prefix and middleware apply to it). Guards, interceptors, pipes and filters run around every call; McpExecutionContext.create(context) reads the call in them, as GqlExecutionContext does for GraphQL.

The sample is a notes server with a guard and an interceptor, served over HTTP and stdio: npm run build && npx tsc -p sample/tsconfig.json, then node sample/dist/main.js (HTTP) or node sample/dist/stdio.js (stdio).

Read Overview & Tutorial to get started and for the module's options, Primitives for tools, resources, prompts, guards and authorization, Transports for the HTTP endpoint and stdio, and Testing for the in-memory client.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

Description from the npm listing.

  • nestjs
  • nest
  • mcp
  • mcp-server
  • model-context-protocol
  • ai
  • agents
  • tools
  • llm

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

@nestjs/mcp weekly downloads on npm, last 90 days: 32,549 weekly downloads as of Dec 5, 2026.@nestjs/mcpWeekly downloads on npm · Last 90 days32,549downloads / week05K10K15K20K25K30K35KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@nestjs/mcp weekly downloads on npm, last 90 days: 32,549 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@nestjs/mcp weekly downloads growth on npm: +6.7% over 7 days, +1786% over 30 days, 90-day growth unavailable.@nestjs/mcpWeekly downloads growth on npm32,549downloads / week now7-day growth+2,036 weekly downloads+6.7%30-day growth+30,823 weekly downloads+1786%90-day growth+32,549 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@nestjs/mcp weekly downloads growth on npm: +6.7% over 7 days, +1786% over 30 days, 90-day growth unavailable.

Ranking history

@nestjs/mcp npm ranking history: currently #905 (by weekly downloads).@nestjs/mcpnpm ranking · by weekly downloads · Last 90 days#905current rank#860#880#900#920#940#960Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 26, 2026 – Dec 6, 2026 · 11 observations · Updated Dec 5, 2026pluginstats.com
@nestjs/mcp npm ranking history: currently #905 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 46, #5 (overall #905)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 8, #4 (overall #144)
MCP servers: every listing in weekly downloads order

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 (128)
Recent weekly downloads observations for @nestjs/mcp
Date (UTC)Weekly downloadsChange vs. previous
32,549-1.9K
34,466+2.1K
32,338+709
31,629-818
32,447+581
31,866+2K
29,905-608
30,513+71
30,442+758
29,684+2.5K
27,212+1.6K
25,619+2K
23,578+2.5K
21,046—

Similar npm MCP servers plugins

All 20 @nestjs/mcp alternatives

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/@nestjs/mcp. First seen Nov 26, 2026; last successful collection Dec 6, 2026. See the methodology.