Make your AI a shadcn expert

list_popular

The most-installed items on shadcn.io, ranked by real download counts from the analytics DB. Battle-tested picks, not alphabetical first hits.

list_popular is where analytics meets the agent. Every shadcn add install fires a tracking event; this tool surfaces the resulting leaderboard, so the agent can recommend components real users actually install.

When to use it

  • The user asks for "a good X block" without specifying which one — list_popular surfaces the ones other users actually ship.
  • Disambiguating between similar siblings in a category.
  • Marketing / social-proof prompts: "what's trending on shadcn.io?"
  • As a tiebreaker for ambiguous search_items results.

Arguments

NameTypeRequiredDefaultNotes
typesurface enumall surfacesRestrict to one surface. See search_items for valid values.
limitnumber (1–100)20Max 100 per call

Example prompts

use shadcnio to give me the 10 most popular pricing blocks
use shadcnio list_popular with no filter and show me what's trending across every surface
use shadcnio — of the hero blocks, which ones should I actually use?

Response shape

{
"count": 5,
"items": [
  {
    "componentName": "hero-announcement",
    "componentType": "blocks",
    "category": null,
    "downloadCount": 12483,
    "viewCount": 47102,
    "pageViewCount": 91284,
    "firstDownloadAt": "2025-09-14T12:04:11.000Z",
    "lastDownloadAt": "2026-04-16T13:58:22.000Z"
  },
  {
    "componentName": "pricing-three-columns",
    "componentType": "blocks",
    "category": null,
    "downloadCount": 9847,
    "viewCount": 38104,
    "pageViewCount": 71293,
    "firstDownloadAt": "2025-08-02T09:11:44.000Z",
    "lastDownloadAt": "2026-04-16T14:02:08.000Z"
  }
]
}
  • componentName is the slug — feed it straight to get_item, get_item_source, or get_install_command.
  • firstDownloadAt is a rough proxy for "when the item first shipped".
  • lastDownloadAt signals whether the item is still getting traction; stale dates mean trending-down.

Manual invocation

curl -s -X POST "https://www.shadcn.io/api/mcp?token=YOUR_TOKEN" \
-H "content-type: application/json" \
-H "accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_popular","arguments":{"type":"blocks","limit":10}}}' \
| sed -n 's/^data: //p' | jq '.result.content[0].text | fromjson | .items'

FAQ

Was this page helpful?

Sign in to leave feedback.