iconify-mcp

v0.2.1
@sohampatwardhan/iconify-mcp Checked 1 day ago Published 1 month ago

Unofficial community MCP server for Iconify icons, with Icônes links

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_collections List icon collections

List Iconify collections available on Icônes, including license, author, icon count, category, and sample icon ids. Filter with query, prefix, or category. Does not return icon images; call get_collection or preview_icons to see icons. Icon sets keep their own licenses.

ParameterTypeDescription
categorystringOnly collections whose category contains this text.
limitintegerMaximum collections to return. Default 40.
prefixstringOnly collections whose prefix equals or starts with this, such as mdi.
querystringCase-insensitive match against prefix, name, author, category, tags, or license.

get_collection Get an icon collection

Get one Iconify collection: license, author, category counts, and a page of icon names. By default also returns a PNG contact sheet of the collection's sample icons so you can see the style. Set preview to false to skip the image. Pass category to page icons inside one category.

ParameterTypeDescription
prefix *stringCollection prefix, such as lucide, mdi, or tabler.
categorystringCategory title to page, or "uncategorized".
limitintegerIcon names per page. Default 80.
offsetintegerOffset into the icon name page. Default 0.
previewbooleanInclude a PNG of sample icons. Default true.

search_icons Search icons

Search icons across Iconify, the catalog behind Icônes (https://icones.js.org). Matches icon names and keywords, not arbitrary visual similarity. Returns icon ids, the collection license, and an Icônes URL. By default also returns one labeled PNG contact sheet of the matches so you can see and compare them. Set preview to false for text only.

ParameterTypeDescription
query *stringSearch text, for example home, arrow, or cloud.
categorystringLimit the search to icon sets in this Iconify category.
colorstringHex, CSS color name, or rgb()/rgba(). Omit to keep snippet SVGs on currentColor. PNGs use #1c1917 when omitted.
columnsintegerContact sheet columns. Default is up to 4.
limitintegerMaximum icons to return. Default 12.
prefixstringLimit the search to one collection prefix.
prefixesarrayLimit the search to these collection prefixes.
previewbooleanAttach a contact-sheet PNG of the returned icons. Default true.
sizeintegerIcon size in the contact sheet, in pixels. Default 56.
startintegerOffset into the search results. Default 0.

get_icon Get an icon

Get one icon by Iconify id (prefix:name). Returns dimensions, collection, license, alias parent when this name is an alias, the Icônes URL, code snippets, and a PNG you can see. Snippets cover raw SVG, a data URL, Vue, React, Svelte, an UnoCSS class, a Tailwind Iconify class, and the Iconify name. Snippet SVGs stay on currentColor unless color is set. Use preview_icons to compare several icons.

ParameterTypeDescription
icon *stringIconify id, for example "lucide:house" or "mdi:home".
aliasesbooleanAlso list other names that alias this icon. Requires the collection payload. Default false.
backgroundstringPNG background. Default #ffffff. Use "transparent" for no background.
colorstringHex, CSS color name, or rgb()/rgba(). Omit to keep snippet SVGs on currentColor. PNGs use #1c1917 when omitted.
formatsarraySnippet formats to include. Default: all of them.
includeImagebooleanInclude the PNG. Default true.
sizeintegerPNG size in pixels. Default 128.

preview_icons Preview icons

Render a labeled PNG contact sheet of several icons so you can compare them in one image. Pass Iconify ids, or a search query plus an optional prefix, and the top matches are drawn. Supports size, color, background, and columns. Each icon's license is included in the text result. At most 24 icons.

ParameterTypeDescription
backgroundstringSheet background. Default #f7f6f3.
colorstringHex, CSS color name, or rgb()/rgba(). Omit to keep snippet SVGs on currentColor. PNGs use #1c1917 when omitted.
columnsintegerNumber of columns. Default up to 4.
iconsarrayIconify ids to draw, such as ["lucide:house", "lucide:search"].
labelsbooleanDraw the icon name under each glyph. Default true.
limitintegerHow many search matches to draw. Default 12.
prefixstringCollection prefix used with query.
querystringSearch text used when icons is omitted.
sizeintegerIcon size in pixels. Default 64.
titlestringOptional heading drawn on the sheet.