Leaderboard / Best npm package for AI agents
Public npm data. Week of 27 Nov through 3 Dec 2026.
Best npm package for AI agents
This list shows the top 10 packages in the full ranking, ranked by weekly downloads for 27 Nov 2026 through 3 Dec 2026. The most downloaded is @modelcontextprotocol/sdk, at rank 1 with 92,827,523 weekly downloads.
| # | Package | Weekly downloads | Trend, 8 weeks | Readiness signals | Readiness |
|---|---|---|---|---|---|
| 1 | @modelcontextprotocol/sdkModel Context Protocol implementation for TypeScript | 92,827,523 | +5.7% | AGENTS.mdMCPnpx init | 1 of 3 |
| 2 | @modelcontextprotocol/coreModel Context Protocol for TypeScript - public Zod schemas (spec + OAuth/OpenID) | 48,424,190 | +11.9% | AGENTS.mdMCPnpx init | 1 of 3 |
| 3 | aiAI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI,... | 46,294,939 | +3.4% | AGENTS.mdMCPnpx init | 1 of 3 |
| 4 | @modelcontextprotocol/serverModel Context Protocol implementation for TypeScript - Server package | 36,644,134 | +11.1% | AGENTS.mdMCPnpx init | 1 of 3 |
| 5 | @modelcontextprotocol/clientModel Context Protocol implementation for TypeScript - Client package | 23,917,536 | +13.4% | AGENTS.mdMCPnpx init | 1 of 3 |
| 6 | @anthropic-ai/claude-agent-sdkSDK for building AI agents with Claude Code's capabilities. Programmatically interact with Claude to build autonomous agents that can understand codebases,... | 20,484,468 | +4.2% | AGENTS.mdMCPnpx init | 0 of 3 |
| 7 | agent-cli-detectorDetect whether a JavaScript CLI is running inside a coding agent. | 15,601,788 | +10.2% | AGENTS.mdMCPnpx init | 0 of 3 |
| 8 | @earendil-works/pi-aiUnified LLM API with automatic model discovery and provider configuration | 13,107,001 | +8.8% | AGENTS.mdMCPnpx init | 0 of 3 |
| 9 | @agentclientprotocol/sdkThe Agent Client Protocol (ACP) is a protocol that standardizes communication between *code editors* (interactive programs for viewing and editing source code)... | 10,453,119 | +3.6% | AGENTS.mdMCPnpx init | 0 of 3 |
| 10 | @modelcontextprotocol/nodeModel Context Protocol implementation for TypeScript - Node.js middleware | 10,110,902 | +15.4% | AGENTS.mdMCPnpx init | 1 of 3 |
Rank is the overall Dataholm rank among the top 50, by weekly downloads among 1,669 agent-related packages.
Sponsored placements are paid and do not affect rankings.
Browse by category
MCP servers (19), AI SDK tooling (14), Other agent tooling (9), Agent CLIs (8).
Best npm package for
Best npm package for AI agents, Best npm package for an MCP server.