lucide-mcp
Enables AI coding agents to search, retrieve, and add Lucide SVG icons to projects.
README
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
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.svg
Get 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 typecheck
Run locally:
pnpm dev
License
MIT. Lucide icons are distributed by the Lucide project under the ISC license.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.