@nestjs-mcp/server weekly downloads statistics
By nestjs-mcp · npm · MCP servers
Modular library for building scalable MCP servers with NestJS, providing decorators and integration patterns as a wrapper for the official MCP TypeScript SDK.
@nestjs-mcp/server has 3,009 recorded weekly downloads on npm, ranking #1267 of 2,391 tracked listings.
About @nestjs-mcp/server
MCP Server NestJS Module Library <!-- omit in toc -->
Overview <!-- omit in toc -->
NestJS MCP Server is a modular library for building Model Context Protocol (MCP) servers using NestJS. It provides decorators, modules, and integration patterns to expose MCP resources, tools, and prompts in a scalable, maintainable way. This project is a wrapper for the official @modelcontextprotocol/sdk and is always kept compatible with its types and specification.
Table of Contents <!-- omit in toc -->
- Installation
- Quickstart
- What is MCP?
- Core Concepts
- Module API
- Module Usage
- Capabilities
- Dynamic Capabilities
- Guards
- Statelessness
- Transport Options
- MCP 2026-07-28 features
- Migrating from
1.xto2.x - Inspector Playground
- Examples
- Changelog
- License
- Contributions
Installation
npm install @nestjs-mcp/server @modelcontextprotocol/sdk zod
# or
yarn add @nestjs-mcp/server @modelcontextprotocol/sdk zod
# or
pnpm add @nestjs-mcp/server @modelcontextprotocol/sdk zod
Quickstart
Register the MCP module in your NestJS app and expose a simple tool:
import { Module } from '@nestjs/common';
import { CallToolResult } from '@modelcontextprotocol/sdk/types';
import { Resolver, Tool, McpModule } from '@nestjs-mcp/server';
@Resolver()
export class HealthResolver {
/**
* Simple health check tool
*/
@Tool({ name: 'server_health_check' })
healthCheck(): CallToolResult {
return {
content: [
{
type: 'text',
text: 'Server is operational. All systems running normally.',
},
],
};
}
}
@Module({
imports: [
McpModule.forRoot({
name: 'My MCP Server',
version: '1.0.0',
}),
],
providers: [HealthResolver],
})
export class AppModule {}
What is MCP?
The Model Context Protocol (MCP) is an open protocol for connecting LLMs to external data, tools, and prompts. MCP servers expose resources (data), tools (actions), and prompts (conversational flows) in a standardized way, enabling seamless integration with LLM-powered clients.
- See the Anthropic announcement for more background.
Core Concepts
Server
The MCP Server is the main entry point for exposing capabilities to LLMs. It manages the registration and discovery of resources, tools, and prompts.
Resource
A Resource represents structured data or documents that can be queried or retrieved by LLMs. Resources are typically read-only and are identified by a unique URI.
- Learn more: MCP Resources documentation
Tool…
Description from the npm listing.
- decorators
- integration
- large-language-models
- llm
- mcp
- model-context-protocol
- module
- nestjs
- npm
- pnpm
- sdk
- server
- typescript
- yarn
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 (1)Similar npm MCP servers plugins
All 20 @nestjs-mcp/server 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/@nestjs-mcp/server. First seen Oct 21, 2026; last successful collection Oct 21, 2026. See the methodology.