PlugWiki
better-icons logo

Better Icons MCP Server: Setup for Claude, Cursor and Other Apps

CommunityLocal
Getnpmbetter-iconsbetter-auth/better-icons

Lets Claude or Cursor search 200,000+ icons from Iconify and add them straight into your project's icons file.

Better Icons is a free server that looks up icons on the public Iconify service. It runs on your computer with npx, needs no account or key, and is made by the Better Auth team.

Its sync tool writes components into an icons file you name, and it keeps a small history of your choices in your home folder to rank your favorite libraries higher.

Good for

  • Front-end developers who want correct icons without pasting SVG into chat
  • Designers choosing icons across libraries like Lucide, Heroicons and Material
  • Teams keeping one icon style across a React, Vue, Svelte or Solid app

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install better-icons MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the better-icons MCP server to Claude Code. Run this command:
    
    claude mcp add better-icons -- npx -y better-icons
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Built from the package data we hold. Not yet tested by us.

Tools

  • Finds icons across 150+ icon libraries

    Searches the Iconify catalog by keyword and returns icon IDs such as lucide:home. You can limit results, filter by collection or category.

    Try: “Search for arrow icons in the lucide collection.”

    Network · search_icons

  • Gets the SVG code for one icon

    Fetches one icon by its ID and returns raw SVG, ready-made component code and a usage example, or a direct URL. It also records the icon in your local history.

    Try: “Get the SVG for mdi:home in blue at 24 pixels.”

    Write · get_icon

  • Gets up to 20 icons at once

    Fetches several icons in one call and returns all their SVGs together. It also records them in your local history.

    Try: “Get lucide:home, lucide:user and lucide:settings together.”

    Write · get_icons

  • Adds an icon straight into your project's icons file

    Fetches an icon and writes it into the icons file you name, as a React, Vue, Svelte, Solid or plain SVG component, then returns the import line. It saves you pasting SVG into chat.

    Try: “Add lucide:home to src/components/icons.tsx as a React component.”

    Write · sync_icon

  • Lists the icons already in your icons file

    Reads the icons file you point at and shows which icons it already has, so the assistant avoids duplicates.

    Try: “What icons are already in src/components/icons.tsx?”

    Files · scan_project_icons

  • Finds the same icon in other styles or libraries

    Looks for variations of an icon, such as solid and outline versions or the same symbol from another collection.

    Try: “Find icons similar to lucide:home in other styles.”

    Network · find_similar_icons

  • Suggests icons for a use case

    Takes a description such as navigation menu or settings button and a style preference, then recommends matching icons.

    Try: “Recommend outline icons for a settings button.”

    Network · recommend_icons

  • Lists the icon libraries available

    Returns the available icon collections, which you can filter by category or search by name.

    Try: “Which icon collections are available for brand logos?”

    Network · list_collections

  • Shows icons you used recently

    Returns your recently retrieved icons from the local history file, so you can reuse them.

    Try: “Show the icons I used recently.”

    Files · get_recent_icons

  • Shows which icon libraries it has learned you prefer

    Reports the collections the server has learned you use most, which it ranks higher in later searches.

    Try: “Which icon libraries do you think I prefer?”

    Files · get_icon_preferences

  • Resets what it learned about your icon choices

    Overwrites the local preferences and history file with empty values, so learning starts from scratch.

    Try: “Reset my icon preferences.”

    Write · clear_icon_preferences

Read from the source code

Permissions

medium risk · 3 things to watch

Medium risk

Most tools only look up icons online, but sync_icon writes to the file path the assistant gives it. Review the diff after it runs.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • sync_icon writes to any file path it is given

    The tool adds an icon component to the icons file path the assistant supplies and the README documents no restriction to your project. Check the path and review the change in version control. github.com

  • It keeps a history file in your home folder

    Icon lookups are saved to ~/.better-icons/preferences.json to learn your favorite libraries. clear_icon_preferences resets it. github.com

  • One tool description steers the assistant

    The sync_icon description says it is the recommended way to add icons to your project, so the assistant may prefer it over simply showing the SVG. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Talks toapi.iconify.design
Sign-in and keysNone. No key or account.

Questions

Is the Better Icons MCP server official?

It comes from the Better Auth team (the better-auth GitHub organisation). It is not made by Iconify, whose public API it uses.

Is it free, and does it need an API key?

Yes, it is free under the MIT license, and no key or account is needed.

How do I set it up in Cursor or Claude Code?

Use the install box above. The README also offers an interactive command that configures Cursor, Claude Code, OpenCode, Windsurf, VS Code and Google Antigravity for you.

Can it change my project files?

Yes. The sync_icon tool adds icon components to the icons file you name, and there is no read-only mode. The other tools only fetch icons or read your icons file.

Where does the icon data come from?

From the public Iconify API at api.iconify.design, which covers 150+ icon collections.

Which frameworks does it support?

React, Vue, Svelte, Solid and plain SVG exports.

Can I also use it without an AI agent?

Yes. The same package works as a command-line tool with search and get commands, as described in the README.

Information

updated Nov 2, 2026

Publisher
Community
Package
better-icons
Registry
npm
Transport
stdio
Auth
None
Version
1.0.4
License
MIT
Last commit
Apr 2, 2026
Open issues
2

GitHubnpmChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 3
  1. README.md · github.com
  2. server.ts · github.com
  3. memory.ts · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.