icons + AI, made simple

How to get great icons from ChatGPT, Claude and other AI assistants

AI assistants are brilliant at layouts and terrible at remembering icon names. Here is why they make names up, and three simple ways to make them pick real icons every time.

Short answer
  • AI assistants invent icon names because they predict likely-sounding words from memory, and every icon set names things differently (“house”, “home”, “fa-house”).
  • The fix is to let the assistant look up a real list instead of guessing: connect an MCP server, point it at an llms.txt file, or start from a ready-made brief.
  • with icons offers all three: an MCP server at https://withicons.com/mcp, a plain-text guide at withicons.com/llms.txt, and “Ask AI” buttons on the site for Claude, ChatGPT, Gemini, Perplexity and Grok.
  • No coding needed: paste one line that tells the assistant where to read, describe what the icon is for, and ask for exact names with links.
  • Always check the answer: every icon should have a working link, one style per area, and a text label or accessible name.
Written by
Published
Reading time
8 min
Facts checked
Robot and human hands reaching toward ai text
Photo: Igor Omilaev on Unsplash
On this page 10 sections

To get great icons from an AI assistant, stop asking it to remember icon names and let it look them up. Connect an MCP server, point it at an llms.txt file, or start from a ready-made brief. Then ask for exact names, one style, and a link for every pick.

That is the whole trick. The rest of this guide explains why assistants get icons wrong, what MCP and llms.txt actually are (in normal words), how the “Ask AI” buttons on withicons.com work, and gives you prompts you can copy, whether you are making slides or shipping code.

Why do AI assistants make up icon names?

An AI assistant writes the most likely-sounding answer based on what it has read. It does not have your icon library open. So when you ask for “the delete icon”, it produces a name that sounds right. Sometimes that name exists. Often it does not, or it exists in a different library.

Researchers at OpenAI put it plainly in 2025: models partly make things up because the way they are trained and tested rewards a confident guess over saying “I am not sure”. Icon names are a perfect trap, because every library names the same idea differently:

One idea, many names: why guessing goes wrong
IdeaFont AwesomeLucideHeroiconsMaterial Symbolswith icons
Homefa-househousehomehomehome
Settingsfa-gearsettingscog-6-toothsettingssettings
Deletefa-trashtrash-2trashdeletetrash

Mix those up and you get a blank square on your website, a broken build, or a slide with the wrong picture. The assistant is not being lazy. It simply has nothing to check against.

An assistant that searches first never has to guess.

What is MCP, in one sentence?

MCP (Model Context Protocol) is an open standard that lets AI apps plug into outside tools and data, a bit like a USB-C port for AI. Anthropic released it as open source in November 2024, and today many AI apps and coding tools support it.

For icons, this means your assistant can call a search tool and get back real names, real code and real links, instead of writing from memory. The with icons MCP server offers these tools:

The with icons MCP tools
ToolWhat it doesExample
search_iconsFinds icons by meaning, typo-tolerant“throw away” finds trash
get_iconReturns one icon as paste-ready code in any styletrash, solid style, as SVG or React
resolve_iconChecks a guessed name“bin” resolves to trash
list_stylesLists every style and when to use eachline for buttons, gloss or glass for hero sections
list_categoriesLists categories and the icons in eachevery icon in “weather”
500
real icon names
20
styles per icon
5
MCP tools
$0
no account or API key

What is llms.txt?

llms.txt is a plain text file that a website puts at a fixed address so AI models can read a clean summary of it, without menus, ads and page code getting in the way. It was proposed by Jeremy Howard in September 2024.

with icons publishes https://withicons.com/llms.txt (a short guide), llms-full.txt (more detail) and icons.json (every icon with its name, category and aliases). If your assistant can read web pages but cannot use MCP, paste the llms.txt link into your chat and ask it to use that list.

How do the “Ask AI” buttons on withicons.com work?

This is the easiest route if you never want to touch settings or code. Next to every search box and on every icon page there is an “Ask AI” option.

  1. 1
    Say what the icon is for

    Type something like “a button that clears the cart in my grocery app” or “a pricing slide in Google Slides”.

  2. 2
    Pick your assistant

    Claude, ChatGPT, Gemini, Perplexity or Grok.

  3. 3
    We copy a brief and open it

    The assistant opens in a new tab with a ready-made brief. (Gemini cannot pre-fill the message, so paste it with Ctrl+V, or ⌘V on a Mac.)

  4. 4
    Get a real answer

    The brief points the assistant to the with icons skill file, so it searches the real library and replies with the best fit, up to two alternatives, the right style, and code or steps for your app.

You can ask for five different jobs: find the right icon, code it for your app, build a matching set, check whether an icon fits your meaning, or use it in your slides or doc. Nothing is sent to with icons: the brief only tells your assistant where to read.

Letters AI in 3D on a teal circuit
AI assistants are great collaborators once they have a real source to check.Photo: Numan Ali on Unsplash

Prompts you can copy (no code needed)

These work in any assistant that can read web pages. Swap the details in brackets for your own.

For a slide deck

Read https://withicons.com/llms.txt first and only use icons from that library.
I'm making a [10-slide sales deck in Google Slides] about [our delivery service].
Suggest one icon per slide, all in the duo style.
For each one, give the exact icon name, a link to its page on withicons.com,
and one line on why it fits. Then tell me how to copy it into Google Slides.

For a website section

