The tool names lay out the flow — get_icon_repos to learn which sets exist, a desc search inside a prefix to shortlist, then get_icon_detail_by_prefix_and_name for the SVG. Which icon sets are indexed is something get_icon_repos answers at runtime, which makes it the first call worth making rather than an optional one.
An icon lookup server with 3 tools: one that lists the icon repository names available, one that finds icons by description inside a named prefix such as ant-design, and one that returns the SVG detail for a chosen icon.
- The set of icon repositories it can draw from: get_icon_repos returns the repository names, which are the values a prefix takes.
- Search by description instead of by icon name: get_icons_by_desc_and_prefix takes a desc and a prefix and returns the icons that match inside that one set.
- The SVG itself: get_icon_detail_by_prefix_and_name takes a prefix and an svg_name, alongside an svg_list argument.
A value for PREFIX; get_icon_repos returns the repository names it can be set from.
One command — npx -y pickapicon-mcp@latest
