npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@godxjp/ui-mcp

v18.0.1

Published

Model Context Protocol server for @godxjp/ui — gives Claude Code / Codex CLI / Cursor / any MCP-aware agent live access to the component catalog, prop vocabulary, design tokens, 45 cardinal rules, copy-paste-ready patterns, 12 design / taste skills synthe

Readme

@godxjp/ui-mcp

Model Context Protocol server for @godxjp/ui. The godx-ui://compatibility resource reports the MCP/server version and compatible UI release. UI and MCP ship from the same source commit and minor release train; consumers must surface a version mismatch instead of silently applying stale guidance. Gives Claude Code, Codex CLI, Cursor, Cline, Continue, or any MCP-aware agent live access to:

  • 80+ component catalog (props, types, defaults, examples)
  • 14 shared prop-vocabulary types (SizeProp, ColorProp, LoadingProp, …)
  • 48 design tokens across the primitive / semantic / component tiers
  • 46 cardinal rules from CLAUDE.md
  • 9 canonical copy-paste-ready patterns (sign-up, settings, data-table, …)
  • 15 design skills, each tagged by audience — 12 taste-family (taste / soft / minimalist / brutalist / gpt-tasteskill / redesign / output / brandkit / stitch / imagegen-mobile / imagegen-web / image-to-code) + the consumer build guides (design-to-page, compose-a-screen) + the core component-discipline contract
  • 23 anti-AI-tell patterns to AVOID + their fixes
  • 50+ redesign-audit checks across 9 categories
  • heuristic JSX linter (raw HTML / wrong vocab / banned default fonts / …)
  • a consumer namespace (list_consumer_skills / route_consumer_task / get_consumer_skill) that hides core library-maintenance skills, plus draft_bug_report for filing library bugs

Token-efficient design: discovery tools return small metadata; agents drill into ONE section at a time via get_skill_section. Average interaction: ~2.5 KB vs. 50+ KB for naive dump-everything servers.

Read-only, zero filesystem access into consumer projects, zero network, zero shell. Safe to mount.


Install

npm install --save-dev @godxjp/ui-mcp

Or run via npx without installing:

npx @godxjp/ui-mcp

Configure your agent

Claude Code

~/.claude.json (user-level) or .mcp.json at project root:

{
  "mcpServers": {
    "godx-ui": {
      "command": "npx",
      "args": ["@godxjp/ui-mcp"]
    }
  }
}

Restart Claude Code. The 21 tools appear under mcp__godx_ui__*.

Codex CLI

~/.codex/config.toml:

[mcp_servers.godx-ui]
command = "npx"
args = ["@godxjp/ui-mcp"]

Codex picks it up on next session start. Tools accessible via the standard Codex tool-call protocol.

Cursor

.cursor/mcp.json in your project root:

{
  "mcpServers": {
    "godx-ui": {
      "command": "npx",
      "args": ["@godxjp/ui-mcp"]
    }
  }
}

Cline (VS Code)

cline_mcp_settings.json:

{
  "mcpServers": {
    "godx-ui": {
      "command": "npx",
      "args": ["@godxjp/ui-mcp"],
      "disabled": false
    }
  }
}

Continue.dev

~/.continue/config.yaml:

mcpServers:
  - name: godx-ui
    command: npx
    args: ["@godxjp/ui-mcp"]

How to use it well (token-efficient pattern)

Start with discovery, then drill in. Don't ask for everything at once.

Agent: "I want to design a premium agency landing page hero."

Step 1 — route the task (tiny response):
  → route_task task="premium agency landing page hero"
  ← { skill: "soft", section: "vibe-archetypes", why: "Premium tier — pick a Vibe + Layout archetype.", alsoSee: ["soft/layout-archetypes", "soft/double-bezel"] }

Step 2 — fetch the relevant section (small):
  → get_skill_section skill="soft" section="vibe-archetypes"
  ← (2 KB of Ethereal Glass / Editorial Luxury / Soft Structuralism)

Step 3 — fetch the pattern (medium):
  → get_pattern name="app-shell"
  ← (copy-paste-ready code)

Total: ~3 KB. Versus naive "give me everything about @godxjp/ui" = 50+ KB.


Tools (24)

Building an app with @godxjp/ui? Start with list_consumer_skills / route_consumer_task (the Consumer namespace below) — they hide library-maintenance material. The data tools (get_component, get_tokens, get_rule, get_vocab, get_pattern, lint_jsx) serve both audiences.

Discovery (small responses — start here)

| Tool | Returns | Size | | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------ | | list_skills | 15 design skills (audience-tagged) + section ids | ~1 KB | | list_primitives | All components, grouped + tagline. Optional group filter. | ~3 KB | | list_patterns | 7 canonical patterns + taglines | ~500 B | | list_anti_ai_tells | 20+ AI-tell patterns. Optional category filter. | ~2 KB | | list_redesign_checks | 50+ audit checks + fix priority. Optional category filter. | ~5 KB | | list_audit_rules | Local STATIC ui-audit rules (WCAG/ARIA/Intl/ISO/CSS-Logical) to run BEFORE a visual pass. Optional category filter. | ~3 KB | | list_visual_checks | RUNTIME visual-audit checks (Playwright + axe-core: contrast, target-size, chroma, emoji, banner anatomy). Optional category filter. | ~2 KB |

Drill-down (medium responses — after discovery)

| Tool | Returns | Size | | ------------------- | --------------------------------- | --------------- | | get_skill_section | ONE section of ONE skill | ~2 KB | | get_component | Full API for one component | ~2 KB | | get_pattern | Full code snippet for one pattern | ~3 KB | | get_rule | One cardinal rule (or all 43) | ~500 B / ~10 KB | | get_vocab | One vocab type (or all 14) | ~500 B / ~3 KB | | get_tokens | Tokens (optionally by category) | ~5 KB |

