icon-mcp
Provides access to a bundled Lucide icon set for keyword-based icon search and generation of styled SVG icons, supporting configurable stroke width, color, and size, plus batch creation of visually consistent icon sets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@icon-mcpfind a settings icon and a trash icon, 1.5px stroke, blue, as SVGs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
icon-mcp
mcp-name: io.github.pratham-jain33/icon-mcp
Give any AI assistant a custom icon button. No emojis, no designer needed.
Unofficial community project. Not made by, endorsed by, or affiliated with Lucide. The Lucide icon set (ISC licensed) is bundled inside the package, so everything works offline.
Why
AI assistants reach for emojis when a UI needs an icon, because drawing a good icon is actual design work. This server plugs into any MCP-compatible assistant (Claude Desktop, Claude Code, Cursor, and more) and lets it search 2000+ Lucide icons by keyword, restyle them (stroke width, color, size), and generate a whole matching set in one call so every icon on the page looks like it belongs together. The SVGs come back as markup the assistant saves straight into the project. No API key, no account, no network.
Related MCP server: brain-mcp-icon-visual
Tools
Tool | Description |
| Finds icons by keyword across names and tags. Use when you don't know the exact icon name. |
| Renders one icon or a whole matching set as styled SVG markup. Takes names or plain-words queries plus shared |
Quickstart
Install
No cloning needed:
uvx icon-mcpor with pip:
pip install icon-mcpFrom source instead:
git clone https://github.com/pratham-jain33/icon-mcp
cd icon-mcp
python -m venv .venv
.venv/bin/pip install -e .Connect your assistant
Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"icon-mcp": {
"command": "uvx",
"args": ["icon-mcp"]
}
}
}No environment variables, no keys. From source, point at your checkout instead:
{
"mcpServers": {
"icon-mcp": {
"command": "/absolute/path/to/icon-mcp/.venv/bin/python",
"args": ["-m", "icon_mcp.server"]
}
}
}Restart Claude Desktop, then try: "Find me a settings icon and a trash icon, both 1.5px stroke in #2f6bff at 32px, as SVGs."
Configuration
None. There is nothing to configure: no API keys, no accounts, no network access. The icon set ships inside the package.
How it works
You ask the assistant for icons in plain words.
The assistant calls
search_iconsto find the right names, or passes keywords straight togenerate_icons.The server resolves each query to a bundled Lucide SVG and rewrites four attributes on it:
width,height,stroke-width,stroke. Pure XML manipulation, no rendering, no native dependencies.Every icon in one call gets the identical style, so the set is visually consistent by construction.
The server returns JSON with the SVG markup per icon; the assistant saves them as
.svgfiles in your project.
Example session
You: I need icons for my landing page nav: home, features, pricing,
contact. Make them all match: thin 1.5 stroke, blue #2f6bff.
Claude: [calls generate_icons with ["home", "features", "pricing",
"contact"], stroke_width=1.5, color="#2f6bff"]
Done. Four SVGs, all 1.5px stroke in #2f6bff, saved to icons/.
"features" resolved to the "sparkles" icon, "contact" to "mail".Why icon-mcp instead of Unicon
Unicon is the closest existing tool: an MCP server over a hosted icon API with 19,000+ icons across 9 libraries. icon-mcp takes the opposite trade:
Fully offline. The whole set is bundled in the package. No hosted API, works on a plane.
No account, no tiers. Free forever, nothing to sign up for.
Python-native. Installs with
uvx/pip; no Node or npx needed.One-call consistent sets. Pass a list of icons plus one style; every SVG comes back matching. The style params (stroke width, color, size) are first-class, not an afterthought.
Smaller, calmer surface. Two tools, one library, zero config.
The trade: one library (Lucide) instead of nine, and keyword search instead of semantic search. For shipping a consistent icon set on a page, that's the whole job.
Parameters
generate_icons accepts:
Parameter | Default | Rules |
| (required) | 1-50 names or keyword queries, e.g. |
|
| 0.5 to 4 (2 is Lucide's default) |
|
|
|
|
| 1 to 1024 pixels |
Queries that don't resolve are reported in the unresolved list instead of failing the whole call.
Roadmap
v0.1 — bundled Lucide set (v1.50.0), keyword search, parametric SVG styling, batch sets in one call
Website: paste a prompt, download a styled set
More libraries (Tabler, Heroicons) as opt-in bundles
Contributing
Issues and pull requests are welcome. If you add a tool, write its description the way you'd explain it to a smart friend who has never seen it — the assistant reads that text to decide when to use it. To refresh the icon bundle against a newer Lucide release, bump LUCIDE_VERSION in scripts/fetch_lucide.py and run it.
License
MIT © Pratham Jain. See LICENSE.
Acknowledgments
Built on Lucide's icon set (ISC licensed, see icon_mcp/LUCIDE_LICENSE) and the Model Context Protocol.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search 324k icons or generate new ones in the Lucide grammar - grammar-locked lint+critique+repair
Multilingual semantic SVG icon search with previews for AI coding agents. 20,000+ icons.
Icons for agentic development: search & fetch 366,000+ open-source icons as SVG/PNG. No API key.
Search and fetch SVG icons from 250,000+ icons across 200+ open-source icon sets.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides access to over 200,000 icons from 150+ collections with features for searching, recommendations, and direct file synchronization. It supports multiple frameworks and optimizes AI performance by writing icon code directly to project files.679 npm1,339MIT
- FlicenseNot gradedqualityDmaintenanceVisual icon search, retrieval, and comparison for AI agents. Search 200k+ icons semantically, render side-by-side comparison grids, and retrieve raw SVG markup — all tools return images so vision-capable LLMs can see the icons.1-

Svg/icons MCPofficial
AlicenseNot gradedqualityDmaintenanceEnables AI coding tools to search, inspect, recommend, and export SVG icons from svgicons.com for use in design systems, frontend projects, and AI-assisted workflows.MIT- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search, retrieve, and save Nucleo icons from the user's local library directly into projects.7 npm9MIT