mcpField
S
search-registry-items

search-registry-items

github.com/alibey-10Design & UI6170 installsUpdated 16w ago
Repository

About search-registry-items

A skill for searching indexed shadcn registry entries by item name or description. It guides agents through keyword searches, presenting matches, handling duplicate names across registries, and using the returned install target.

Key features

  1. 01Full-text search on names and descriptions
  2. 02Keyword-focused query guidance
  3. 03Registry disambiguation for duplicate names
  4. 04Pagination guidance for result lists
  5. 05Install target instructions for shadcn CLI

Use cases

  1. 01Find registry components by name or description
  2. 02Compare same-named entries across registries
  3. 03Get the exact target for a shadcn CLI install

MCP support

The skill uses the `search_registry_items` tool exposed by the `user-shoogle` MCP server to search indexed shadcn registry entries.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/alibey-10/shoogle --skill search-registry-items

After installing, type/search-registry-itemsin Claude Code to confirm it loaded.

Bundled filesreferences/TOOL-REFERENCE.md

Details

From the project README

Search Registry Items

Look up indexed shadcn registry catalog entries via full-text search on item name and description. Returns the registry namespace and addCommandArgument for npx shadcn@latest add.

Default tool call:

CallMcpTool({ "server": "user-shoogle", "toolName": "search_registry_items", "arguments": { "query": "button" } })

Workflow

Progress:

  • Call search_registry_items on user-shoogle with a short keyword or name fragment (not a full sentence)
  • Present matches as the output table below — never dump raw JSON
  • If multiple registries share the same name, ask which registry to use
  • Install with npx shadcn@latest add {addCommandArgument} (or the project's package runner)
  • Paginate only when needed (offset += limit while pagination.hasMore)

Skip search when the user already gave the exact add target (e.g. @cult-ui/gradient-button) — go straight to view / add.

For install and composition rules after search, use the shadcn skill.

Gotchas

  • One MCP tool only. user-shoogle exposes search_registry_items. Block and semantic MCP tools (search, search_vectors) are not available — use shoogle.dev/search instead. Do not use npx shadcn@latest search for this workflow.
  • Full-text on name and description. Matching uses full-text search across both fields — not item titles, and not semantic/vector search. A query like carousel can match items named carousel or whose description mentions carousels.
  • Keywords, not intent. Multi-concept natural-language queries like "login page with dark mode" won't work well. For semantic block discovery, send the user to shoogle.dev/search.
  • Query the item name, not the registry prefix. Use button, not @acme/button. Filter by registry in results.
  • Short fragments beat sentences. Prefer button, hero, data-table. Empty or whitespace queries return nothing.
  • No results? Try shorter fragments or synonyms (dialog vs modal).
  • addCommandArgument is the install target. Use it verbatim: npx shadcn@latest add cult-ui/gradient-button. Do not reconstruct from @registry/name.
  • Pagination cap is 100. Default page size is 100; mention pagination.total when results span pages.

If MCP is unavailable, point to shoogle.dev/mcp-install. For parameter or response details, read references/TOOL-REFERENCE.md.

Output format

Always respond with a markdown table:

nameregistryadd commandtypedescription
  • add command: npx shadcn@latest add {addCommandArgument} when present
  • Use — for empty descriptions
  • End with match count and page info when relevant

Example — user asks for button components across registries:

nameregistryadd commandtypedescription
buttonshadcnnpx shadcn@latest add shadcn/buttonregistry:uiA clickable button component
buttoncult-uinpx shadcn@latest add cult-ui/buttonregistry:uiAnimated button variants

Found 2 matches (showing 1–2 of 2). Which registry should I add from?

Out of scope

NeedUse instead
Registry item by name or descriptionsearch_registry_items (this skill)
Block keyword searchshoogle.dev/search
Semantic / layout discoveryshoogle.dev/search
Install a known itemshadcn CLI add / view
Browse one registrynpx shadcn@latest search @registry -q "…"

Comments

Markdown supported