Skip to content
PluginStats

fastify-mcp weekly downloads statistics

By haroldadmin · npm · MCP servers

View on npm Fresh · Oct 18, 2026

fastify-mcp has 7,532 recorded weekly downloads on npm, a decrease of 50.0% over the past 30 days, ranking #1029 of 2,322 tracked listings.

Weekly downloads
7,532
Official API · Oct 18, 2026
7-day growth
-40.0%
-5K weekly downloads
30-day growth
-50.0%
-7.5K weekly downloads
90-day growth
-49.5%
-7.4K weekly downloads
Rank
#1029
Among tracked npm listings

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: 7,532 weekly downloads as of Oct 18, 2026, -49.5% over 90 days.fastify-mcpWeekly downloads on npm · Last 90 days7,532downloads / week-49.5% over 90 days05K10K15K20K25KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
fastify-mcp weekly downloads on npm, last 90 days: 7,532 weekly downloads as of Oct 18, 2026, -49.5% over 90 days.

7/30/90-day growth

fastify-mcp weekly downloads growth on npm: -40.0% over 7 days, -50.0% over 30 days, -49.5% over 90 days.fastify-mcpWeekly downloads growth on npm7,532downloads / week now7-day growth-5,022 weekly downloads-40.0%30-day growth-7,532 weekly downloads-50.0%90-day growth-7,382 weekly downloads-49.5%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
fastify-mcp weekly downloads growth on npm: -40.0% over 7 days, -50.0% over 30 days, -49.5% over 90 days.

Ranking history

fastify-mcp npm ranking history: currently #1029 (by weekly downloads).fastify-mcpnpm ranking · by weekly downloads · Last 90 days#1029current rank#300#400#500#600#700#800#900#1000#1100Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
fastify-mcp npm ranking history: currently #1029 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 52, #11 (overall #1,031)
All npm: every listing in weekly downloads order

Listing placement

MCP servers277 listings · 14 pages · page 10, #14 (overall #194)
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 (544)
Recent weekly downloads observations for fastify-mcp
Date (UTC)Weekly downloadsChange vs. previous
7,532+1.5K
6,051-1.3K
7,301+790
6,511-2.2K
8,673-2.9K
11,5750
11,575-979
12,554-228
12,782-165
12,947-1.4K
14,348-1.3K
15,676-441
16,117-3.6K
19,703—

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 Oct 20, 2026. See the methodology.