IconSouk CLI & MCP server
Search and add 58,000+ free SVG icons from iconsouk.com – from the command line or straight from your AI assistant.
No install needed, Node 18+:
npx @iconsouk/cli search shopping cart --set kanso
npx @iconsouk/cli add kanso/shopping-cart soft-3d-gold/animals-bear
Commands
| Command |
What it does |
search <words> [--set <set>] [--limit 20] |
Find icons |
add <set>/<icon> … [--out icons] [--format svg\|jsx] |
Save icons as SVG files or React components |
sets |
List all sets and their style / colour variants |
mcp |
Start the MCP server for AI assistants |
Sets and variants, for example: kanso, kanso-leaf-light, kanso-open-bold-16, soft-3d, soft-3d-gold, duotone, illustrated, noviair, animated-neon. Run sets for all 179.
npx @iconsouk/cli add kanso-leaf-light/interface-search --format jsx --out src/icons
MCP server for AI assistants
Let Claude, Cursor, VS Code or any MCP client search IconSouk and paste icons into your code. Add this to the MCP settings of your assistant:
{
"mcpServers": {
"iconsouk": {
"command": "npx",
"args": ["-y", "@iconsouk/cli", "mcp"]
}
}
}
Tools: search_icons, get_icon_svg, list_icon_sets.
Icons for sale
Free icons work without a key. For icons you bought or get with your subscription, create a key in your account on iconsouk.com and pass it with --key <key> or the environment variable ICONSOUK_KEY. Keep the key private – use it in tools and build steps, never in code that runs in a visitor's browser.
An icon you don't own yet is not downloaded: you get its price, the page to buy it and a preview. Payment always happens on iconsouk.com.
If loading an icon would use one of your credits or an icon of your subscription, nothing is used up until you agree: add --confirm on the command line. In the MCP server your assistant asks you first and only then loads it.
Other ways to use the icons
License
The CLI is MIT licensed. The icons keep the license of their set (most free sets are CC BY 4.0). add prints the credit line of each set, React components carry it as a comment, and the MCP server adds it below the SVG – please give credit where the license asks for it, for example:
Icons: Kanso from iconsouk.com – by Novissium (novissium.com)