@modelcontextprotocol/core weekly downloads statistics
By modelcontextprotocol (8 listings) · npm · MCP servers
Model Context Protocol for TypeScript — public Zod schemas (spec + OAuth/OpenID)
@modelcontextprotocol/core has 10,274,644 recorded weekly downloads on npm, an increase of 66.7% over the past 30 days, ranking #112 of 2,322 tracked listings.
About @modelcontextprotocol/core
@modelcontextprotocol/core
Canonical public home for the Model Context Protocol specification and OAuth/OpenID Zod schemas.
These are the exact schema constants the SDK validates protocol and OAuth/OpenID payloads against internally. The @modelcontextprotocol/server and @modelcontextprotocol/client packages keep a Zod-free public surface, so this package exists as the supported place to import the
raw schemas when you need to validate or parse MCP messages yourself.
Install
npm install @modelcontextprotocol/core
Usage
import { CallToolResultSchema } from '@modelcontextprotocol/core';
// Throws on invalid input; returns the typed result on success.
const result = CallToolResultSchema.parse(payload);
// Or non-throwing:
const parsed = CallToolResultSchema.safeParse(payload);
if (parsed.success) {
// parsed.data is a fully typed CallToolResult
}
Scope
This package exports only Zod schema constants (*Schema), in two groups:
- the MCP spec schemas —
CallToolResultSchema,ListToolsResultSchema, …; and - the OAuth/OpenID auth schemas —
OAuthTokensSchema,OAuthMetadataSchema,IdJagTokenExchangeResponseSchema, … (the schemas v1 exposed from@modelcontextprotocol/sdk/shared/auth.js).
The corresponding TypeScript types, error classes, enums, and type guards are part of the public API of @modelcontextprotocol/server and
@modelcontextprotocol/client.
Migrating from v1? In v1 these schemas were imported from
@modelcontextprotocol/sdk/types.js(spec schemas) and@modelcontextprotocol/sdk/shared/auth.js(OAuth/OpenID schemas). Point those*Schemaimports at@modelcontextprotocol/coreand your existing.parse()/.safeParse()calls keep working unchanged.
Description from the npm listing.
- modelcontextprotocol
- mcp
- schemas
- zod
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (122)Similar npm MCP servers plugins
All 20 @modelcontextprotocol/core alternativesData 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/core. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.