lucide-svg-mcp
Provides tools to list, search, and retrieve Lucide icons as SVG.
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-svg-mcp search for a sun icon"
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-svg-mcp
An MCP server that provides Lucide icons as SVG.
This server lets MCP clients (for example Claude, Cline, or Codex) easily:
list all icons,
search icons by name or keywords,
retrieve the full SVG source of a specific icon.
Features
Uses icons from the
lucide-staticnpm package.Tools:
list_iconssearch_iconsretrieve_icon
Built-in caching for faster performance:
icon name cache,
icon file path cache,
SVG content cache.
Verbose error messages when input is invalid or an icon cannot be resolved.
Covered by tests (
vitest).
Related MCP server: Lucide Icons MCP
Requirements
Node.js 18+
npm
Running
The server uses stdio MCP transport, so your MCP client should launch it with:
npx -y lucide-svg-mcp@latestClaude Code example
{
"mcpServers": {
"lucide-svg": {
"command": "npx",
"args": ["-y", "lucide-svg-mcp@latest"]
}
}
}Cursor example
{
"mcpServers": {
"lucide-svg": {
"command": "npx",
"args": ["-y", "lucide-svg-mcp@latest"]
}
}
}Codex-style TOML example:
[mcp_servers.lucide-svg]
command = "npx"
args = ["-y", "lucide-svg-mcp@latest"]Available Tools
list_icons
Description: lists available Lucide icons with pagination.
Input:
limit(optional): max icons per page, default100, max1000offset(optional): zero-based start index, default0
Response includes pagination metadata:
total: total number of iconscount: icon count in this pagelimitoffsethasMorenextOffset
search_icons
Description: searches Lucide icons by name or keywords.
Input:
query(required): search text
retrieve_icon
Description: retrieves the full SVG source for an icon.
Input:
name(required): icon name (for examplealarm-clock)
Development
Run tests:
npm testRun tests with coverage:
npm run test:coverageWatch mode:
npm run test:watchProject Structure
index.js: CLI bootstrap entrypoint.src/server.js: MCP server creation and tool registration.src/icons.js: icon logic, search, retrieve, caching.tests/icons.unit.test.mjs: unit tests.tests/server.integration.test.mjs: MCP server integration tests.tests/index.bootstrap.test.mjs: CLI/bootstrap behavior tests.
License
Project: MIT
Lucide: ISC
Available Tools
3 toolslist_iconsB
Lists available Lucide icons with pagination.
Inputs: limit, offset.
retrieve_iconA
Retrieves the source of the icon in SVG format.
Inputs: name (required).
search_iconsA
Searches for Lucide icons by name or keywords.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: listing all icons, searching by name/keyword, and retrieving a specific icon's SVG source. There is no meaningful overlap that would cause an agent to select the wrong tool.
All tool names follow a consistent verb_noun pattern: list_icons, search_icons, retrieve_icon. The naming is predictable and uniform.
Three tools is a well-scoped size for an icon library MCP server. Each tool provides essential functionality without unnecessary bloat or missing essentials.
For an icon retrieval service, listing, searching, and fetching SVG source cover the full lifecycle of icon access. There are no obvious dead ends or missing operations that would hinder an agent.
Maintenance
Related MCP Connectors
MCP registry & directory: search, find & install 31k+ MCP servers & tools. Catalog and marketplace.
MCP server for accessing curated awesome list documentation
MCP server for developer documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server that allows FE/UI/Designers to retrieve SVG icons via the Iconify API by simply asking LLMs rather than manually searching websites.360 npm4MIT
- TypeScriptMIT
- AlicenseBqualityDmaintenanceHugeicons MCP Server is a TypeScript based server that provides integrated tools and resources for the Hugeicons icon library, supporting icon search, retrieval, and usage guides for multiple platforms.52Apache 2.0
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides Claude with direct access to local Nucleo icon libraries for searching, previewing, and exporting icons. It enables users to retrieve raw SVG source code, generate PNG previews, and export icons as vector PDFs directly from the Nucleo SQLite database.8-