mcp-icon
Allows searching over 100,000 SVG icons from the AntV Infographic icon library using semantic search, returning SVG URLs for use in infographics.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-iconsearch for an icon representing data analytics"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐จ mcp-icon
A Model Context Protocol (MCP) server for semantic SVG icon search.
Generate infographic SVG icons by keyword โ over 100,000 icons with semantic search support, powered by AntV Infographic.
๐ Table of Contents
Related MCP server: icogenie-mcp
โจ Features
๐ Semantic search โ Find icons by meaning, not just exact names
๐ผ๏ธ 100,000+ SVG icons โ A massive library of high-quality infographic icons
โก Three transport modes โ
stdio,sse, andstreamable-http๐ชถ Minimal dependencies โ Clean, focused implementation
๐งช Fully tested โ Unit tests with Vitest
Available Tool
Tool | Description |
| Search for SVG icons by keyword. Returns a list of SVG URLs matching the semantic query. |
search_icons parameters:
Parameter | Type | Required | Default | Description |
| string | โ | โ | Search keyword or phrase (e.g. |
| number | โ |
| Number of icons to return (1โ20) |
๐ค Usage
Add to your MCP client configuration (e.g. Claude Desktop, VS Code, Cursor):
macOS / Linux:
{
"mcpServers": {
"mcp-icon": {
"command": "npx",
"args": ["-y", "mcp-icon"]
}
}
}Windows:
{
"mcpServers": {
"mcp-icon": {
"command": "cmd",
"args": ["/c", "npx", "-y", "mcp-icon"]
}
}
}๐ฐ Transport Modes
mcp-icon supports three standard MCP transport protocols.
stdio (default)
Used by desktop MCP clients (Claude Desktop, Cursor, etc.):
npx mcp-icon
# or explicitly:
npx mcp-icon --transport stdioSSE (Server-Sent Events)
npx mcp-icon --transport sse --port 3456
# Server available at: http://localhost:3456/sseStreamable HTTP
npx mcp-icon --transport streamable --port 3456
# Server available at: http://localhost:3456/mcp๐ฎ CLI Options
mcp-icon CLI
Options:
--transport, -t Transport protocol: "stdio", "sse", or "streamable" (default: "stdio")
--host, -h Host for SSE or streamable transport (default: localhost)
--port, -p Port for SSE or streamable transport (default: 3456)
--endpoint, -e Endpoint path:
- For SSE: default is "/sse"
- For streamable: default is "/mcp"
--help, -H Show this help message๐จ Development
# Clone the repository
git clone https://github.com/hustcc/mcp-icon.git
cd mcp-icon
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Start with MCP inspector (for local debugging)
npm startProject Structure
src/
โโโ index.ts # CLI entry point
โโโ server.ts # MCP server + tool handlers
โโโ services/
โ โโโ stdio.ts # Stdio transport
โ โโโ sse.ts # SSE transport
โ โโโ streamable.ts # Streamable HTTP transport
โโโ tools/
โ โโโ search-icons.ts # Tool definition
โโโ utils/
โโโ api.ts # Icon search API client
โโโ logger.ts # Logger utility
tests/
โโโ api.test.ts # API client unit tests
โโโ server.test.ts # MCP server integration tests๐ License
MIT ยฉ hustcc
Available Tools
1 toolsearch_iconsA
Search for SVG icons by keyword using semantic search. Returns URLs of matching SVG icons from a library of over 100,000 infographic icons.
| Name | Required | Description | Default |
|---|---|---|---|
| topK | No | The number of icons to return. Must be between 1 and 20. Defaults to 3. | |
| keyword | Yes | The search keyword or phrase to find relevant icons (e.g. "data analysis", "cloud computing", "security"). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the core behavior: semantic search, return of URLs, and a large icon library. It does not mention rate limits or auth, but for a read-only search tool these are less critical and the main behaviors are covered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences, front-loaded with the main action and resource, followed by the key return type and scale. Every word earns its place without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity, two well-documented parameters, and no output schema, the description is complete: it specifies what the tool does, what it returns (URLs), and the source domain. No further context is necessary for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Parameter schema coverage is 100% with both keyword and topK fully described. The description adds context about semantic search and library size but does not meaningfully enrich parameter semantics beyond the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool searches for SVG icons by keyword using semantic search and returns URLs. It specifies a concrete resource (SVG icons) and action (search), making the purpose unmistakable even without sibling comparisons.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool: whenever a user needs SVG icons matching a keyword/phrase. There are no explicit exclusions or alternatives, but with no sibling tools, this level of guidance is clear and sufficient.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.0- First observed
search_icons
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The single tool's purpose is clear and unambiguous.
The tool name 'search_icons' follows a clear verb_noun pattern, which is consistent and predictable. There are no other tools to compare against, so consistency is perfect.
A single tool for an icon server is too few. The server name implies a broader scope, and one tool feels insufficient for handling icon-related operations beyond searching.
The tool surface is severely incomplete for an icon service. Only search is offered; there are no tools for retrieving specific icons, listing categories, or managing icons, leaving significant gaps.
Maintenance
Related MCP Connectors
Multilingual semantic SVG icon search with previews for AI coding agents. 20,000+ icons.
Search 161,000+ free hand-drawn icons and fetch ready-to-embed SVG or PNG from any MCP client.
Search open SVG icon packs and fetch exact SVG markup from coding agents through MCP.
320K+ open-source SVG icons: 12 tools, anonymous metadata search; SVG, exports, collections via Pro.
Related MCP Servers
AlicenseAqualityCmaintenanceAn MCP server that enables users to search the Remix Icon catalog by mapping keywords to icon metadata using a high-performance local index. It returns the top five most relevant icon matches with categories and tags to streamline icon selection for design and development tasks.179 npm93MIT- AlicenseNot gradedqualityCmaintenanceAI-powered SVG icon generation MCP server. Generate production-ready SVG icons from text descriptions with customizable styles, sizes, and themes.45 npm6MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for searching and fetching icons from iconfont.cn.15 npm9MIT
- AlicenseAqualityDmaintenanceMCP server for searching and exporting Apple SF Symbols as true vector SVGs.41MIT