iconserve
Provides access to Lucide's open-source icon library, enabling search and retrieval of icons as SVG or PNG.
Provides access to Simple Icons' open-source brand icon collection, enabling search and retrieval of icons as SVG or PNG.
IconServe
A free, agent-readable service that aggregates 10,000+ open-source icons — Lucide,
Heroicons, Tabler, and Simple Icons —
and serves them as SVG or PNG at predictable URLs, with keyword + semantic search, an llms.txt, and an MCP server.
Runs entirely within the Cloudflare free tier (Workers + R2 + Workers AI).
How an agent uses it
Need | Do this |
Embed an icon you know the name of |
|
Find the right icon |
|
Read the whole API in one shot |
|
Native tool calls | MCP server at |
OpenAPI |
|
Discoverability surfaces (for crawling/browsing agents)
GET /icon/{set}/{name}— crawlable HTML page per icon (preview, usage, JSON-LDImageObject+ breadcrumb)./icon/{name}302-redirects to the best match.GET /sitemap.xml— every icon page (~10k URLs).GET /robots.txt— explicitly allows AI crawlers (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, …) and points to the sitemap.Landing page carries
WebSite+SearchActionandWebAPIJSON-LD and Open Graph tags.IndexNow: key file served at
/{INDEXNOW_KEY}.txt;npm run indexnowpings Bing/Yandex to crawl new or changed URLs instantly (pass paths to submit a subset, e.g.npm run indexnow /icon/lucide/house).
Transforms (query params on any icon URL)
color=hex / CSS color /currentColor— e.g.?color=%23e11d48size=1..2048pxstroke=0..20(line icons)style=e.g.solid(Heroicons),filled(Tabler)format=svg|png
Example: /i/shopping-cart.svg?color=crimson&size=48&stroke=1.5
Related MCP server: brain-mcp-icon-visual
Architecture
Build (offline, on your machine — no Cloudflare cost)
scripts/ingest.mjs → data/pack/icons.json (id → normalized SVG, currentColor-driven)
data/pack/catalog.json (names, tags, aliases, license, styles)
data/pack/corpus.json (search text per icon)
scripts/embed.mjs → data/pack/embeddings.bin (10k × 384, bge-small-en-v1.5)
data/pack/embed-index.json
Cloudflare
R2 (ICONS) holds the 4 packed artifacts; loaded once per isolate into memory
Workers AI embeds ONLY the query string at search time (same 384-dim model)
Worker routing, color/size/stroke transforms, PNG (resvg-wasm), search, MCP, docs
Assets public/index.html landing pageSemantic search = keyword ranking fused (reciprocal-rank fusion) with cosine similarity over the
in-memory embeddings. No Vectorize, no per-vector billing, no dimension cap. If embeddings.bin is
absent, search gracefully falls back to keyword-only.
Local development
npm install
npm run build:data # ingest + embed (embed downloads a ~40MB model once)
npm run upload:r2 # push artifacts into the LOCAL R2 store
npm run dev # http://localhost:8787In
wrangler dev --localthe Workers AI binding is offline, so search runs keyword-only locally. Semantic search activates once deployed (or when running against the remote AI binding).
Deploy (Cloudflare free tier)
wrangler login # one-time, opens a browser
npm run deploy # creates the R2 bucket, uploads artifacts, deploys the Workernpm run deploy runs scripts/deploy.mjs: it creates the iconserve-icons
bucket (idempotent), uploads the four artifacts to remote R2, then wrangler deploy.
Adding / updating icon sets
Edit scripts/lib/sets.mjs, then re-run npm run build:data && npm run upload:r2
(local) or npm run deploy (remote). Set priority for /i/{name} best-match is DEFAULT_SET_ORDER in
wrangler.toml.
Licensing
Icons are redistributed under their original permissive licenses: Lucide (ISC), Heroicons (MIT), Tabler (MIT), Simple Icons (CC0). Brand marks from Simple Icons are trademarks of their respective owners — use them per each brand's guidelines.
This server cannot be installed
Maintenance
Related MCP Servers
- Alicense-qualityDmaintenanceProvides 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.Last updated21413GPL 3.0
- Flicense-qualityCmaintenanceVisual 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.Last updated1
- FlicenseAqualityBmaintenanceMCP server exposing 3100+ cloud technology icons (AWS, Azure, GCP, Microsoft, CNCF, Devicon) with 3-tier search and multiple output formats for integration into presentations and architecture diagrams.Last updated7
- Alicense-qualityDmaintenanceProvides 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.Last updated8MIT
Related MCP Connectors
320K+ open-source SVG icons: 12 tools, anonymous metadata search; SVG, exports, collections via Pro.
Multilingual semantic SVG icon search with previews for AI coding agents. 20,000+ icons.
Openverse Creative-Commons image + audio search
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/asr-aditya/iconserve'
If you have feedback or need assistance with the MCP directory API, please join our Discord server