Skip to content
PluginStats

@modelcontextprotocol/express weekly downloads statistics

By modelcontextprotocol (8 listings) · npm · MCP servers

Express adapters for the Model Context Protocol TypeScript server SDK - Express middleware

View on npm Fresh · Dec 6, 2026

@modelcontextprotocol/express has 3,169,466 recorded weekly downloads on npm, an increase of 40.0% over the past 30 days, ranking #195 of 3,247 tracked listings.

Weekly downloads
3,169,466
Official API · Dec 5, 2026
7-day growth
+9.4%
+272.6K weekly downloads
30-day growth
+40.0%
+905.2K weekly downloads
90-day growth
+3097%
+3.1M weekly downloads
Rank
#195
▼ 2 in 7 days

About @modelcontextprotocol/express

@modelcontextprotocol/express

Express adapters for the MCP TypeScript server SDK.

This package is a thin Express integration layer for @modelcontextprotocol/server.

It does not implement MCP itself. Instead, it helps you:

  • create an Express app with sensible defaults for MCP servers
  • add DNS rebinding protection via Host header validation (recommended for localhost servers)
  • protect routes with requireBearerAuth (validates Authorization: Bearer … via your OAuthTokenVerifier)
  • serve OAuth Protected Resource Metadata (RFC 9728) via mcpAuthMetadataRouter

Install

npm install @modelcontextprotocol/server @modelcontextprotocol/express express

# For MCP Streamable HTTP over Node.js (IncomingMessage/ServerResponse):
npm install @modelcontextprotocol/node

Exports

  • createMcpExpressApp(options?)
  • hostHeaderValidation(allowedHostnames)
  • localhostHostValidation()
  • requireBearerAuth(options)
  • mcpAuthMetadataRouter(options)
  • getOAuthProtectedResourceMetadataUrl(serverUrl)
  • OAuthTokenVerifier (interface)

Usage

Create an Express app (localhost DNS rebinding protection by default)
import { createMcpExpressApp } from '@modelcontextprotocol/express';

const app = createMcpExpressApp(); // default host is 127.0.0.1; protection enabled
Streamable HTTP endpoint (Express)
import { createMcpExpressApp } from '@modelcontextprotocol/express';
import { NodeStreamableHTTPServerTransport } from '@modelcontextprotocol/node';
import { McpServer } from '@modelcontextprotocol/server';

const app = createMcpExpressApp();

app.post('/mcp', async (req, res) => {
    // Stateless example: create a server and a transport per request (with sessions: one pair per session).
    const server = new McpServer({ name: 'my-server', version: '1.0.0' });
    const transport = new NodeStreamableHTTPServerTransport({ sessionIdGenerator: undefined });
    await server.connect(transport);
    await transport.handleRequest(req, res, req.body);
});
Host header validation (DNS rebinding protection)
import { hostHeaderValidation } from '@modelcontextprotocol/express';

app.use(hostHeaderValidation(['localhost', '127.0.0.1', '[::1]']));

Description from the npm listing.

  • modelcontextprotocol
  • mcp
  • express
  • middleware

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

@modelcontextprotocol/express weekly downloads on npm, last 90 days: 3,169,466 weekly downloads as of Dec 5, 2026, +3097% over 90 days.@modelcontextprotocol/expressWeekly downloads on npm · Last 90 days3,169,466downloads / week+3097% over 90 days0500K1M1.5M2M2.5M3M3.5M4MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@modelcontextprotocol/express weekly downloads on npm, last 90 days: 3,169,466 weekly downloads as of Dec 5, 2026, +3097% over 90 days.

7/30/90-day growth

@modelcontextprotocol/express weekly downloads growth on npm: +9.4% over 7 days, +40.0% over 30 days, +3097% over 90 days.@modelcontextprotocol/expressWeekly downloads growth on npm3,169,466downloads / week now7-day growth+272,558 weekly downloads+9.4%30-day growth+905,249 weekly downloads+40.0%90-day growth+3,070,320 weekly downlo…+3097%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@modelcontextprotocol/express weekly downloads growth on npm: +9.4% over 7 days, +40.0% over 30 days, +3097% over 90 days.

Ranking history

@modelcontextprotocol/express npm ranking history: currently #195 (by weekly downloads).@modelcontextprotocol/expressnpm ranking · by weekly downloads · Last 90 days#195current rank#180#200#220#240#260#280#300Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@modelcontextprotocol/express npm ranking history: currently #195 (by weekly downloads).

Listing placement

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

Listing placement

MCP servers468 listings · 24 pages · page 1, #12 (overall #12)
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 (170)
Recent weekly downloads observations for @modelcontextprotocol/express
Date (UTC)Weekly downloadsChange vs. previous
3,169,466-332.1K
3,501,537+82.6K
3,418,973+169.7K
3,249,227+112.5K
3,136,746+99.6K
3,037,175+92.4K
2,944,774+47.9K
2,896,908+33.5K
2,863,442+32.9K
2,830,526+36.7K
2,793,788+60.7K
2,733,112+55.7K
2,677,375+29.3K
2,648,065—

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/@modelcontextprotocol/express. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.