Skip to content
Sam DespoNewsletter
Design

21st.dev Magic

Gives Claude a library of polished interface components to drop into your app.

FreemiumBy 21st.dev
View on the web

What is it?

Left alone, AI-built interfaces tend to look the same. 21st.dev is a catalogue of well-designed React components, and this connector lets Claude search it and use them, so your pricing table or hero section starts from something good.

It is a thin bridge to 21st's hosted service. The catalogue is free with a key; generating brand-new components with their AI is a paid feature.

If you are not building in React with Tailwind, skip it.

What Claude can do once it's connected

  • Search a catalogue of ready-made interface components
  • Generate a new component from a plain description
  • Pull in matching logos and icons
  • Keep a bookmarked set of components for your team

Install in Claude Code

Open your terminal in the project folder and run:

Command
claude mcp add --env API_KEY_21ST=YOUR_API_KEY magic -- npx -y @21st-dev/magic@latest

Or add this to your project's .mcp.json:

.mcp.json
{
  "mcpServers": {
    "magic": {
      "command": "npx",
      "args": ["-y", "@21st-dev/magic@latest"],
      "env": { "API_KEY_21ST": "YOUR_API_KEY" }
    }
  }
}

You'll be asked to sign in or paste an API key the first time you use it.

Who it's for

Builders making web apps in React who want them to look designed.

Best for

  • Landing page sections
  • Dashboards that look finished
  • Consistent UI across an app

Why it made the list

It is the quickest fix for the generic look of AI-generated interfaces.

More MCPs like this

  • Figma MCP

    Design

    Lets Claude read your Figma designs and build matching code, or draw new ones.

    Freemium
  • Context7

    Coding & Deployment

    Gives Claude the latest official docs for any library so it stops guessing.

    Freemium
  • Canva MCP

    Design

    Lets Claude search your Canva designs, create new ones and export them as files.

    Freemium
  • Lets Claude generate images and videos with models like Nano Banana and Seedance.

    Freemium