Skip to main content
Glama

icon-mcp

Offline MCP server providing searchable, parametric Lucide icons for AI assistants

MCP server providing searchable, parametric Lucide icon sets for AI assistants.

Motivation

AI assistants often fall back to emojis when a UI needs an icon, and creating a consistent set of icons requires design effort. This server lets assistants search a bundled Lucide collection, restyle icons, and export them offline, removing the need for external APIs or design work.

Related MCP server: brain-mcp-icon-visual

Tech stack

  • Python ≥3.10

  • fastmcp (>=2.0)

  • Bundled Lucide SVG icons (≈2000)

Features

  • Keyword search across 2000+ Lucide icons

  • Parametric styling of stroke width, color, and size

  • Batch generation of matching icon sets in a single call

  • Fully offline operation, no API keys or network access

  • Simple MCP command exposing search_icons and generate_icons tools

Installation

pip install icon-mcp

or with uvx:

uvx icon-mcp

From source:

git clone https://github.com/pratham-jain33/icon-mcp
cd icon-mcp
python -m venv .venv
.venv/bin/pip install -e .

Usage

Start the MCP server:

icon-mcp

The server registers two tools:

  • search_icons – find icon names by keyword.

  • generate_icons – render one or many icons with shared stroke_width, color, and size.

Example Claude Desktop configuration (JSON):

{
  "mcpServers": {
    "icon-mcp": {
      "command": "uvx",
      "args": ["icon-mcp"]
    }
  }
}

After restarting the assistant, you can ask for icons, e.g.,

"Find me a settings icon and a trash icon, both 1.5px stroke in #2f6bff at 32px, as SVGs." The assistant will call search_icons or generate_icons and receive styled SVG markup.

After restarting the assistant, you can request icons such as:

Find me a settings icon and a trash icon, both 1.5px stroke in #2f6bff at 32px, as SVGs.

The assistant will call generate_icons and receive a JSON response containing the styled SVG markup for each icon.


Created with repo-doctor

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    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.
    686 npm
    1,442
    MIT
  • F
    license
    Not graded
    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
    Not graded
    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
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to search, retrieve, and save Nucleo icons from the user's local library directly into projects.
    7 npm
    9
    MIT