Lyra UI
Search Lyra UI web components in 81 languages and read exact component APIs and docs.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"mcp": {
"url": "https://www.lyra-ui.com/mcp"
}
}
}Remote endpoints
https://www.lyra-ui.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (6)
🟢search_components(q, limit, family, locale)
Ranked search over the Lyra UI component catalog. Call this before concluding a component is missing — most apparent gaps are naming mismatches. No authentication, no side effects.
Input Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"minLength": 2,
"title": "Q",
"description": "What you are looking for."
},
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"title": "Limit",
"default": 5
},
"family": {
"anyOf": [
{
"type": "string",
"pattern": "^(forms|data|layout|overlays|utility|media|charts|viewers|conversation|agent-tools|retrieval)$"
},
{
"type": "null"
}
],
"title": "Family",
"description": "Optional component-family filter."
},
"locale": {
"type": "string",
"pattern": "^(am|ar|bg|bho|bn|ca|cs|da|de|de\\-CH|el|en|en\\-GB|es|es\\-419|et|fa|fa\\-AF|fi|fil|fr|fr\\-CA|ga|gu|ha|he|hi|hr|hu|id|ig|it|ja|jv|kk|kn|ko|lah|ln|lt|lv|ml|mr|ms|mt|my|nb|ne|nl|nn|om|or|pa|pcm|pl|ps|pt\\-BR|pt\\-PT|ro|ru|sd|sk|sl|sr|sr\\-Latn|su|sv|sw|ta|te|th|tr|uk|ur|uz|vi|yo|zh\\-CN|zh\\-HK|zh\\-TW|zu|pt)$",
"title": "Locale",
"description": "Locale used for returned names/descriptions (any of the site's 81 language tags, e.g. hi, zh-TW, pt-BR; legacy pt = pt-PT); all locales remain searchable.",
"default": "en"
}
},
"required": [
"q"
]
}Output Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"title": "Query"
},
"locale": {
"type": "string",
"title": "Locale"
},
"matches": {
"items": {
"properties": {
"tag": {
"type": "string",
"title": "Tag"
},
"name": {
"type": "string",
"title": "Name"
},
"family": {
"type": "string",
"title": "Family"
},
"family_label": {
"type": "string",
"title": "Family Label"
},
"description": {
"type": "string",
"title": "Description"
},
"docs_url": {
"type": "string",
"title": "Docs Url"
},
"reference_url": {
"type": "string",
"title": "Reference Url"
},
"reference_uri": {
"type": "string",
"title": "Reference Uri"
},
"import": {
"type": "string",
"title": "Import"
},
"matched_fields": {
"items": {
"type": "string"
},
"type": "array",
"title": "Matched Fields"
},
"score": {
"type": "number",
"exclusiveMaximum": 1,
"minimum": 0,
"title": "Score",
"description": "Bounded relevance indicator used only to compare results from this query."
}
},
"type": "object",
"required": [
"tag",
"name",
"family",
"family_label",
"description",
"docs_url",
"reference_url",
"reference_uri",
"import",
"score"
],
"title": "MatchOut"
},
"type": "array",
"title": "Matches"
},
"catalog_version": {
"type": "string",
"title": "Catalog Version"
},
"library_version": {
"type": "string",
"title": "Library Version"
}
},
"required": [
"query",
"locale",
"matches",
"catalog_version",
"library_version"
],
"title": "SearchResponse",
"x-fastmcp-top-level-schema": "SearchResponse"
}🟢get_component(tag)
Return one component's complete generated Markdown API reference. Prefer this exact lookup after `search_components` identifies a tag. It includes properties, attributes, events, slots, CSS parts, themeable custom properties, usage, and known gotchas.
Input Schema
{
"type": "object",
"properties": {
"tag": {
"type": "string",
"title": "Tag"
}
},
"required": [
"tag"
]
}Output Schema
{
"type": "object",
"properties": {
"tag": {
"type": "string",
"title": "Tag"
},
"name": {
"type": "string",
"title": "Name"
},
"family": {
"type": "string",
"title": "Family"
},
"family_label": {
"type": "string",
"title": "Family Label"
},
"description": {
"type": "string",
"title": "Description"
},
"import": {
"type": "string",
"title": "Import"
},
"docs_url": {
"type": "string",
"title": "Docs Url"
},
"reference_url": {
"type": "string",
"title": "Reference Url"
},
"reference_uri": {
"type": "string",
"title": "Reference Uri"
},
"aliases": {
"items": {
"type": "string"
},
"type": "array",
"title": "Aliases"
},
"translations": {
"additionalProperties": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": "object",
"title": "Translations"
},
"api": {
"additionalProperties": true,
"type": "object",
"title": "Api"
},
"markdown": {
"type": "string",
"title": "Markdown"
},
"catalog_version": {
"type": "string",
"title": "Catalog Version"
}
},
"required": [
"tag",
"name",
"family",
"family_label",
"description",
"import",
"docs_url",
"reference_url",
"reference_uri",
"api",
"markdown",
"catalog_version"
],
"title": "ComponentDetail",
"x-fastmcp-top-level-schema": "ComponentDetail"
}🟢search_documentation(q, limit, tag, topic)
Search section-sized chunks of the component and library-wide Markdown reference.
Input Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"minLength": 2,
"title": "Q",
"description": "API behavior to look up."
},
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"title": "Limit",
"default": 8
},
"tag": {
"anyOf": [
{
"type": "string",
"pattern": "^lr-[a-z0-9-]+$"
},
{
"type": "null"
}
],
"title": "Tag",
"description": "Optional exact component tag to search within."
},
"topic": {
"anyOf": [
{
"type": "string",
"pattern": "^(index|shared|tokens|peers|migration)$"
},
{
"type": "null"
}
],
"title": "Topic",
"description": "Optional library-guide topic to search within."
}
},
"required": [
"q"
]
}Output Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"title": "Query"
},
"matches": {
"items": {
"properties": {
"kind": {
"type": "string",
"enum": [
"component",
"guide"
],
"title": "Kind"
},
"tag": {
"type": "string",
"title": "Tag"
},
"section": {
"type": "string",
"title": "Section"
},
"snippet": {
"type": "string",
"title": "Snippet"
},
"uri": {
"type": "string",
"title": "Uri"
},
"url": {
"type": "string",
"title": "Url"
},
"matched_fields": {
"items": {
"type": "string"
},
"type": "array",
"title": "Matched Fields"
},
"score": {
"type": "number",
"exclusiveMaximum": 1,
"minimum": 0,
"title": "Score"
}
},
"type": "object",
"required": [
"kind",
"tag",
"section",
"snippet",
"uri",
"url",
"score"
],
"title": "DocumentationMatch"
},
"type": "array",
"title": "Matches"
},
"catalog_version": {
"type": "string",
"title": "Catalog Version"
}
},
"required": [
"query",
"matches",
"catalog_version"
],
"title": "DocumentationSearchResponse",
"x-fastmcp-top-level-schema": "DocumentationSearchResponse"
}🟢resolve_migration(source_tag)
Resolve a documented `wa-*` or `sl-*` component name to its Lyra counterpart.
Input Schema
{
"type": "object",
"properties": {
"source_tag": {
"type": "string",
"title": "Source Tag"
}
},
"required": [
"source_tag"
]
}Output Schema
{
"type": "object",
"properties": {
"source_tag": {
"type": "string",
"title": "Source Tag"
},
"target": {
"properties": {
"tag": {
"type": "string",
"title": "Tag"
},
"name": {
"type": "string",
"title": "Name"
},
"family": {
"type": "string",
"title": "Family"
},
"family_label": {
"type": "string",
"title": "Family Label"
},
"description": {
"type": "string",
"title": "Description"
},
"docs_url": {
"type": "string",
"title": "Docs Url"
},
"reference_url": {
"type": "string",
"title": "Reference Url"
},
"reference_uri": {
"type": "string",
"title": "Reference Uri"
},
"import": {
"type": "string",
"title": "Import"
},
"matched_fields": {
"items": {
"type": "string"
},
"type": "array",
"title": "Matched Fields"
},
"score": {
"type": "number",
"exclusiveMaximum": 1,
"minimum": 0,
"title": "Score",
"description": "Bounded relevance indicator used only to compare results from this query."
}
},
"type": "object",
"required": [
"tag",
"name",
"family",
"family_label",
"description",
"docs_url",
"reference_url",
"reference_uri",
"import",
"score"
],
"title": "MatchOut"
},
"catalog_version": {
"type": "string",
"title": "Catalog Version"
}
},
"required": [
"source_tag",
"target",
"catalog_version"
],
"title": "MigrationResponse",
"x-fastmcp-top-level-schema": "MigrationResponse"
}🟡submit_request(title, description, use_case, searched_for, settled_for, ...)
Report a component you needed but could not find, and get back the closest existing ones. Search first: most apparent gaps are naming mismatches, and `search_components` answers that in one call without filing anything. The response here also lists close matches — read them. If you are an agent acting for someone: ask them and get their explicit agreement before submitting. This sends their words to a third-party service. Never file as a silent side effect of noticing a gap. `name` and `email` are optional; anonymous is the default. Ask the user whether they want to be reachable — never invent an address or reuse one from git config or earlier context. Always classify it: set `kind` to its category and `labels` to every matching sub-category label from the schema's enum (for example `bug:keyboard` and `bug:focus`, or `scope:` when it is not about one component family). Both fields are optional only so that older clients keep working: a request without them waits in the maintainer's unclassified queue for manual triage. Component and family tags are detected automatically from the `lr-*` names in your text. Fill in every other optional field you can as well: `use_case`, `searched_for`, `settled_for`, `agent`, and `model` (the id of the model writing the report). Triage and the maintainer's statistics rely on them. `name` and `email` stay opt-in, as described above. Submissions are stored privately, shown only to the maintainer, and never published. Describe the component generically: no source code, no client or product names, no credentials.
Input Schema
{
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 120,
"minLength": 3,
"title": "Title",
"description": "Short, specific summary naming the missing component, bug, or API gap."
},
"description": {
"type": "string",
"maxLength": 4000,
"minLength": 10,
"title": "Description",
"description": "Generic behavior needed or documented contract versus observed behavior. Do not include source code, client names, product names, or credentials."
},
"use_case": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
],
"title": "Use Case",
"description": "Expected: the generic context explaining why the capability is needed."
},
"searched_for": {
"items": {
"type": "string"
},
"type": "array",
"maxItems": 10,
"title": "Searched For",
"description": "Expected: terms tried before giving up. The most useful field: it records the name the caller expected."
},
"settled_for": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
],
"title": "Settled For",
"description": "Expected when you used a workaround: what you built or used instead."
},
"kind": {
"anyOf": [
{
"type": "string",
"enum": [
"bug",
"optimization",
"size",
"dedup",
"harmonization",
"improvement",
"feature"
]
},
{
"type": "null"
}
],
"title": "Kind",
"description": "Set this on every request: its category — bug (existing behaviour is wrong), optimization (runtime cost), size (bytes shipped), dedup (duplicated implementation), harmonization (siblings differ), improvement (engineering quality), feature (a genuinely new capability)."
},
"labels": {
"items": {
"type": "string",
"enum": [
"bug:crash",
"bug:state-data",
"bug:events",
"bug:lifecycle",
"bug:async-race",
"bug:leak",
"bug:accessibility",
"bug:keyboard",
"bug:focus",
"bug:i18n",
"bug:rtl",
"bug:forms",
"bug:layout",
"bug:overlay-positioning",
"bug:styling-theming",
"bug:visual-states",
"bug:motion",
"bug:cross-engine",
"bug:security",
"bug:packaging",
"bug:types-contracts",
"bug:docs",
"bug:tooling",
"optimization:render",
"optimization:layout-thrash",
"optimization:observers-listeners",
"optimization:memory",
"optimization:algorithmic",
"optimization:loading",
"size:js-bundle",
"size:css",
"size:dependencies",
"size:lazy-loading",
"size:package",
"dedup:logic",
"dedup:styles",
"dedup:tests",
"dedup:tooling",
"dedup:docs",
"harmonization:naming",
"harmonization:behavior",
"harmonization:visual",
"harmonization:events",
"harmonization:docs",
"improvement:dx-types",
"improvement:diagnostics",
"improvement:tests",
"improvement:tooling-ci",
"improvement:docs",
"feature:new-component",
"feature:capability",
"scope:library-wide",
"scope:tooling",
"scope:docs",
"scope:lyra-docs",
"scope:website"
]
},
"type": "array",
"maxItems": 12,
"title": "Labels",
"description": "Set these on every request: every sub-category label that applies, e.g. bug:keyboard and bug:focus (a facet from another kind is fine), or scope:<value> when the request is not about one component family. Component and family tags are detected automatically from lr-* names."
},
"agent": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"title": "Agent",
"description": "Expected: the submitting agent or client name (e.g. claude-code)."
},
"model": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"title": "Model",
"description": "Expected on agent reports: the id of the model that wrote the submission (e.g. claude-opus-5-5)."
},
"source_url": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"title": "Source Url",
"description": "Optional public URL with non-sensitive context."
},
"name": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"title": "Name",
"description": "Optional contact name, only when the user explicitly asks to be reachable."
},
"email": {
"anyOf": [
{
"type": "string",
"maxLength": 200,
"pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"
},
{
"type": "null"
}
],
"title": "Email",
"description": "Optional. Only if you want a reply — stored privately, shown to the maintainer only, never published."
}
},
"required": [
"title",
"description"
]
}Output Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"status": {
"type": "string",
"enum": [
"received",
"reviewing",
"planned",
"shipped",
"declined",
"duplicate"
],
"title": "Status"
},
"matches": {
"items": {
"properties": {
"tag": {
"type": "string",
"title": "Tag"
},
"name": {
"type": "string",
"title": "Name"
},
"family": {
"type": "string",
"title": "Family"
},
"family_label": {
"type": "string",
"title": "Family Label"
},
"description": {
"type": "string",
"title": "Description"
},
"docs_url": {
"type": "string",
"title": "Docs Url"
},
"reference_url": {
"type": "string",
"title": "Reference Url"
},
"reference_uri": {
"type": "string",
"title": "Reference Uri"
},
"import": {
"type": "string",
"title": "Import"
},
"matched_fields": {
"items": {
"type": "string"
},
"type": "array",
"title": "Matched Fields"
},
"score": {
"type": "number",
"exclusiveMaximum": 1,
"minimum": 0,
"title": "Score",
"description": "Bounded relevance indicator used only to compare results from this query."
}
},
"type": "object",
"required": [
"tag",
"name",
"family",
"family_label",
"description",
"docs_url",
"reference_url",
"reference_uri",
"import",
"score"
],
"title": "MatchOut"
},
"type": "array",
"title": "Matches"
},
"catalog_version": {
"type": "string",
"title": "Catalog Version"
},
"labels": {
"items": {
"type": "string"
},
"type": "array",
"title": "Labels",
"description": "Labels stored on the request: your kind and labels plus component and family tags detected from lr-* names in the text."
}
},
"required": [
"id",
"status",
"matches",
"catalog_version"
],
"title": "SubmitResponse",
"x-fastmcp-top-level-schema": "SubmitResponse"
}🟢get_request_status(request_id)
Look up a submitted request's triage state by its id. Returns only the status, the maintainer's note and any linked issue — never the submitted body, and never the submitter's name or email.
Input Schema
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"title": "Request Id"
}
},
"required": [
"request_id"
]
}Output Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"status": {
"type": "string",
"enum": [
"received",
"reviewing",
"planned",
"shipped",
"declined",
"duplicate"
],
"title": "Status"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note"
},
"issue_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Issue Url"
},
"updated_at": {
"type": "string",
"title": "Updated At"
}
},
"required": [
"id",
"status",
"updated_at"
],
"title": "StatusResponse",
"description": "Deliberately excludes the submitted body — ids are unguessable but statuses are public.",
"x-fastmcp-top-level-schema": "StatusResponse"
}Community
Evidence