# 21st-dev/magic-mcp

It's like v0, but in your Cursor / Claude Code / Windsurf: search 10,000+ React/Tailwind components, generate new UI with AI, and publish your own — right from your editor. Magic MCP is now the 21st MCP; this package keeps old configs working. Setup: 21st.dev/mcp

Repository: https://github.com/21st-dev/magic-mcp
Canonical: https://ross.abutalabs.com/products/magic-mcp
Homepage: https://21st.dev/mcp
Language: JavaScript
License Family: other
Topics: 21st, claude, cursor, mcp, model-context-protocol, react, tailwindcss, ui-components
Last push: 2026-07-31T23:27:33+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 40
- inputs: {"age_days": 560, "days_push": 33, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5735, forks 440 (observed 2026-08-28T04:09:28.311922+00:00)

## What it is
Magic MCP is a legacy compatibility proxy package that forwards MCP requests to the unified 21st MCP server, which lets AI coding agents like Cursor, Claude Code, and Windsurf search a catalog of 10,000+ React/Tailwind components and generate new UI with AI. The old @21st-dev/magic stdio proxy keeps existing mcp.json configs working while new users should install via the 21st CLI.

## Use cases
- search react tailwind components from cursor
- generate ui components with ai in my editor
- add mcp server for ui components to claude code
- find inspiration for react component designs
- publish my own react components for my team
- generate pricing table ui with ai variants

## When to choose
- you use Cursor, Claude Code, Windsurf, or another MCP client and want AI-assisted UI component search and generation
- you have an existing @21st-dev/magic config that should keep working without changes
- you want to search, install, or publish React/Tailwind components directly from your editor

## When to avoid
- you are setting up fresh - use the unified 21st MCP via the 21st CLI instead of this legacy proxy
- you need fully offline or self-hosted component generation - the service requires an API key and cloud backend
- you work outside the React/Tailwind ecosystem

## Facets
- artifact type: service
- maturity: active
- function: mcp, ui-components, llm-inference, search-engine
- domain: frontend, web-development, developer-tools, large-language-models
- platform: cli, editor-plugin, cross-platform
- tags: mcp-server, react, tailwindcss, cursor, claude-code, windsurf, ui-generation, component-catalog, compatibility-proxy, 21st-dev, code-generation, ai-agents, nodejs

## Member repositories
- 21st-dev/magic-mcp (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:28.311922+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:53:22.127272+00:00, confidence not recorded.
  - readme: https://github.com/21st-dev/magic-mcp (fetched 2026-08-28T04:09:28.311922+00:00, sha d235ecb66f58)
  - homepage: https://21st.dev/mcp (fetched 2026-08-29T08:49:00.420831+00:00, sha 51a53e5c0993)
- Data as of 2026-08-30T08:39:29.467469+00:00.
