infyicon-mcp
Infyicon MCP Server
从任意 MCP 客户端搜索 161,000+ 个免费手绘矢量图标 —— Claude Desktop、Claude Code、ChatGPT、Cursor、VS Code、Codex、Gemini CLI、Windsurf 等。每个图标都有四种匹配的样式(outline、fill、color-outline、color-fill),并附带可直接嵌入的 SVG 标记和 16–512 px 的 PNG URL。
托管端点(推荐):
https://infyicon.com/mcp—— 流式 HTTP,无状态,无需认证,无需 API 密钥每个客户端的搭建指南(可直接复制配置): https://infyicon.com/developers
图标许可: 个人与商业用途均免费,需注明出处为 infyicon.com —— 详见 https://infyicon.com/license
工具
工具 | 功能说明 |
| 按关键词搜索 161,000+ 个图标,可选择过滤为四种样式之一。返回 id、页面 URL、SVG + PNG URL 和标签。 |
| 返回某个图标 id 的完整 SVG 标记,可直接嵌入 HTML/JSX 或设计工具。 |
| 返回某个图标 id 的透明 PNG 直链(16、24、32、64、128、256、512 px)。 |
| 返回最受欢迎的图标分类,包含数量及分类页面 URL。 |
| 在 Infyicon UI 网络字体(61,000+ 字形,如 |
Related MCP server: brain-mcp-icon-visual
快速开始 —— 托管端点
Claude Code
claude mcp add --transport http infyicon https://infyicon.com/mcpClaude Desktop / Claude Code —— 设置 → 连接器 → 添加自定义连接器 → URL 填写 https://infyicon.com/mcp
Cursor / VS Code / Windsurf(mcp.json)
{
"mcpServers": {
"infyicon": { "url": "https://infyicon.com/mcp" }
}
}Codex CLI(~/.codex/config.toml)
[mcp_servers.infyicon]
url = "https://infyicon.com/mcp"Gemini CLI(~/.gemini/settings.json)
{
"mcpServers": {
"infyicon": { "httpUrl": "https://infyicon.com/mcp" }
}
}适用于所有客户端的完整、最新说明: https://infyicon.com/developers
本地运行(stdio)
standalone.js 是零依赖的 Node 18+ 入口点。它会在本地响应 package_info / tools/list 请求,并将 tools/call 转发到托管端点(搜索索引和 161k 个 SVG 资源所在的位置)。
git clone https://github.com/krupalghori44-dev/infyicon-mcp.git
node infyicon-mcp/standalone.js # MCP over stdio
node infyicon-mcp/standalone.js --http 3000 # or streamable HTTP at :3000stdio 版本的客户端配置:
{
"mcpServers": {
"infyicon": { "command": "node", "args": ["/path/to/infyicon-mcp/standalone.js"] }
}
}Docker
docker build -t infyicon-mcp .
docker run -i infyicon-mcp仓库结构
standalone.js—— 零依赖的 stdio/HTTP 服务器(本地桥接;即 Dockerfile 运行的内容)mcp.js—— 为https://infyicon.com/mcp提供服务的生产级 Express 模块(参考实现;依赖服务端资源)Dockerfile—— 构建 standalone 桥接服务
示例
"帮我找一个 outline 样式的购物车图标,并把 SVG 给我。"
客户端会先调用 search_icons,参数为 {"query":"shopping cart","style":"outline"},然后选中一个 id(如 shopping-cart-12_10432),再通过 packUpIcon_svg 获得完整标记,直接粘贴到项目里即可。
许可证
本仓库中的代码:MIT。API 提供的图标仍可免费用于个人和商业用途,需注明出处为 infyicon.com —— 详见 https://inf款icon.com/license。
Available Tools
8 toolsget_icon_pngGet icon PNG URLsARead-onlyIdempotentInspect
Return direct PNG download URLs (transparent background) for one Infyicon icon id, either a single size or all seven sizes 16/24/32/64/128/256/512 px. Use when the user needs an image file or src (email, docs, chat, platforms that cannot render SVG); use get_icon_svg instead when inline vector markup is wanted. Read-only, no auth; returns URLs only (no binary data); returns an error for a malformed id or an unknown icon. Free with attribution to infyicon.com.
Inputs: id (required), size.
get_icon_svgGet icon SVGARead-onlyIdempotentInspect
Return the full, ready-to-embed SVG markup of ONE Infyicon icon by id (slug_number, e.g. hammer-16_66091 - get ids from search_icons). Use when the user wants inline SVG for a single icon; use get_icon_svg_bulk for 2-20 icons in one call, and get_icon_png when they need a raster image URL instead of markup. Read-only, no auth; returns an error for a malformed id or an unknown icon; if the SVG is over 200 KB the response carries svg_url instead of inline markup. Free with attribution to infyicon.com.
Inputs: id (required).
get_icon_svg_bulkGet SVG for several iconsARead-onlyIdempotentInspect
Return ready-to-embed SVG markup for 1-20 Infyicon icons in one call (pass an array of ids from search_icons). Use when building a UI, icon set or design system so you fetch several icons at once instead of calling get_icon_svg repeatedly; use get_icon_svg for a single icon. Read-only, no auth; ids beyond the first 20 are silently dropped; each bad or unknown id gets a per-item error while the rest still succeed; oversized SVGs (>200 KB) return svg_url instead of markup. Free with attribution to infyicon.com.
Inputs: ids (required).
get_popular_iconsGet popular iconsARead-onlyIdempotentInspect
Return up to 30 popular/featured Infyicon icons (ids, names, styles, page/SVG/PNG URLs) without a search query - use when the user just wants "a nice icon" or a starting set and has not named a subject. Use search_icons instead when the user describes a subject, and get_related_icons instead when they already have an icon and want variations. Read-only, no auth; always returns results (never errors on empty input). Free with attribution to infyicon.com.
Inputs: limit, style.
list_categoriesList icon categoriesARead-onlyIdempotentInspect
List the most popular Infyicon icon categories (name, slug, icon count, category page URL at https://infyicon.com/free-icons/), ordered by popularity. Use to browse or suggest topics before searching, or to link the user to a category page; use search_icons to actually fetch icons for a topic. Read-only, no auth; no pagination (limit up to 100). Free with attribution to infyicon.com.
Inputs: limit.
search_iconsSearch iconsARead-onlyIdempotentInspect
Search 161,000+ free Infyicon vector icons by keyword and return up to 30 matches per page, each with icon id (slug_number), name, style, page URL, direct SVG URL, 512px PNG URL and tags. Styles: outline (black line), fill (black solid), color-outline, color-fill. Use this first whenever the user describes what icon they want; then pass an id to get_icon_svg, get_icon_svg_bulk or get_icon_png. Use get_popular_icons instead when there is no search term, and search_uicons instead when the user wants a CSS webfont class rather than an SVG/PNG file. Read-only, no auth, no API key; empty query returns an error; total_matches + next_offset are returned for paging. Free with attribution to infyicon.com.
Inputs: query (required), limit, style, offset.
search_uiconsSearch UI webfont classesARead-onlyIdempotentInspect
Search the Infyicon UI webfont (61,000+ glyphs) by glyph name and return matching CSS class names (regular ii-r-, solid ii-s-) plus a ready tag and the stylesheet link https://infyicon.com/uicons/uicons.css. Use ONLY when the user wants an icon font / CSS class (like Font Awesome usage); use search_icons for SVG or PNG icon files. Case-insensitive substring match, up to 40 matches, no pagination; empty name returns an error. Read-only, no auth. Free with attribution to infyicon.com.
Inputs: name (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct mode: keyword search, popular browsing, related suggestions, single SVG, bulk SVG, PNG URLs, category listing, and font-class search. Cross-references in descriptions ('use X instead when...') make selection unambiguous.
All tools follow a clear verb_noun snake_case pattern: search_*, get_*, list_*. Retrieval variants (get_icon_svg, get_icon_svg_bulk, get_icon_png) form a predictable family.
Eight tools is well-scoped for an icon library: three discovery tools, four retrieval/format tools, and one category browser. Each serves a distinct workflow without bloat.
The surface covers the full read-only icon workflow: search/discover, browse popular/related/categories, fetch single or bulk SVG, fetch PNG URLs, and access the webfont. No obvious dead ends for the stated domain.
Maintenance
Related MCP Connectors
Search and fetch 450,000+ free SVG icons and brand logos from 270+ open-source icon sets.
Search 79,000+ original icons in 23 styles and get SVG, JSX, Vue or Svelte.
Search and fetch hand-drawn icons, illustrations and isometric drawings. The free set needs no key.
Icons for agentic development: search & fetch 366,000+ open-source icons as SVG/PNG. No API key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides access to over 200,000 open-source vector icons from more than 200 icon sets via the Iconify API. It enables users to browse, search, and retrieve specific icon data along with usage examples for popular web frameworks like React, Vue, and Tailwind CSS.340 npm26GPL 3.0
- FlicenseNot gradedqualityDmaintenanceVisual 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-
- AlicenseAqualityCmaintenanceProvides access to Iconify's 200,000+ open source vector icons from 200+ icon sets, enabling search, browsing, and retrieval of icon data with framework usage examples.44MIT
- AlicenseCqualityDmaintenanceEnables AI-powered icon search, generation, and download from 275,000+ icons with web-based authentication and subscription plans.15 npmMIT