Skip to content
PluginStats

@mcp-use/modelcontextprotocol-sdk weekly downloads statistics

By mcp-use (4 listings) · npm · MCP servers

Model Context Protocol implementation for TypeScript

View on npm Stale · Oct 18, 2026

@mcp-use/modelcontextprotocol-sdk has 2,428 recorded weekly downloads on npm, ranking #1315 of 2,391 tracked listings.

Weekly downloads
2,428
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1315
Among tracked npm listings

About @mcp-use/modelcontextprotocol-sdk

MCP TypeScript SDK NPM Version MIT licensed

<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 full 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.

See docs/faq.md for details on supported Node.js versions and how to polyfill globalThis.crypto when running on older Node.js runtimes.

Examples

The SDK ships runnable examples under src/examples. Use these tables to find the scenario you care about and jump straight to the corresponding code and docs.

Server examples…

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

@mcp-use/modelcontextprotocol-sdk weekly downloads on npm, last 90 days: 2,428 weekly downloads as of Oct 18, 2026.@mcp-use/modelcontextprotocol-sdkWeekly downloads on npm · Last 90 days2,428downloads / week2.1K2.2K2.3K2.4K2.5K2.6K2.7KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
@mcp-use/modelcontextprotocol-sdk weekly downloads on npm, last 90 days: 2,428 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

@mcp-use/modelcontextprotocol-sdk weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@mcp-use/modelcontextprotocol-sdkWeekly downloads growth on npm2,428downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@mcp-use/modelcontextprotocol-sdk weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@mcp-use/modelcontextprotocol-sdk npm ranking history: currently #1315 (by weekly downloads).@mcp-use/modelcontextprotocol-sdknpm ranking · by weekly downloads · Last 90 days#1315current rank#1313#1314#1315#1316#1317Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 21, 2026 – Oct 21, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
@mcp-use/modelcontextprotocol-sdk npm ranking history: currently #1315 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,195 shown · page 67, #7 (overall #1,327)
All npm: every listing in weekly downloads order

Listing placement

MCP servers300 listings · 15 pages · page 14, #14 (overall #274)
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 (1)
Recent weekly downloads observations for @mcp-use/modelcontextprotocol-sdk
Date (UTC)Weekly downloadsChange vs. previous
2,428—

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-use/modelcontextprotocol-sdk. First seen Oct 21, 2026; last successful collection Oct 21, 2026. See the methodology.