Skip to content
PluginStats

@ai-sdk/mcp weekly downloads statistics

By ai-sdk (3 listings) · npm · MCP servers

The **Model Context Protocol (MCP) client** for the [AI SDK](https://ai-sdk.dev/docs) lets you connect to MCP servers and use their tools with AI SDK functions like `generateText` and `streamText`.

View on npm Fresh · Dec 6, 2026

@ai-sdk/mcp has 9,880,088 recorded weekly downloads on npm, an increase of 11.9% over the past 30 days, ranking #143 of 3,247 tracked listings.

Weekly downloads
9,880,088
Official API · Dec 5, 2026
7-day growth
+8.8%
+802.2K weekly downloads
30-day growth
+11.9%
+1.1M weekly downloads
90-day growth
+196%
+6.5M weekly downloads
Rank
#143
▲ 1 in 7 days

About @ai-sdk/mcp

AI SDK - Model Context Protocol Client

The Model Context Protocol (MCP) client for the AI SDK lets you connect to MCP servers and use their tools with AI SDK functions like generateText and streamText.

Setup

npm i ai @ai-sdk/mcp

Skill for Coding Agents

If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:

npx skills add vercel/ai

Usage

import { createMCPClient } from '@ai-sdk/mcp';
import { generateText, isStepCount } from 'ai';

const mcpClient = await createMCPClient({
  transport: {
    type: 'http',
    url: 'https://your-server.com/mcp',
    headers: {
      Authorization: `Bearer ${process.env.MCP_API_KEY}`,
    },
  },
});

try {
  const tools = await mcpClient.tools();

  const { text } = await generateText({
    model: 'openai/gpt-6-astra',
    tools,
    stopWhen: isStepCount(10),
    prompt: 'Use the available tools to answer the user question.',
  });

  console.log(text);
} finally {
  await mcpClient.close();
}

See the Model Context Protocol Client documentation for more information.

Description from the npm listing.

  • ai
  • 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

@ai-sdk/mcp weekly downloads on npm, last 90 days: 9,880,088 weekly downloads as of Dec 5, 2026, +196% over 90 days.@ai-sdk/mcpWeekly downloads on npm · Last 90 days9,880,088downloads / week+196% over 90 days02M4M6M8M10M12MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@ai-sdk/mcp weekly downloads on npm, last 90 days: 9,880,088 weekly downloads as of Dec 5, 2026, +196% over 90 days.

7/30/90-day growth

@ai-sdk/mcp weekly downloads growth on npm: +8.8% over 7 days, +11.9% over 30 days, +196% over 90 days.@ai-sdk/mcpWeekly downloads growth on npm9,880,088downloads / week now7-day growth+802,219 weekly downloads+8.8%30-day growth+1,053,616 weekly downlo…+11.9%90-day growth+6,545,414 weekly downlo…+196%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@ai-sdk/mcp weekly downloads growth on npm: +8.8% over 7 days, +11.9% over 30 days, +196% over 90 days.

Ranking history

@ai-sdk/mcp npm ranking history: currently #143 (by weekly downloads).@ai-sdk/mcpnpm ranking · by weekly downloads · Last 90 days#143current rank#40#60#80#100#120#140#160Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@ai-sdk/mcp npm ranking history: currently #143 (by weekly downloads).

Listing placement

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

Listing placement

MCP servers468 listings · 24 pages · page 1, #6 (overall #6)
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 @ai-sdk/mcp
Date (UTC)Weekly downloadsChange vs. previous
9,880,088-653.6K
10,533,649+512.4K
10,021,288+562.6K
9,458,726+328.4K
9,130,347+149.3K
8,981,080-37.9K
9,018,961-58.9K
9,077,869-182.5K
9,260,410-418K
9,678,450-439K
10,117,425-340.7K
10,458,152-127.8K
10,585,919-104.9K
10,690,847—

Similar npm MCP servers plugins

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