Use the with icons library (read https://withicons.com/llms.txt).
I need icons for a "Why choose us" section with 4 points:
[fast delivery, secure payments, friendly support, easy returns].
Give me the exact icon name and page link for each, pick one style that
suits a [friendly, modern] brand, and say what size to use.
Don't invent names: if nothing fits, say so and suggest the closest one.

To check an icon you already picked

Read https://withicons.com/llms.txt. I plan to use the "sliders" icon for
"account settings" in my app. Will people read it correctly?
If not, suggest up to 3 better icons from the library, with links.

Making slides? Our guide to icons in presentations and the Google Slides guide cover inserting, recolouring and resizing.

Prompts and setup for builders

If you use a coding assistant such as Claude Code, Cursor, Codex, VS Code or Windsurf, connect the MCP server once and every future request can search real icons. The recommended option is the remote server, which needs no install. For tools that read an .mcp.json file, it looks like this:

{
  "mcpServers": {
    "withicons": { "type": "http", "url": "https://withicons.com/mcp" }
  }
}

The exact steps for each tool, checked against each tool’s own docs, are on the with icons for AI page. Two more options come from npm: a local server you run with npx -y @withicons/mcp, and npx withicons init, which adds the server and the agent skill (a short instruction file the assistant reads first) to the AI tools it finds in your project.

Once connected, just ask in plain words:

Use the withicons MCP server. Replace every icon in the sidebar with
with icons in the line style, and use the solid style for the active item.
Look up each name with search_icons before importing it.
Icon-only buttons need an aria-label.
Laptop with glowing keyboard, pink light
Coding assistants work best with the real thing: connect once, and they stop guessing names.Photo: Martin Sanchez on Unsplash

Which method should you use?

Ways to get icons from an AI assistant
MethodSetupBest forStops made-up names?
Ask AI buttonsNoneAnyone, slides, docs, quick questions Mostly
Paste the llms.txt linkOne line in your promptChat assistants that can read web pages Mostly
MCP serverOne-time connectionCoding assistants and power users Yes
Ask with no sourceNoneNothing important No
Ask the AI to draw new iconsNoneRough sketches and ideas No names, but uneven drawings

A checklist for AI icon answers

Before you paste anything, run through this list. It takes a minute.

  • Every icon has a working link. If the page does not open, the name is invented.
  • One style per area. Line in the menu, for example, and not a mix of line, solid and gloss in one row.
  • Same idea, same icon. “Delete” uses one icon everywhere.
  • Labels are there. A visible word, or an accessible name on icon-only buttons.
  • The size fits the style. Line, solid and duo work at any size; the creative styles (gloss, glass, pixel, retro and the rest) need 32px or larger.
  • The licence is clear. with icons is MIT: free for personal and commercial use, no credit needed.
Do

Tell the assistant where to look (“use with icons, read withicons.com/llms.txt”), ask for exact names with links, and check one or two links before you use them.

Don’t

Accept a list of icon names on trust, or ask the assistant to “just pick some icons” with no library named. That is how you end up with blank squares.

Ask, search, check the link, paste the code. The four steps of a good AI icon answer.

Your assistant can also pick a style for you. Ask for any of the 20 by name, from calm line and duo for an app to glass, pixel or kawaii for a fun slide.

Line
Solid
Duo
Gloss
Engrave
Blueprint
Sketch
Glass
Kawaii
Sticker
Pixel
Retro
Bauhaus
Luxe
Skeuo
Anime
Coquette
Gothic
Pastel
Plush
The bot icon, drawn once and rendered in all 20 styles.

The bottom line

AI assistants are great at choosing and arranging icons once they stop guessing names. Give them a real source, whether that is an MCP server, an llms.txt link or a ready-made brief, and ask for exact names, one style and a link for each pick. You get the speed of AI with the reliability of a real icon library. If you are still deciding what an icon should say, read how to pick the right icon first.

Frequently asked questions

Why does ChatGPT give me icon names that do not exist?

Language models write the most likely-sounding answer, and icon names look alike across libraries. Without a real list to check, the assistant guesses, and a plausible guess like “trash-alt” may not exist in the set you use. Give it a source to search, such as an MCP server or an llms.txt file, and the guessing stops.

What is an MCP server?

MCP (Model Context Protocol) is an open standard that lets AI apps connect to outside tools and data. An icon MCP server lets your assistant search a real icon library and fetch the exact code, instead of relying on memory.

Can ChatGPT or Claude make icons for me?

They can draw simple SVG icons, but the results are often uneven: different line weights, odd proportions, nothing that matches your other icons. For a professional result, ask the assistant to choose from a consistent, licensed icon set and to give you exact names and links.

Do I need to know how to code to use AI for icons?

No. On withicons.com you can describe what the icon is for, click an assistant, and paste the brief. The assistant replies with the best icon, alternatives and step-by-step instructions for your app, such as PowerPoint or Canva.

What is llms.txt?

llms.txt is a simple text file a website publishes to give AI models a short, clean summary of its content. It was proposed by Jeremy Howard in September 2024. with icons publishes one at withicons.com/llms.txt.

Is the with icons MCP server free?

Yes. with icons is free and MIT licensed, and the MCP server needs no account or API key. The remote server is at https://withicons.com/mcp. You can also run it locally with npx -y @withicons/mcp, or let npx withicons init set it up for you.

Sources and notes

  1. Model Context Protocol: What is MCP?
  2. Anthropic: Introducing the Model Context Protocol (November 25, 2024)
  3. llms.txt proposal (Jeremy Howard, September 2024)
  4. OpenAI: Why language models hallucinate (September 2025)
  5. with icons for AI: MCP server, skill, llms.txt
  6. with icons llms.txt

Facts about other icon sets were checked against their official sites in October 2026. Libraries change, so check the links above for the latest numbers.

Published October 2, 2026