Skip to main content
Glama
joris-gallot

lucide-mcp

by joris-gallot

lucide-mcp

npm version CI license

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 example lucide://icons/panel-left.svg

Related MCP server: brain-mcp-icon-visual

Tools

  • search_icons - search icons by exact, partial, and fuzzy name matching

  • get_icon_metadata - return tags, aliases, SVG path, and suggestions for an icon

  • get_icon_svg - return raw SVG markup for an icon

  • add_icon_to_project - write an SVG file into the current project

  • list_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:

  1. Inspect existing project icons first.

  2. Search Lucide with a semantic query.

  3. Pick the best named icon.

  4. Add it to the project's icon directory.

  5. 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.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    B
    maintenance
    Provides 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.
    664
    1,216
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Visual 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
  • A
    license
    -
    quality
    C
    maintenance
    Enables 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

View all related MCP servers

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.

  • Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joris-gallot/lucide-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server