Icon MCP

io.github.pratham-jain33由 GitHub 账号 pratham-jain33 发布v0.1.0更新于 Oct 25, 2026

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

发布方自己的服务:Icon Horse

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

离线 MCP 服务器,让助手在内置 Lucide 图标库中搜索并生成带样式的 SVG 图标。

可以做什么
  • 按关键词搜索 2000 多个内置 Lucide 图标
  • 用统一的描边宽度、颜色和尺寸生成单个或多个图标,返回带样式的 SVG 标记
  • 完全离线运行,无需 API 密钥或网络访问
适用场景
适合在制作界面原型或编写代码时需要统一图标、而不是用 emoji 代替的场景,让助手一步完成查找图标并输出带样式的 SVG,无需外部 API 或设计工作。
运行要求
需要本地 Python 运行环境(Python 3.10 或更高版本),通过 pip 安装 icon-mcp 包或用 uvx 运行;以 stdio 进程方式在助手的 MCP 配置中启动。无需 API 密钥、账号或网络访问。
安装前请注意
仅提供图标搜索与生成,README 未提及写入、凭据或向第三方传输数据。生成的 SVG 标记在嵌入项目前仍建议人工检查。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Icon MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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.

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

bash
pip install icon-mcp

or with uvx:

bash
uvx icon-mcp

From source:

bash
git clone https://github.com/pratham-jain33/icon-mcpcd icon-mcppython -m venv .venv.venv/bin/pip install -e .

Usage

Start the MCP server:

bash
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):

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

来源:README.md,提交 8292c8e

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 2, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Icon 集成