# Icon MCP [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/pratham-jain33/icon-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/icon-mcp

## Description
Lucide icon sets for AI: search 2000+ icons, style them, batch-export SVG. Offline, no key.

## Tools
Capabilities this server exposes over MCP:

- **search_icons** — Finds Lucide icons by keyword, searching icon names and tags. Use this when you need an icon but don't know its exact name, or when the user describes an icon in plain words ("trash can", "cog", "paper plane"). Returns the best matching icon names with their tags; pass one of those names to generate_icons. Fully offline, no API key.
- **generate_icons** — Generates one icon or a whole matching set of Lucide icons as styled SVG markup. Each entry in `icons` can be an exact icon name ("settings") or a plain-words query ("trash can") which is resolved to the best match. Every icon is rendered with the SAME stroke_width, color, and size, so a list of many gives you a visually consistent set for a page or app. stroke_width is 0.5-4 (2 is Lucide's default); color is 'currentColor', a hex like '#2f6bff', or a CSS name like 'red'; size is pixels 1-1024. Returns JSON with the styled SVG for each icon, which you can save as .svg files. Fully offline, no API key.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

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

## Documentation

## What Icon MCP does

Icon MCP exposes a searchable, bundled Lucide icon collection to MCP-compatible AI assistants. It is intended for requests where an assistant needs named interface icons, consistent styling, or SVG output that can be placed into a design or application.

The collection contains approximately 2,000 icons. Search works across icon names and tags, so an assistant can look up an icon from a plain-language request such as a settings, deletion, navigation, or communication concept. The server returns SVG markup rather than image files, making the result suitable for workflows that consume inline or text-based vector assets.

## How it works

The server runs locally and operates without network access, external services, or API credentials. It registers two MCP tools:

- `search_icons` looks for matching icon names using keywords. Use it when the exact Lucide name is unknown.
- `generate_icons` renders one icon or multiple icons as styled SVG markup. It accepts icon names or plain-language queries and applies shared `stroke_width`, `color`, and `size` values.

Batch generation is useful when several icons need the same visual treatment. For example, an assistant can find or render a settings icon and a trash icon using one stroke width, color, and pixel size. Generated results are returned to the assistant as SVG content, with the multi-icon response containing the markup for each requested icon.

## Setup and configuration

Install the package with pip:

```bash
pip install icon-mcp
```

You can also run it through `uvx`:

```bash
uvx icon-mcp
```

To work from source, clone the repository, create a Python virtual environment, and install the project in editable mode:

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

Start the server with:

```bash
icon-mcp
```

The package targets Python 3.10 or newer and uses FastMCP 2.0 or newer. For Claude Desktop, configure the server as a stdio process using `uvx`:

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

Restart the assistant after adding the configuration so it can register the tools.

## Tools and capabilities

`search_icons` is the discovery step for uncertain names. It searches the bundled icon metadata by keyword and returns candidate names for later generation.

`generate_icons` handles rendering. A request can identify a single icon, several explicit names, or a plain-language matching query. The shared styling controls are:

- `stroke_width` for line thickness
- `color` for the SVG stroke color
- `size` for the rendered dimensions

The server supports both individual SVG generation and batches of related icons, which reduces repeated calls when a set should use identical styling.

## Limitations and notes

The icon source is the bundled Lucide collection, so the available choices are limited to the icons included with the package. The server produces SVG markup and does not describe a separate raster export workflow. Its offline design avoids API keys and network calls, but icon discovery and rendering depend on the local installation being available to the MCP client.

_Full upstream README: https://allmcps.com/mcp/icon-mcp/readme_

