Skip to content
PluginStats

mcp-framework weekly downloads statistics

By QuantGeekDev · npm · MCP servers

Framework for building Model Context Protocol (MCP) servers in Typescript

View on npm Fresh · Oct 17, 2026

mcp-framework has 25,816 recorded weekly downloads on npm, a decrease of 51.0% over the past 30 days.

It ranks #692 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -56.7%.

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
25,816
Official API · Oct 17, 2026
7-day growth
-50.3%
-26.2K weekly downloads
30-day growth
-51.0%
-26.9K weekly downloads
90-day growth
-56.7%
-33.9K weekly downloads
Rank
#692
Among tracked npm listings

About mcp-framework

MCP Framework

MCP-Framework is the most productive TypeScript framework for building Model Context Protocol (MCP) servers. It provides architecture out of the box, with automatic directory-based discovery for tools, resources, and prompts. Use powerful MCP abstractions to define tools, resources, or prompts in an elegant, class-based way. The CLI gets you started in seconds.

Why mcp-framework?

• 50% less boilerplate than the official SDK • CLI scaffolding: mcp create my-server gets you started in seconds • Class-based tools with Zod validation and auto-generated descriptions • Built-in authentication (JWT, API Key, OAuth 2.1) • TypeScript-first with full type inference • Used by developers at Vercel, Next.js, LocalStack, and BaseHub

mcp-framework vs Alternatives

| Feature | mcp-framework | Official SDK | FastMCP |

| CLI Scaffolding | ✅ | ❌ | ❌ | | Class-based Tools | ✅ | ❌ | ❌ | | Built-in Auth | ✅ | ❌ | ❌ | | Zod Validation | ✅ | Manual | ❌ | | TypeScript | ✅ | ✅ | ✅ | | Description Validation | ✅ | ❌ | ❌ |

Trusted by developers at Vercel, Next.js, LocalStack, and BaseHub.

Features

• 🛠️ Automatic discovery and loading of tools, resources, and prompts • Multiple transport support (stdio, SSE, HTTP Stream) • TypeScript-first development with full type safety • Built on the official MCP SDK • Easy-to-use base classes for tools, prompts, and resources • Out of the box authentication for SSE endpoints (OAuth 2.1, JWT, API Key)

Projects Built with MCP Framework

The following projects and services are built using MCP Framework:

• ### tip.md A crypto tipping service that enables AI assistants to help users send cryptocurrency tips to content creators directly from their chat interface. The MCP service allows for: • Checking wallet types for users • Preparing cryptocurrency tips for users/agents to complete Setup instructions for various clients (Cursor, Sage, Claude Desktop) are available in their MCP Server documentation.

Support our work

Read the full docs here

Creating a repository with mcp-framework

Using the CLI (Recommended)

CLI Usage

The framework provides a powerful CLI for managing your MCP server projects:

Project Creation

Options:

--http: Use HTTP transport instead of default stdio

--port : Specify HTTP port (default: 8080)

--cors: Enable CORS with wildcard (*) access

Adding a Tool

Building and Validation

The framework provides comprehensive validation to ensure your tools are properly documented and functional:

Validating Tools

This command checks that all tools using Zod schemas have descriptions for every field. The validation runs automatically during build, but you can also run it standalone:

• ✅ During build: npm run build automatically validates tools • ✅ Standalone: mcp validate for manual validation • ✅ Development: Use defineSchema() helper for immediate feedback • ✅ Runtime: Server validates tools on startup

Example validation error:

Integrating validation into CI/CD:

Adding a Prompt

Adding a Resource

Development Workflow

1. Create your project:

2. Add tools:

3. Define your tool schemas with automatic validation:

4. Build with automatic validation:

5. Optional: Run standalone validation:

6. Test your server:

7. Add to MCP Client (see Claude Desktop example below)

Pro Tips: • Use defineSchema() during development for immediate feedback • Build process automatically catches missing descriptions • Server startup validates all tools before accepting connections • Use TypeScript's autocomplete with MCPInput for better DX

