@21st-dev/cli weekly downloads statistics
By 21st-dev (2 listings) · npm · MCP servers
The 21st CLI: search, retrieve and install 21st.dev components from your terminal, and configure the 21st MCP for your editor.
@21st-dev/cli has 7,362 recorded weekly downloads on npm, an increase of 35.3% over the past 30 days.
About @21st-dev/cli
21st CLI
Search, retrieve, install and publish 21st.dev components, themes and templates from your terminal, generate UI with 21st AI, and wire the 21st MCP into your editor. The CLI and the 21st MCP share one endpoint and one login, so every command returns exactly what an MCP client (Cursor, Claude, etc.) sees.
One unified CLI.
@21st-dev/cli(bin21st) is now the single tool for everything 21st. It supersedes the older@21st-dev/registry(publish/install) and@21st-dev/magic(Magic MCP) packages — use21stfor all of it. Old@21st-dev/magicconfigs keep working: since 0.2.0 that package is a thin proxy to the same 21st MCP endpoint this CLI configures.
Install
npm i -g @21st-dev/cli
# or run without installing:
npx @21st-dev/cli search "pricing table"
Sign in
21st login # opens your browser, saves a token locally (~/.config/21st)
21st whoami # show the signed-in account
21st usage # retrieval tier/quota + hosted AI access
21st usage --json # structured account capabilities, including aiGenerationEnabled
You can also authenticate with an API key from https://21st.dev/settings/api-keys via the TWENTYFIRST_TOKEN (or API_KEY_21ST) env var, or the --api-key <key> / --token <key> flag. A retired an_… key left in an env var is skipped so it can't shadow a working 21st login session.
Commands
| Command | What it does |
|---|---|
21st search <query> [--type component|theme|template] [--context auto|path] [--tag] [--color] [--sort] [--json] | Search metadata; Design Context adds confidence and fit rationales. |
21st logo <query> [--limit N] [--json] | Search brand + UI SVG logos. Free, no login required. |
21st get <id> [--json] | Print one component's code + demo by its search id (metered). |
21st theme <id> [--json] | Print one theme's CSS by its search id — free. |
21st add <user>/<slug> [--print] | Install a component via the 21st shadcn registry. |
21st bookmarks [--type ...] [--limit N] / 21st bookmark <id> --type <kind> [--remove] | List / add / remove a bookmark ("heart") across any entity. |
21st lists / 21st list <listId> / 21st list-new <name> / 21st list-add <listId> <id> --type <kind> [--remove] | Manage named bookmark lists. |
21st teams / 21st team <teamId> / 21st team-lists <teamId> / 21st team-components <teamId> [--library <id>] | Browse your teams' shared libraries + lists. |
21st components [--status all|draft|published|private] [--scope all|personal|team:<uuid>] [--json] | List every accessible personal/Team component and owned draft, using stable refs. |
21st open <component:<id>|draft:<uuid>> [--no-open] | Resume a draft or create/resume a reviewed revision of an existing component; --no-open prints its URL. |
21st publish <Component.tsx> [--component component:<id>] --description "…" [--to <library-slug>] [--preview <image>] [--no-open] | Create a draft, open CLI Review with live demos and automatic media, then publish a new component or an explicit owned revision. |
21st submit <slug> / withdraw / resubmit / remove-from-catalog | Manage catalog review separately from Published/Private access. |
21st publish-theme <theme.css> --name "…" [--tags a,b] | Publish a theme (CSS with :root + .dark). |
21st publish-template <name> --site <url> --preview <img-url> [--price N] | Submit a template listing for review. |
21st publish-gradient <recipe.json> --name "…" --thumbnail <image> | Publish a… |
Description from the npm listing.
- 21st
- 21st.dev
- shadcn
- components
- registry
- mcp
- model-context-protocol
- react
- cli
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 (544)Similar npm MCP servers plugins
All 20 @21st-dev/cli 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/@21st-dev/cli. First seen Oct 16, 2026; last successful collection Oct 22, 2026. See the methodology.