Search the registry
Search the public Gelatin UI registry over plain HTTP. Use curl, a script, or the shadcn CLI, with no account and no key.
For AI agents · step 4 of 4 · 2 min read
Prompt for your agent
Your agent reads /docs/registry-search.md: the same text as this page, as Markdown.
One URL lists each public item as shadcn registry JSON. Query parameters on that URL find and filter items, with no account and no key.
Get the full index
Send no query, and you get the full index.
Search from the shadcn CLI
First, put @gelatin-ui in the registries block of components.json. The CLI then searches the registry for you. It sends your words as q, with limit and offset.
Search by keyword
Add q to search the registry. The search reads the name, title, description, and use of each item. The answer lists the matches, best match first, with a pagination object.
A keyword search finds only items that have a page, not helpers. To get helpers too, send type with no q. You then get each item of those types.
Parameters
Limits
- Rate limit: 60 searches a minute from one address. Above the limit, the answer is 429 Too many requests, with a
Retry-After: 60header. Wait 60 seconds, then send the request again. - Shared cache: a shared cache keeps an answer fresh for 5 min. After that, it can serve the old answer for up to 1 hour more while it gets a new one.
Use the MCP server instead
An agent can use the search_items tool of the Connect the MCP server instead. It gives the same results, with the add command of each item.
Next steps
- Connect the MCP server: let your agent search items and plan an install.
- Install: put the registry in
components.json, so the CLI can search it.