uiverse-mcp

uiverse-mcp

MCP server for Uiverse.io that lets AI agents browse, search, and fetch open-source UI components (HTML + CSS) directly in their editor. No API key required, it indexes 3,800+ components locally.

Category
访问服务器

README

uiverse-mcp

MCP server for Uiverse.io — browse, search, and use 3,800+ open-source UI components directly from Claude Code, Cursor, Codex, or any MCP-compatible AI agent.

No API key. No browser tab. Just ask for a "glass card" or "neon button" and get the full HTML + CSS back in your editor.

npm version License: MIT MCP compatible

Need a custom MCP server for YOUR platform, API, or internal tool? I build production-ready MCPs in days, not months. → Get in touch · Hire on Fiverr


What it does

Uiverse.io has 3,800+ community-built UI components (buttons, cards, loaders, inputs, checkboxes, toggles, tooltips, etc.) with no official API. This server:

  1. Clones the uiverse-io/galaxy repo locally (~85 MB, one-time)
  2. Indexes all 3,800 components in memory (~2s startup, ~15 MB RAM)
  3. Exposes 7 MCP tools for browsing, searching, and fetching components
  4. Returns full HTML + CSS so your agent can drop components straight into your project

Install

Option A — npx (recommended, no install needed)

Add to your MCP config:

{
  "mcpServers": {
    "uiverse": {
      "command": "npx",
      "args": ["-y", "uiverse-mcp"]
    }
  }
}

Option B — global install

npm install -g uiverse-mcp

Then add to MCP config:

{
  "mcpServers": {
    "uiverse": {
      "command": "uiverse-mcp"
    }
  }
}

Option C — clone and build

git clone https://github.com/Fabi-SPL/uiverse-mcp.git
cd uiverse-mcp
npm install
npm run build

Add to MCP config:

{
  "mcpServers": {
    "uiverse": {
      "command": "node",
      "args": ["/absolute/path/to/uiverse-mcp/dist/index.js"]
    }
  }
}

First run clones uiverse-io/galaxy into ~/.uiverse-mcp/cache (~30s, one-time). Cache is shared across all MCP clients.


Config locations

Client Config file
Claude Code ~/.claude.json → mcpServers
Cursor ~/.cursor/mcp.json
Windsurf ~/.codeium/windsurf/mcp_config.json
Cline VS Code settings → cline.mcpServers
Custom Any MCP-compatible client

Tools

Tool What it does
list_categories All 11 categories with component counts — call this first
list_components Browse a category, paginated, optional author filter
search_components Fuzzy search by name, tag, or author
get_component Fetch full HTML + CSS of a specific component
get_component_preview Get the uiverse.io URL to preview a component in browser
refresh_cache git pull the galaxy repo and rebuild the index
cache_status Last sync time, commit SHA, total count per category

Categories (3,802 components)

Category Count
Buttons 1,231
Cards 726
loaders 718
Toggle-switches 260
Inputs 226
Forms 180
Checkboxes 171
Patterns 103
Radio-buttons 102
Tooltips 62
Notifications 23

Example usage

In Claude Code:

User: I need a glassmorphism card for the pricing section.

Agent:
1. search_components({ query: "glass", category: "Cards", limit: 5 })
   → returns 5 matches with tags + preview URLs

2. User picks one

3. get_component({ category: "Cards", id: "elijahgummer_kind-pig-24" })
   → returns full HTML + CSS, ready to paste

Other queries that work well:

  • "neon glow button"
  • "neumorphic toggle"
  • "ripple loader"
  • "floating label input"
  • "gradient checkbox"

Configuration

Custom cache path

By default the galaxy repo is cached at ~/.uiverse-mcp/cache. Override with:

{
  "mcpServers": {
    "uiverse": {
      "command": "npx",
      "args": ["-y", "uiverse-mcp"],
      "env": {
        "UIVERSE_CACHE_PATH": "/your/custom/path"
      }
    }
  }
}

Architecture

src/
├── index.ts          MCP server entry (stdio transport)
├── cache.ts          Git clone / pull / metadata persistence
├── index-build.ts    Scan cache, build in-memory index
├── search.ts         Fuse.js fuzzy search
├── parse.ts          Extract author / name / tags / CSS from HTML
├── types.ts          Shared TypeScript types
└── refresh-cli.ts    Standalone CLI for cache refresh

Performance:

  • Startup: ~2s (index 3,800 files)
  • Search: < 30ms per query
  • Memory: ~15 MB RSS at idle
  • Disk: ~85 MB (shallow clone)

Data source & licensing

Components are sourced from uiverse-io/galaxy — MIT-licensed community contributions. This MCP server is also MIT-licensed. When shipping a component, attribution to the original designer is appreciated (the author field is included in every response).


Contributing

Issues and PRs welcome at github.com/Fabi-SPL/uiverse-mcp.


License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选