Skip to content
PluginStats

fastify-mcp weekly downloads statistics

By haroldadmin · npm · MCP servers

View on npm Stale · Dec 2, 2026

fastify-mcp has 16,176 recorded weekly downloads on npm, a decrease of 5.4% over the past 30 days, ranking #1112 of 3,247 tracked listings.

Weekly downloads
16,176
Official API · Dec 5, 2026
7-day growth
+11.3%
+1.6K weekly downloads
30-day growth
-5.4%
-915 weekly downloads
90-day growth
+31.8%
+3.9K weekly downloads
Rank
#1112
▲ 11 in 7 days

About fastify-mcp

fastify-mcp

Integrate Model Context Protocol servers with your Fastify app.

Supports the Streamable HTTP transport as well as the legacy HTTP+SSE transport.

Usage

First, define your MCP server.

function createServer() {
  const mcpServer = new McpServer({
    name: "...",
    version: "...",
  });

  mcpServer.tool("...");
  mcpServer.resource("...");

  return mcpServer.server;
}

Create a Fastify app and register the plugin.

import { fastify } from "fastify";
import { streamableHttp } from "fastify-mcp";
import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";

const app = fastify();

app.register(streamableHttp, {
  // Set to `true` if you want a stateful server
  stateful: false,
  mcpEndpoint: "/mcp",
  sessions: new Sessions<StreamableHTTPServerTransport>()
  createServer,
});

app.listen({ port: 8080 });

See the examples directory for more detailed examples.

Installation

# npm
npm install fastify-mcp

# yarn
yarn add fastify-mcp

Session Management

The official MCP TypeScript SDK does not support managing multiple sessions out of the box, and therefore it's the host server's responsibility to do so.

This package uses an in-memory mapping of each active session against its session ID to manage multiple sessions, as recommended by the MCP SDK examples.

Session Events

The Sessions class emits the following events:

  • connected: Emitted when a new session is added.
  • terminated: Emitted when a session is removed.
  • error: Emitted when an asynchronous event handler throws an error.
const sessions = new Sessions<StreamableHTTPServerTransport>();

sessions.on("connected", (sessionId) => {
  console.log(`Session ${sessionId} connected`);
});

sessions.on("terminated", (sessionId) => {
  console.log(`Session ${sessionId} terminated`);
});

Contributing

Please file an issue if you encounter a problem when using this package. Pull requests for new features or bug fixes are also welcome.

Description from the npm listing.

  • fastify
  • modelcontextprotocol
  • mcp
  • ai
  • anthropic

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

fastify-mcp weekly downloads on npm, last 90 days: 16,176 weekly downloads as of Dec 5, 2026, +31.8% over 90 days.fastify-mcpWeekly downloads on npm · Last 90 days16,176downloads / week+31.8% over 90 days05K10K15K20K25KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
fastify-mcp weekly downloads on npm, last 90 days: 16,176 weekly downloads as of Dec 5, 2026, +31.8% over 90 days.

7/30/90-day growth

fastify-mcp weekly downloads growth on npm: +11.3% over 7 days, -5.4% over 30 days, +31.8% over 90 days.fastify-mcpWeekly downloads growth on npm16,176downloads / week now7-day growth+1,640 weekly downloads+11.3%30-day growth-915 weekly downloads-5.4%90-day growth+3,904 weekly downloads+31.8%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
fastify-mcp weekly downloads growth on npm: +11.3% over 7 days, -5.4% over 30 days, +31.8% over 90 days.

Ranking history

fastify-mcp npm ranking history: currently #1112 (by weekly downloads).fastify-mcpnpm ranking · by weekly downloads · Last 90 days#1112current rank#200#400#600#800#1000#1200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 37 observations · Updated Dec 5, 2026pluginstats.com
fastify-mcp npm ranking history: currently #1112 (by weekly downloads).

Listing placement

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

Listing placement

MCP servers468 listings · 24 pages · page 12, #9 (overall #229)
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 (592)
Recent weekly downloads observations for fastify-mcp
Date (UTC)Weekly downloadsChange vs. previous
16,176-1.3K
17,513+1K
16,478+1.7K
14,782+387
14,395+16
14,379-515
14,894+358
14,536-4
14,540+170
14,370-438
14,808-15
14,823+191
14,632+595
14,037—

Similar npm MCP servers plugins

All 20 fastify-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/fastify-mcp. First seen Oct 16, 2026; last successful collection Dec 2, 2026. See the methodology.