Skip to content
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, the ready-made pieces a page is built from. This connector lets Claude search it and use them, so your pricing table or hero section starts from something good.

It connects Claude to 21st's online 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 (the text window where you run Claude Code) in your project folder, then paste this command to connect it:

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" }
    }
  }
}

The first time you use it, you'll be asked to sign in or paste an API key (a private code from the app that lets Claude use your account).

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's the quickest fix for that generic AI-built look.

Made 21st.dev Magic?

Add this badge to your website so your visitors can read the review.

Featured on samdespo.com

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
  • Adobe MCP

    Design

    Lets Claude edit photos, PDFs, designs and video with Adobe's pro tools.

    Freemium
  • Lets Claude build 3D scenes, models and materials in Blender from a prompt.

    Free