Skip to main content
Glama
uikit-registry

uikit-registry

by captainy7

uikit-registry 🎨

Registry 13 UI library + MCP server untuk AI.
Cari, bandingin, dan dapetin detail komponen UI dari 13 library populer β€” langsung dari AI agent (OpenCode, Claude, dll).

npm run mcp-server   β†’   search_component + get_component + compare_components

✨ Fitur

Fitur

Tools MCP

πŸ” Cari komponen di semua library

search_component(query)

πŸ“¦ Ambil detail komponen + source code + props

get_component(library, component)

βš–οΈ Bandingin komponen antar library

compare_components(component, libraries?)

13 library UI

shadcn, MUI, Chakra, Antd, Mantine, NextUI, Radix, DaisyUI, PrimeReact, Neobrutalism, Aceternity, Magic UI, Origin UI

Props real dari TypeScript .d.ts

MUI βœ…, shadcn βœ…

0 runtime dependencies

Node.js aja


Related MCP server: MCP Server Starter Template

πŸš€ Quick Start

1. Clone & Setup

git clone https://github.com/captainy7/uikit-registry.git
cd uikit-registry
npm install
npm run build

2. Jalankan MCP Server

npm run mcp-server

Output:

πŸ”Œ uikit-registry MCP server v2 (data: ./data)
   Tools: search_component, get_component, compare_components
   Libraries: 13

3. Daftarin di OpenCode / Claude

Edit ~/.config/opencode/opencode.json:

{
  "mcpServers": {
    "uikit-registry": {
      "command": "node",
      "args": ["/home/satria/Development/uikit-registry/dist/mcp-server.js"],
      "env": {
        "UIKIT_DATA_DIR": "/home/satria/Development/uikit-registry/data"
      }
    }
  }
}

Restart OpenCode, langsung bisa pake tools uikit-registry.


πŸ“¦ Data

Library

Komponen

Props

Version

shadcn/ui

358

βœ… source code + CVA props

β€”

MUI

131

βœ… 14+ props dari .d.ts

v9.1.2

Chakra UI

115

β€”

v3.36.0

Ant Design

80

β€”

v6.4.5

Mantine

114

β€”

v9.4.0

NextUI / Heroui

85

β€”

v3.2.1

Radix UI

59

β€”

β€”

DaisyUI

46

β€”

v5.5.23

PrimeReact

124

β€”

β€”

Aceternity UI

88

β€”

β€”

Magic UI

47

β€”

β€”

Origin UI

76

β€”

β€”

Neobrutalism

16

β€”

β€”

Total

1339

β€”

β€”


πŸ› οΈ Usage Examples (via AI Agent)

Cari komponen:

search_component("button")
β†’ 11 library punya button

Lihat detail:

get_component("shadcn", "button")
β†’ import, 4 props (variant, size, className, asChild), source code

Bandingkan:

compare_components("dialog", "shadcn,mui")
β†’ shadcn: 0 props
β†’ mui: 20 props (transition, paper, container, backdrop, ...)

πŸ“‹ Scraping Manual

# Scrape semua library
npm run scrape

# Scrape satu library aja
tsx src/scraper.ts --lib shadcn

# Output: data/{library}/{component}.json
# Index: data/index.json

Scraping otomatis tiap minggu via GitHub Actions (.github/workflows/scrape.yml).


πŸ§ͺ Tests

npm test
# 125 tests, 0 fail
npm run typecheck
# TypeScript strict, 0 errors

πŸ—οΈ Arsitektur

src/
β”œβ”€β”€ scrapers/       # 13 scraper, masing-masing file sendiri
β”œβ”€β”€ mcp/            # MCP server + tools
β”œβ”€β”€ data/           # Data access layer (ComponentStore)
└── shared/         # Types, constants, utils
  • TypeScript strict β€” semua tipe aman

  • Zero runtime deps β€” cuma node.js

  • 100% local β€” gak perlu GitHub API / internet

  • Parallel scraper β€” 13 library selesai ~1 menit


πŸ“„ License

MIT

Available Tools

3 tools
compare_componentsA

Bandingkan komponen yang sama dari dua atau lebih library. Melihat perbedaan props, import path, dan source code.

Inputs: component (required), libraries.

get_componentA

Ambil detail komponen dari library tertentu. Dapat source code (shadcn) atau props + contoh (MUI, Chakra, dll).

Inputs: library (required), component (required).

search_componentA

Cari komponen UI di semua library. Return daftar library yg punya komponen itu.

Inputs: query (required), library.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct purpose: search finds components across libraries, get retrieves details from a specific library, compare contrasts same component across libraries. No overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (compare_components, get_component, search_component) with snake_case.

    Tool Count5/5

    Three tools is appropriate for a focused UI component registry, covering search, retrieval, and comparison without unnecessary bloat.

    Completeness4/5

    Covers core operations well, but a tool to list all libraries or components directly might be missing; however, search can approximate this.

    Related MCP Connectors

    Related MCP Servers