Skip to content
PluginStats

@21st-dev/magic weekly downloads statistics

By 21st-dev (2 listings) · npm · MCP servers

Magic MCP is now the 21st MCP. This package is a compatibility proxy kept for old configs - new setups should use `npx @21st-dev/cli@latest init`. Setup: https://21st.dev/mcp

View on npm Fresh · Oct 17, 2026

@21st-dev/magic has 6,023 recorded weekly downloads on npm, a decrease of 81.4% over the past 30 days.

It ranks #1042 of 2,256 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -36.8%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
6,023
Official API · Oct 17, 2026
7-day growth
-50.5%
-6.2K weekly downloads
30-day growth
-81.4%
-26.3K weekly downloads
90-day growth
-36.8%
-3.5K weekly downloads
Rank
#1042
Among tracked npm listings

About @21st-dev/magic

Magic MCP → 21st MCP

Magic MCP is now the 21st MCP. The Magic MCP server (@21st-dev/magic) has been replaced by the unified 21st MCP, installed via the 21st CLI — setup at 21st.dev/mcp. This package remains published as a thin compatibility proxy so old configs keep working.

Install the 21st MCP (recommended)

Or add it manually — it is a plain HTTP MCP server:

Get an API key at 21st.dev/mcp.

Old Magic API keys were reset. Keys issued by the old Magic console no longer work anywhere. Generate a fresh key at 21st.dev/mcp.

What this package does now (v0.2.0+)

npx -y @21st-dev/magic@latest API_KEY="..." still works: since v0.2.0 it is a small stdio proxy that forwards every MCP message to the 21st MCP server. Existing mcp.json entries that reference @21st-dev/magic keep functioning — but they now speak to the same server as the 21st CLI, with the tools available to the authenticated account.

The API key is accepted in all the historical forms: positional API_KEY="...", --API_KEY=..., /API_KEY:..., -API_KEY ..., or the TWENTY_FIRST_API_KEY / API_KEY_21ST environment variables.

AI access

Builder component access does not enable hosted 21st AI. The server lists generate and iterate_generation only when AI access is enabled. Check get_usage.aiGenerationEnabled; this reports access, not the remaining AI credit balance. With AI off, use search and get_component, then adapt the code with your own coding agent. Existing drafts remain readable.

A cached or legacy generation call can return ai_subscription_required. Do not retry until AI is enabled. Refresh the client tool list or reconnect after enabling AI. The proxy forwards discovery to the server, so existing proxy versions receive this behavior without an npm update.

server.json mirrors the official dev.21st/mcp registry listing. The registry version is independent of this compatibility package version.

Old tool names → new tool names

The 21st MCP still accepts the legacy Magic tool names and translates them, so agents that remember the old names keep working. Prefer the new names:

| Legacy Magic tool | 21st MCP tool |

| 21st_magic_component_builder | generate | | 21st_magic_component_inspiration | get_inspiration | | 21st_magic_component_refiner | generate (new generation from the refinement prompt) | | logo_search | search_logo (one query per call) |

The current server exposes much more than the old four tools: catalog search across components/themes/templates, paid code retrieval, bookmarks, team libraries, UI generation with variants, profile management, and more. Connect and call tools/list to see the tools available to your account.

Install as a plugin

This repository is also packaged as an agent plugin (MCP server + a UI skill). You don't need to wait for any store — this repo IS a marketplace, add it directly:

Set your API key in the API_KEY_21ST variable (free key at 21st.dev/mcp).

Store listings:

• Cursor / Grok Bot — install "21st" from the Cursor Marketplace, then set your API_KEY_21ST under Plugins → Configure. Get a key at 21st.dev/mcp. • Grok Build — grok plugin install 21st --trust (from the official xAI marketplace), then export API_KEY_21ST. • Claude Code — the repo carries a .claude-plugin/ manifest: /plugin install it from any marketplace that lists this repo, or load locally with claude --plugin-dir . and export API_KEY_21ST.

The plugin config expects the API key in the API_KEY_21ST variable in every client.

Links

• 21st MCP setup & API keys: https://21st.dev/mcp • 21st CLI on npm: https://www.npmjs.com/package/@21st-dev/cli • 21st.dev — discover, publish, and generate UI components: https://21st.dev

FAQ

Why did my old Magic MCP stop working? The Magic backend (magic.21st.dev) was superseded by the unified 21st MCP, and all old API keys were reset for security. Update to a fresh key from 21st.dev/mcp — your existing @21st-dev/magic config will then work again through this compatibility proxy, though we recommend switching to npx @21st-dev/cli@latest init.

Is /ui still a thing? Use natural language: ask your agent to search 21st for components (search), or use hosted UI generation (generate) when AI is enabled. The old /ui, /21 trigger phrases were a convention of the legacy tools' descriptions, not the protocol.

Description from the npm listing.

  • mcp
  • model-context-protocol
  • ai
  • UI
  • frontend
  • 21st.dev
  • 21st
  • magic
  • magic-mcp

Where @21st-dev/magic sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,256 listings · 113 pages · page 53, #2 (overall #1042)
All npm: every listing in weekly downloads order
PNG SVG
MCP servers255 listings · 13 pages · page 10, #13 (overall #193)
MCP servers: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@21st-dev/magic weekly downloads on npm, last 90 days: 6,023 weekly downloads as of Oct 17, 2026, -36.8% over 90 days.@21st-dev/magicWeekly downloads on npm · Last 90 days6,023downloads / week-36.8% over 90 days020K40K60K80K100KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
@21st-dev/magic weekly downloads on npm, last 90 days: 6,023 weekly downloads as of Oct 17, 2026, -36.8% over 90 days.
PNG SVG

7/30/90-day growth

@21st-dev/magic weekly downloads growth on npm: -50.5% over 7 days, -81.4% over 30 days, -36.8% over 90 days.@21st-dev/magicWeekly downloads growth on npm6,023downloads / week now7-day growth-6,152 weekly downloads-50.5%30-day growth-26,321 weekly downloads-81.4%90-day growth-3,503 weekly downloads-36.8%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@21st-dev/magic weekly downloads growth on npm: -50.5% over 7 days, -81.4% over 30 days, -36.8% over 90 days.
PNG SVG

Ranking history

@21st-dev/magic npm ranking history: currently #1042 (by weekly downloads).@21st-dev/magicnpm ranking · by weekly downloads · Last 90 days#1042current rank#1038#1039#1040#1041#1042#1043#1044Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@21st-dev/magic npm ranking history: currently #1042 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for @21st-dev/magic
Date (UTC)Weekly downloadsChange vs. previous
6,023-1.8K
7,791+9
7,782-2K
9,799-2.1K
11,9180
11,918-28
11,946-229
12,175-285
12,460-102
12,562-452
13,014-262
13,276-2.3K
15,585-384
15,969—

Similar npm MCP servers plugins

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/@21st-dev/magic. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.