Skip to content
PluginStats

@modelcontextprotocol/sdk weekly downloads statistics

By modelcontextprotocol (8 listings) · npm · MCP servers

Model Context Protocol implementation for TypeScript

View on npm Fresh · Dec 6, 2026

@modelcontextprotocol/sdk has 89,123,861 recorded weekly downloads on npm, an increase of 1.2% over the past 30 days, ranking #13 of 3,247 tracked listings.

Weekly downloads
89,123,861
Official API · Dec 5, 2026
7-day growth
+5.4%
+4.5M weekly downloads
30-day growth
+1.2%
+1.1M weekly downloads
90-day growth
+86.1%
+41.2M weekly downloads
Rank
#13
▼ 1 in 7 days

About @modelcontextprotocol/sdk

MCP TypeScript SDK NPM Version MIT licensed

This is v1.x of the MCP TypeScript SDK, the maintenance line. It implements the MCP spec up to 2025-11-25. Support for the 2026-07-28 spec is not planned for v1.x: it is in v2, the current stable release, which ships as separate packages, @modelcontextprotocol/server and @modelcontextprotocol/client. See the v2 documentation and the migration guide.

Staying on v1.x? It continues to receive bug fixes and security updates for at least six months after the v2 release (2026-07-27). The v1 documentation is at https://ts.sdk.modelcontextprotocol.io/.

<details> <summary>Table of Contents</summary> </details>

Overview

The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This TypeScript SDK implements the 2025-11-25 MCP specification, making it easy to:

  • Create MCP servers that expose resources, prompts and tools
  • Build MCP clients that can connect to any MCP server
  • Use standard transports like stdio and Streamable HTTP

Installation

npm install @modelcontextprotocol/sdk zod

This SDK has a required peer dependency on zod for schema validation. The SDK internally imports from zod/v4, but maintains backwards compatibility with projects using Zod v3.25 or later. You can use either API in your code by importing from zod/v3 or zod/v4:

Quick Start

To see the SDK in action end-to-end, start from the runnable examples in src/examples:

  1. Install dependencies (from the SDK repo root):

    npm install
    
  2. Run the example Streamable HTTP server:

    npx tsx src/examples/server/simpleStreamableHttp.ts
    
  3. Run the interactive client in another terminal:

    npx tsx src/examples/client/simpleStreamableHttp.ts
    

This pair of examples demonstrates tools, resources, prompts, sampling, elicitation, tasks and logging. For a guided walkthrough and variations (stateless servers, JSON-only responses, SSE compatibility, OAuth, etc.), see docs/server.md and docs/client.md.

Core Concepts

Servers and transports

An MCP server is typically created with McpServer and connected to a transport such as Streamable HTTP or stdio. The SDK supports:

  • Streamable HTTP for remote servers (recommended).
  • HTTP + SSE for backwards compatibility only.
  • stdio for local, process-spawned integrations.

Runnable server examples live under src/examples/server and are documented in docs/server.md.

Tools, resources, prompts
  • Tools let LLMs ask your server to take actions (computation, side effects, network calls).
  • Resources expose read-only data that clients can surface to users or models.
  • Prompts are reusable templates that help users talk to models in a consistent way.

The detailed APIs, including ResourceTemplate, completions, and display-name metadata, are covered in docs/server.md, with runnable implementations in simpleStreamableHttp.ts.

Capabilities: sampling, elicitation, and tasks

The SDK includes higher-level capabilities for richer workflows:

  • Sampling: server-side tools can ask connected clients to run LLM completions.
  • Form elicitation: tools can request non-sensitive input via structured forms.
  • URL elicitation: servers can ask users to complete secure flows in a browser (e.g., API key entry, payments, OAuth).
  • Tasks (experimental): long-running tool calls can be turned into tasks that you poll or resume later.

Conceptual overviews and links to runnable examples are in:

Key example servers include:

Clients

The high-level Client class connects to MCP servers over different transports and exposes helpers like listTools, callTool, listResources, readResource, listPrompts, and getPrompt.

Runnable clients live under src/examples/client and are described in docs/client.md, including:

Node.js Web Crypto (globalThis.crypto) compatibility

Some parts of the SDK (for example, JWT-based client authentication in auth-extensions.ts via jose) rely on the Web Crypto API exposed as globalThis.crypto.…

Description from the npm listing.

  • modelcontextprotocol
  • mcp

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/sdk weekly downloads on npm, last 90 days: 89,123,861 weekly downloads as of Dec 5, 2026, +86.1% over 90 days.@modelcontextprotocol/sdkWeekly downloads on npm · Last 90 days89,123,861downloads / week+86.1% over 90 days020M40M60M80M100MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@modelcontextprotocol/sdk weekly downloads on npm, last 90 days: 89,123,861 weekly downloads as of Dec 5, 2026, +86.1% over 90 days.

7/30/90-day growth

@modelcontextprotocol/sdk weekly downloads growth on npm: +5.4% over 7 days, +1.2% over 30 days, +86.1% over 90 days.@modelcontextprotocol/sdkWeekly downloads growth on npm89,123,861downloads / week now7-day growth+4,540,605 weekly downlo…+5.4%30-day growth+1,058,449 weekly downlo…+1.2%90-day growth+41,226,957 weekly downl…+86.1%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@modelcontextprotocol/sdk weekly downloads growth on npm: +5.4% over 7 days, +1.2% over 30 days, +86.1% over 90 days.

Ranking history

@modelcontextprotocol/sdk npm ranking history: currently #13 (by weekly downloads).@modelcontextprotocol/sdknpm ranking · by weekly downloads · Last 90 days#13current rank#2#4#6#8#10#12#14#16#18Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@modelcontextprotocol/sdk npm ranking history: currently #13 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 1, #13 (overall #13)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 1, #1 (overall #1)
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 @modelcontextprotocol/sdk
Date (UTC)Weekly downloadsChange vs. previous
89,123,861-7.7M
96,817,360+4M
92,827,523+4.1M
88,752,067+1.9M
86,816,866+1.8M
85,050,533+579.2K
84,471,285-112K
84,583,256-677.5K
85,260,735-2.5M
87,805,927-3.5M
91,258,233-1.7M
92,939,235-257.4K
93,196,652-582.7K
93,779,332—

Similar npm MCP servers plugins

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