RemoteFree server, account needed

21st.dev MCP server

dev.21st/mcp

Find UI components and themes, retrieve code, and generate with hosted 21st AI when enabled.

Install 21st.dev in Claude Code

Claude Code
claude mcp add --transport http 21st-dev https://21st.dev/api/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "21st-dev": {
      "url": "https://21st.dev/api/mcp"
    }
  }
}

Frequently asked questions

What does the 21st.dev MCP server do?

Find UI components and themes, retrieve code, and generate with hosted 21st AI when enabled.

Is the 21st.dev MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does 21st.dev run locally or remotely?

Remote. Hosted by the provider. You connect with a URL, nothing to install.

How do I add 21st.dev to Claude Code?

Run: claude mcp add --transport http 21st-dev https://21st.dev/api/mcp

More developer tools MCP servers

View all