Leaderboard / Best npm packages for agent CLIs, ranked by weekly downloads
Public npm data. Week of 27 Nov through 3 Dec 2026.
Best npm packages for agent CLIs, ranked by weekly downloads
8 of the top 50 agent-related npm packages for 27 Nov 2026 through 3 Dec 2026 are in the agent CLIs category. The most downloaded is @modelcontextprotocol/client, with 23,917,536 weekly downloads.
| # | Package | Weekly downloads | Trend, 8 weeks | Readiness signals | Readiness |
|---|---|---|---|---|---|
| 5 | @modelcontextprotocol/clientModel Context Protocol implementation for TypeScript - Client package | 23,917,536 | +13.4% | AGENTS.mdMCPnpx init | 1 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 |
| 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 |
| 14 | @earendil-works/pi-mcpStandalone Model Context Protocol client for pi and other applications | 5,890,454 | +9.8% | AGENTS.mdMCPnpx init | 1 of 3 |
| 35 | tokenxFast token estimation with 95%+ average accuracy, 2kB minified and gzipped | 2,172,232 | -4.5% | AGENTS.mdMCPnpx init | 0 of 3 |
| 36 | @better-auth/cimdClient ID Metadata Document plugin for Better Auth | 2,162,652 | +12.8% | AGENTS.mdMCPnpx init | 1 of 3 |
| 42 | @agentclientprotocol/claude-agent-acpAn ACP-compatible coding agent powered by the Claude Agent SDK (TypeScript) | 1,428,445 | -20.0% | AGENTS.mdMCPnpx init | 0 of 3 |
| 49 | @opencode-ai/modelsOfficial typed client for the models.dev API - an open database of AI model capabilities, pricing, and limits | 1,167,661 | -2.8% | AGENTS.mdMCPnpx init | 0 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.