Using with Claude Desktop

Local Development

Add this configuration to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

After Publishing

Add this configuration to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

Building and Testing

1. Make changes to your tools 2. Run npm run build to compile 3. The server will automatically load your tools on startup

Environment Variables

The framework supports the following environment variables for configuration:

| Variable | Description | Default |

| MCP_ENABLE_FILE_LOGGING | Enable logging to files (true/false) | false | | MCP_LOG_DIRECTORY | Directory where log files will be stored | logs | | MCP_DEBUG_CONSOLE | Display debug level messages in console (true/false) | false |

Example usage:

Quick Start

Defining Tools

MCP Framework uses Zod schemas for defining tool inputs, providing type safety, validation, and automatic documentation:

Key Benefits: • ✅ Single source of truth - Define types and validation in one place • ✅ Automatic type inference - TypeScript types are inferred from your schema • ✅ Rich validation - Leverage Zod's powerful validation features • ✅ Required descriptions - Framework enforces documentation • ✅ Better IDE support - Full autocomplete and type checking • ✅ Cleaner code - No duplicate type definitions

Advanced Zod Schema Features

The framework supports all Zod features:

Automatic Type Inference

The MCPInput type automatically infers the correct input type from your schema, eliminating the need for manual type definitions:

No more duplicate interfaces or generic type parameters needed!

Schema Validation & Descriptions

All schema fields must have descriptions. This ensures your tools are well-documented and provides better user experience in MCP clients.

The framework validates descriptions at multiple levels:

1. Build-time Validation (Recommended)

2. Development-time Validation

Use the defineSchema helper for immediate feedback:

3. Standalone Validation

4. Runtime Validation

The server automatically validates tools on startup.

To skip validation (not recommended):

Setting up the Server

Transport Configuration

stdio Transport (Default)…

Description from the npm listing.

  • mcp
  • claude
  • anthropic
  • ai
  • framework
  • tools
  • modelcontextprotocol
  • model
  • context
  • protocol

Where mcp-framework 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.

All npm2,248 listings · 113 pages · page 35, #12 (overall #692)
All npm: every listing in weekly downloads order
PNG SVG
MCP servers253 listings · 13 pages · page 5, #5 (overall #85)
MCP servers: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

mcp-framework weekly downloads on npm, last 90 days: 25,816 weekly downloads as of Oct 17, 2026, -56.7% over 90 days.mcp-frameworkWeekly downloads on npm · Last 90 days25,816downloads / week-56.7% over 90 days25K30K35K40K45K50K55K60K65KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
mcp-framework weekly downloads on npm, last 90 days: 25,816 weekly downloads as of Oct 17, 2026, -56.7% over 90 days.
PNG SVG

7/30/90-day growth

mcp-framework weekly downloads growth on npm: -50.3% over 7 days, -51.0% over 30 days, -56.7% over 90 days.mcp-frameworkWeekly downloads growth on npm25,816downloads / week now7-day growth-26,164 weekly downloads-50.3%30-day growth-26,856 weekly downloads-51.0%90-day growth-33,859 weekly downloads-56.7%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
mcp-framework weekly downloads growth on npm: -50.3% over 7 days, -51.0% over 30 days, -56.7% over 90 days.
PNG SVG

Ranking history

mcp-framework npm ranking history: currently #692 (by weekly downloads).mcp-frameworknpm ranking · by weekly downloads · Last 90 days#692current rank#200#300#400#500#600#700Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
mcp-framework npm ranking history: currently #692 (by weekly downloads).
PNG SVG

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 (543)
Recent weekly downloads observations for mcp-framework
Date (UTC)Weekly downloadsChange vs. previous
25,816-8.4K
34,227-178
34,405-9.1K
43,466-8.8K
52,3060
52,306-352
52,658+678
51,980+19
51,961-2
51,963-6
51,969+39
51,930-9.1K
61,068-382
61,450—

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/mcp-framework. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.