Task routing (smallest — pointer only)

| Tool | Returns | Size | | ------------------- | -------------------------------------------------------------- | ------ | | route_task | { skill, section, why, alsoSee } for a natural-language task | ~300 B | | suggest_primitive | Use case → recommended primitive + rationale | ~500 B | | search_components | Fuzzy-search by name / tagline / prop | ~1 KB |

Consumer namespace (app-dev surface — core skills hidden)

| Tool | Returns | Size | | ---------------------- | ---------------------------------------------------------------------- | ------ | | list_consumer_skills | Design skills for building WITH @godxjp/ui (consumer/both only) | ~1 KB | | route_consumer_task | Natural-language task → consumer skill+section (never core) | ~300 B | | get_consumer_skill | One section of one consumer skill; refuses core-only skills | ~2 KB | | draft_bug_report | Drafts a GitHub issue body + a gh issue create command for a lib bug | ~1 KB | | check_compatibility | Match/mismatch verdict: installed @godxjp/ui version vs this catalog | ~500 B |

Lint (one-shot critique)

| Tool | Returns | Size | | ---------- | -------------------------------------------------------- | ----- | | lint_jsx | Heuristic findings (raw <button> / wrong vocab / etc.) | ~1 KB |


Consumer vs Core — who each skill is for

Every skill carries an audience tag:

  • consumer — you're building an APP that imports @godxjp/ui. Reach these via list_consumer_skills / route_consumer_task / get_consumer_skill.
  • core — you're building/maintaining @godxjp/ui ITSELF (the library, its docs, this catalog). Hidden from the consumer tools so an app-dev never trips over them. The full core discipline lives in the repo's .claude/skills/ (see that folder's README.md).
  • both — universal (e.g. taste, output, redesign).

Found a @godxjp/ui bug, or a rule you literally cannot follow because the library is wrong? Don't hand-roll a fake workaround. Call draft_bug_report to generate a detailed issue body

  • a gh issue create --repo godx-jp/godxjp-ui … command, file it, then mark any minimal local workaround with // TODO(godxui#<n>). See design-to-page/report-bug or compose-a-screen/report-bug.

Skills bundled (15)

Taste family synthesised from Leonxlnx/taste-skill; consumer/core guides are framework-native.

| Skill | Audience | When to use | | ---------------------- | -------- | ------------------------------------------------------------ | | taste | both | Default — production app screen baseline | | soft | consumer | Premium agency / Awwwards-tier ($150k brief) | | minimalist | consumer | Editorial workspace (Notion-like) — warm monochrome + bento | | brutalist | consumer | Data-heavy dashboards, declassified-blueprint feel | | gpt-tasteskill | consumer | Long-scroll marketing, GSAP ScrollTrigger choreography | | redesign | both | Auditing + upgrading EXISTING project | | output | both | Always — bans // ... / // TODO patterns | | brandkit | consumer | Brand identity boards before screens | | stitch | consumer | Generate DESIGN.md for Google Stitch / similar generators | | imagegen-mobile | consumer | Pre-code phase — mobile app screen mockups | | imagegen-web | consumer | Pre-code phase — landing page section images | | image-to-code | consumer | Visual brief → working frontend code | | design-to-page | consumer | A Claude Design handoff → a real page in YOUR app | | compose-a-screen | consumer | A new screen from a written brief, via real primitives | | component-discipline | core | International-standards hard contract (building the library) |


Example interactions

User: "How do I build a sign-up form with @godxjp/ui?"

Agent: calls get_pattern name="registration-form" → returns the full Card + Form + zod schema snippet.

User: "What's the difference between Table and DataTable?"

Agent: calls get_component name="Table" + get_component name="DataTable". Returns both APIs with comparison.

User: "I want to design a premium agency hero — what should I do?"

Agent: calls route_task task="premium agency hero design" → routed to soft/vibe-archetypes. Calls get_skill_section skill="soft" section="vibe-archetypes". Picks Ethereal Glass + Editorial Split layout. Returns finished concept.

User: "Audit this UI for me: [paste JSX]"

Agent: calls lint_jsx jsx="..." → returns heuristic findings. Then list_redesign_checks for deeper categories.

User: "What's banned by rule 34?"

Agent: calls get_rule number=34 → returns the rule body.


Resources

| URI | Format | Purpose | | ----------------------------- | -------- | ------------------ | | godx-ui://components | JSON | Full catalog | | godx-ui://components/{name} | Markdown | One component | | godx-ui://prop-vocabulary | JSON | Shared vocab | | godx-ui://tokens | JSON | All tokens | | godx-ui://tokens/{category} | JSON | Tokens by category | | godx-ui://rules | Markdown | All 43 rules | | godx-ui://rules/{number} | Markdown | One rule | | godx-ui://patterns | JSON | Pattern index | | godx-ui://patterns/{name} | Markdown | One pattern |


Develop locally

pnpm install
pnpm dev           # tsup --watch
pnpm inspect       # MCP inspector (https://github.com/modelcontextprotocol/inspector)
pnpm type-check

Test directly via stdio:

echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node dist/index.js
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_skills","arguments":{}}}' | node dist/index.js
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"route_task","arguments":{"task":"design a sign-up form"}}}' | node dist/index.js

Architecture

See PLAN.md for the full design decisions:

  • Token-efficient two-tier API (list_* then get_*_section)
  • Skill catalog mapped to data/skills-index.ts (compact metadata)
  • Full skill bodies stored in dedicated data/*.ts files (lazy-fetched)
  • Heuristic task router (route_task) — keyword match for v1; embedding-based for v2

License

Apache-2.0