Gravityui Reference
БесплатноНе проверенProvides AI-optimized offline access to the Gravity UI design system, enabling natural language search and retrieval of components, hooks, utilities, and recipe
Описание
Provides AI-optimized offline access to the Gravity UI design system, enabling natural language search and retrieval of components, hooks, utilities, and recipes.
README
An MCP (Model Context Protocol) server providing AI-optimized access to the Gravity UI design system — 34 libraries, 1351 entities, 19 recipes. Pre-ingested data is included, so the server works offline with no setup beyond pnpm install.
Tools
The server exposes 3 tools:
find — Search by intent across all entity types. Describe what you need in plain language.
query(required) — e.g. "date picker", "sidebar navigation", "toast notification"type(optional) — filter by entity type: "component", "hook", "utility", "asset", "token-set", "config-doc", "guide"
get — Deep dive into one entity, recipe, or the system overview.
name(required) — entity name ("Button"), recipe id ("confirmation-dialog"), or "overview"detail(optional) — "compact" (default) or "full"
list — Browse entities with orthogonal filters.
type(optional) — "component", "hook", "utility", "asset", "config-doc", "guide", "token-set"category(optional) — "actions", "ai", "data-display", "feedback", "forms", "layout", "navigation", "overlays", "typography", "utility"library(optional) — e.g. "uikit", "aikit", "navigation"
Setup
pnpm install
Usage
Local setup
Clone and install:
git clone https://github.com/antonskiter/gravityui-reference-mcp.git cd gravityui-reference-mcp pnpm installVerify the server starts:
pnpm servePress
Ctrl+Cto stop. The server communicates over stdio.
With Claude Code
Register globally:
claude mcp add gravityui-docs -s user -- npx tsx /absolute/path/to/gravityui-reference-mcp/src/server/server.ts
Or per-project:
claude mcp add gravityui-docs -- npx tsx /absolute/path/to/gravityui-reference-mcp/src/server/server.ts
Verify:
claude mcp list
# gravityui-docs: ... - Connected
Use the absolute path to
src/server/server.ts.
With Cursor
Create .cursor/mcp.json in your project root (or ~/.cursor/mcp.json globally):
{
"mcpServers": {
"gravityui-docs": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/gravityui-reference-mcp/src/server/server.ts"]
}
}
}
Restart Cursor or reload MCP servers from Settings > MCP.
Try it
Ask your AI assistant:
I need a date range picker for a booking form
It will use find to discover DatePicker, then get to retrieve props and examples.
Data Pipeline
Three-step pipeline for updating data from vendor submodules:
pnpm run update-submodules # pull latest vendor/ sources
pnpm run extract # per-library LLM extraction -> data/entities/*.json
pnpm run overview # ecosystem overview + categories -> data/overview.json
pnpm run validate # Zod schema + cross-reference checks
Data Model
All public-facing things in the ecosystem are entities with a unified schema:
- component — React components with props, examples, import statements
- hook — React hooks with signature, parameters, return type
- utility — Functions, classes, constants
- asset — Icons and illustrations
- token-set — Design tokens (spacing, breakpoints)
- config-doc — Shared configs (eslint, tsconfig, prettier)
- guide — Conceptual documentation (i18n-react, nodekit overview)
Plus recipes — hand-maintained UI patterns (confirmation dialog, dashboard layout, form validation, etc.).
Scripts
pnpm serve— Start the MCP server (stdio, dev mode)pnpm build— Compile TypeScriptpnpm test— Run tests (Vitest)pnpm test:watch— Watch modepnpm run extract— Per-library LLM entity extractionpnpm run overview— Generate ecosystem overviewpnpm run validate— Validate data with Zod schemaspnpm run update-submodules— Update vendor git submodules
License
MIT. Documentation in data/ is sourced from Gravity UI repositories (MIT licensed).
Установка Gravityui Reference
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/antonskiter/gravityui-reference-mcpFAQ
Gravityui Reference MCP бесплатный?
Да, Gravityui Reference MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Gravityui Reference?
Нет, Gravityui Reference работает без API-ключей и переменных окружения.
Gravityui Reference — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Gravityui Reference в Claude Desktop, Claude Code или Cursor?
Открой Gravityui Reference на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
LibreOffice Tools
Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a
автор: passerbyflutterdannote/figma-use
Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.
автор: dannoteLogo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content
автор: NOVA-3951PIX4Dmatic
Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem
автор: jangjo123Compare Gravityui Reference with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории design
