lucide-mcp
The lucide-mcp server enables AI coding agents to search, retrieve, and integrate Lucide SVG icons into projects. It offers these capabilities:
Search icons by name using exact, partial, or fuzzy matching.
List all available icon names with pagination (limit and offset).
Get detailed metadata for a specific icon, including tags, aliases, local SVG path, and suggestions for unknown names.
Fetch raw SVG markup for an icon, with options to strip license comments, remove class attributes, and override stroke width.
Add an icon to a project by writing an SVG file to a specified directory, with control over filename, overwrite behavior, and SVG cleaning options.
Access raw SVG directly via the
lucide://icons/{name}.svgresource URI.
Provides tools for searching, retrieving, and adding Lucide SVG icons to projects, including metadata and custom SVG markup generation.
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., "@lucide-mcp find a home icon and add it to assets/icons"
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.
lucide-mcp
MCP server for searching, retrieving, and adding Lucide SVG icons from AI coding agents.
Resources
lucide://icons/{name}.svg- read raw SVG markup for an icon, for examplelucide://icons/panel-left.svg
Related MCP server: Svg/icons MCP
Tools
search_icons- search icons by exact, partial, and fuzzy name matchingget_icon_metadata- return tags, aliases, SVG path, and suggestions for an iconget_icon_svg- return raw SVG markup for an iconadd_icon_to_project- write an SVG file into the current projectlist_icons- list available Lucide icon names
Usage
{
"mcpServers": {
"lucide": {
"command": "npx",
"args": ["lucide-mcp"]
}
}
}With a local checkout:
{
"mcpServers": {
"lucide": {
"command": "node",
"args": ["/path/to/lucide-mcp/dist/index.mjs"]
}
}
}Examples
Search for sidebar icons:
search_icons({ "query": "sidebar", "limit": 5 })Get icon metadata:
get_icon_metadata({ "name": "panel-left" })Read SVG as a resource:
lucide://icons/panel-left.svgGet raw SVG with a tool:
get_icon_svg({ "name": "panel-left" })Get cleaned SVG markup:
get_icon_svg({
"name": "panel-left",
"stripLicense": true,
"stripClass": true,
"strokeWidth": 1.5
})Add an icon to a project:
add_icon_to_project({
"name": "panel-left",
"outputDir": "assets/icons",
"overwrite": false,
"stripLicense": true,
"stripClass": true
})The default output directory is assets/icons. Existing files are not overwritten unless overwrite is set to true. Use stripLicense, stripClass, and strokeWidth to customize the generated SVG markup.
Agent behavior
Agents can use this server when they need an icon for a UI feature and the project does not already contain a suitable SVG. A good workflow is:
Inspect existing project icons first.
Search Lucide with a semantic query.
Pick the best named icon.
Add it to the project's icon directory.
Use the SVG according to the project's conventions.
Development
pnpm install
pnpm test
pnpm build
pnpm typecheckRun locally:
pnpm devLicense
MIT. Lucide icons are distributed by the Lucide project under the ISC license.
Available Tools
5 toolsadd_icon_to_projectB
Add a Lucide SVG icon file to the current project.
Inputs: name (required), filename, outputDir, overwrite, +3 more.
get_icon_metadataA
Get Lucide icon metadata such as tags, aliases, local SVG path, and suggestions for unknown icons.
Inputs: name (required).
get_icon_svgA
Get the raw SVG markup for a Lucide icon by name.
Inputs: name (required), stripClass, strokeWidth, stripLicense.
list_iconsB
List all available Lucide icon names.
Inputs: limit, offset.
search_iconsA
Search Lucide icons by name using exact, partial, and fuzzy matching.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clear, distinct purpose: listing all icons, searching by name, retrieving metadata, retrieving SVG markup, and adding to a project. There is minimal overlap, and even list_icons vs search_icons are differentiated by exhaustive vs filtered retrieval.
All tool names follow a consistent verb_noun pattern (list, search, get, get, add). The naming is predictable and intuitive, making it easy for an agent to infer function from the name.
With exactly 5 tools, the set is well-scoped for managing Lucide icons. Each tool covers a necessary operation without unnecessary bloat or duplication.
The tool surface covers the complete lifecycle for working with icons: discovery (list/search), inspection (metadata/svg), and integration (add to project). No obvious gaps exist for the stated purpose.
Maintenance
Related MCP Connectors
Icons for agentic development: search & fetch 366,000+ open-source icons as SVG/PNG. No API key.
Multilingual semantic SVG icon search with previews for AI coding agents. 20,000+ icons.
Search open SVG icon packs and fetch exact SVG markup from coding agents through MCP.
Search 324k icons or generate new ones in the Lucide grammar - grammar-locked lint+critique+repair
Related MCP Servers
- 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 gradedqualityCmaintenanceEnables 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 gradedqualityCmaintenanceEnables AI assistants to search, retrieve, and save Nucleo icons from the user's local library directly into projects.13 npm9MIT
- AlicenseAqualityCmaintenanceEnables AI agents to search, import, migrate, validate, and maintain official Google Material Symbols across various platforms and IDEs.11MIT