nucleo-mcp
An MCP server that provides Claude with direct access to local Nucleo icon libraries for searching, previewing, and exporting icons. It enables users to retrieve raw SVG source code, generate PNG previews, and export icons as vector PDFs directly from the Nucleo SQLite database.
README
nucleo-mcp
An MCP (Model Context Protocol) server that gives Claude direct access to your local Nucleo icon library — search icons, preview them as images, and export to PDF.
How it works
Nucleo stores its icon library in two places on disk:
- SQLite database —
~/Library/Application Support/Nucleo/icons/data.sqlite3(~54k icons with names, tags, set membership) - SVG files —
~/Library/Application Support/Nucleo/icons/sets/{set_id}/{icon_id}.svg
This server reads those files directly. The Nucleo app does not need to be running.
PDF export uses rsvg-convert to produce proper vector PDFs at the SVG's natural dimensions with a transparent background — identical to what Nucleo exports natively.
Requirements
- macOS with Nucleo installed and at least one icon library synced
- Node.js 18+
rsvg-convert— install via Homebrew:brew install librsvg
Installation
git clone git@github.com:julianallchin/nucleo-mcp.git
cd nucleo-mcp
npm install
npm run build
Then add to your Claude Code config (~/.claude.json):
{
"mcpServers": {
"nucleo": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/nucleo-mcp/dist/index.js"]
}
}
}
Or for a specific project, add a .mcp.json at the repo root:
{
"mcpServers": {
"nucleo": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/nucleo-mcp/dist/index.js"]
}
}
}
Tools
search_icons
Search icons by name and/or tags.
query string Search term (matched against name and tags)
limit number Max results, default 20, max 100
set_id number Filter by icon set ID
favorites_only boolean Only return starred icons
variant string Filter by style: "outline" | "solid" | "duotone-outline" | "duotone-solid"
Results include the detected variant for each icon.
preview_icon
Returns a PNG image of the icon (rendered via resvg).
icon_id number Icon ID
scale number Zoom multiplier, default 4 (gives 96px from an 18px icon)
get_icon_svg
Returns the raw SVG source of an icon.
icon_id number Icon ID
export_icon_to_pdf
Exports an icon to a vector PDF at the SVG's natural dimensions with a transparent background. Suitable for use directly as an Xcode image asset.
icon_id number Icon ID
output_path string Destination path, e.g. ~/Desktop/icon.pdf
get_icon_variants
Returns all style variants of an icon by name, with PNG previews. Useful for finding the right variant to match an existing icon's visual style.
name string Exact icon name, e.g. "alarm-clock"
set_id number Limit to a specific set (optional)
preview boolean Include PNG previews, default true
list_icon_sets
Lists all icon sets with ID, title, size(s), and icon count.
get_icons_in_set
Lists icons within a specific set.
set_id number Set ID
limit number Max results, default 50
get_favorite_icons
Returns all icons marked as favorites in Nucleo.
limit number Max results, default 50
Variants
Nucleo ships multiple style variants of each icon. The variant is detected from the SVG source:
| Variant | Description |
|---|---|
solid |
Filled black shapes, no strokes |
outline |
Stroked paths, fill="none" |
duotone-solid |
Solid primary + semi-transparent secondary fill |
duotone-outline |
Stroked primary + semi-transparent secondary fill |
Use get_icon_variants to see all variants of an icon side-by-side before deciding which to export.
Development
npm run dev # run with tsx (no build step)
npm run build # compile TypeScript to dist/
npm start # run compiled output
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。