Lets AI coding assistants search the icon packages actually installed in your project.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
TrueIcon is an MCP server that gives AI coding assistants exact, version-correct icon references. Your assistant searches the icon packages your project actually uses (lucide-react, react-icons, @heroicons/react, @phosphor-icons/react, @tabler/icons-react, iconoir-react, @fluentui/react-icons, @carbon/icons-react, @ant-design/icons, @mui/icons-material, @radix-ui/react-icons, @remixicon/react and the Font Awesome Free packages) and gets back real icon names, import paths and a ready-to-paste import line.
AI assistants often guess icon names. The guess can be an icon that never existed, one renamed a few releases ago, or one from a different library, and you only find out when the build fails. TrueIcon closes that gap:
search_icons and gets results that are guaranteed to exist in that version, for example import { Trash2 } from 'lucide-react';.| Provider id | npm package | Icon naming |
|---|---|---|
lucide | lucide-react | Lucide's file names, e.g. trash-2 β Trash2 |
heroicons | @heroicons/react | <icon>-<size>-<style>, e.g. trash-24-outline β TrashIcon |
react-icons | react-icons | <set>-<icon>, e.g. fa6-beer-mug-empty β FaBeerMugEmpty |
phosphor | @phosphor-icons/react | <icon> for the regular weight, <icon>-<weight> otherwise, e.g. trash-bold β TrashIcon with weight="bold" |
tabler | @tabler/icons-react | Tabler's icon names, e.g. trash β IconTrash, trash-filled β IconTrashFilled |
iconoir | iconoir-react | <icon> for regular, <icon>-solid for solid, e.g. trash-solid β TrashSolid |
fluentui | @fluentui/react-icons | <icon>-<style> with style regular, filled or color, e.g. delete-regular β DeleteRegular. Only the scalable (1em) icons are indexed, not the size-specific variants |
carbon | @carbon/icons-react | Carbon's export names in kebab case, e.g. trash-can β TrashCan. Variants add -filled, -alt or -color, e.g. accessibility-filled β AccessibilityFilled |
antdesign | @ant-design/icons | <icon>-<theme> with theme outlined, filled or two-tone, e.g. delete-outlined β DeleteOutlined |
mui | @mui/icons-material | MUI's export names in kebab case, e.g. delete β Delete. Themes add -outlined, -rounded, -sharp or -two-tone, e.g. delete-outlined β DeleteOutlined; base icons have the style filled |
radix | @radix-ui/react-icons | Radix's icon names, e.g. trash β TrashIcon, github-logo β GitHubLogoIcon |
remix | @remixicon/react | Remix's icon names with the -line or -fill style, e.g. delete-bin-line β RiDeleteBinLine |
fontawesome-solid | @fortawesome/free-solid-svg-icons | Font Awesome's icon names, e.g. trash-can β faTrashCan. Old names still resolve: get_icon finds trash-alt or faTrashAlt as faTrashCan, and faSearch as faMagnifyingGlass |
fontawesome-regular | @fortawesome/free-regular-svg-icons | Same as fontawesome-solid, e.g. star β faStar |
fontawesome-brands | @fortawesome/free-brands-svg-icons | Same as fontawesome-solid, e.g. github β faGithub |
Tools accept either the provider id or the npm package name ("lucide" or "lucide-react"). Usage snippets are for React. Phosphor weights all share one component, so pass the record's style as the weight prop (e.g. <TrashIcon weight="bold" />); the usage snippet only shows the import. Font Awesome imports are icon definitions, not components: render them with @fortawesome/react-fontawesome, e.g. <FontAwesomeIcon icon={faTrashCan} />.
TrueIcon needs Node.js 20 or newer.
trueicon is a stdio MCP server. Your MCP client starts it; running it by hand only prints trueicon: v<version> running on stdio to stderr and waits for JSON-RPC on stdin.
That's it for most projects. TrueIcon finds the icon packages your package.json lists and the versions installed in node_modules. The first search for each package downloads and indexes it, which takes a few seconds. Later searches use the local cache.
dependencies or devDependencies of your package.json..iconmcp.json in the project, exactly the packages it lists. Use it to search only some of your icon packages, to add one your package.json doesn't list (for example one that comes in through a UI kit), or to pin a version.| Field | Type | Required | Meaning |
|---|---|---|---|
providers | array | yes | Icon packages to search. When it lists any, package.json is not used to pick packages. |
providers[].package | string | yes | npm package name: lucide-react, react-icons, @heroicons/react, @phosphor-icons/react, @tabler/icons-react, iconoir-react, @fluentui/react-icons, @carbon/icons-react, @ant-design/icons, @mui/icons-material, @radix-ui/react-icons, @remixicon/react, @fortawesome/free-solid-svg-icons, @fortawesome/free-regular-svg-icons or @fortawesome/free-brands-svg-icons. |
providers[].version | string | no | Exact version or npm range. Overrides the installed version (see Versions). |
semantic | bool | no | Opt-in semantic search (default false). See below. |
.iconmcp.json are skipped, and search_icons reports them as a warning.search_icons returns an error that says which directory it looked in. You can still pass provider to a tool call.Set "semantic": true in .iconmcp.json to add meaning-based ranking to search_icons. Each query is embedded with a small local model (all-MiniLM-L6-v2, ~90MB downloaded once to the transformers.js cache) and matched against per-icon vectors built at index time; those semantic candidates are merged with the keyword results using reciprocal rank fusion, so exact-name matches still win while conceptual queries like "remove background" can surface eraser.
Semantic search runs on @huggingface/transformers, which is an optional peer dependency and is not installed by default, so installs that never enable the flag stay lean. To enable semantic search, install it once (about 400MB) alongside trueicon:
If the flag is on but the package is missing, search_icons and get_icon fall back to keyword-only indexes and return a one-line warning with the install command.
Toggling the flag rebuilds the indexes once (vectors are stored in index.json alongside each record, and meta.json records the embedding model). It stays fully local: no data leaves your machine. TRUEICON_SEMANTIC=1 (or 0) overrides the flag for one-off runs.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/trueicon)<a href="https://allmcps.com/mcp/trueicon"><img src="https://allmcps.com/api/badge/trueicon?style=directory" alt="TrueIcon on AllMCPs" /></a>