Brain Icon Visual MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add brain-icon-visual -- npx -y @br-ai-n/mcp-icon-visual
README.md

Search, retrieve, compare, and render SVG icons for AI agents.

mcp-icon-visual

MCP server that gives AI agents the ability to search, retrieve, compare, and render SVG icons. Built with Rust and the rmcp SDK.

Combines local filesystem access with a remote rendering API to resolve SVGs from any source — inline strings, URLs, local files, or Iconify IDs — and render them onto visual comparison grids.

The key insight: every tool returns images. A vision-capable LLM doesn't just get metadata — it sees the icons. This turns icon selection from guesswork into a visual conversation.

search_icons("machine learning") — 4x4 grid, cells 0–15, returned as PNG

Agent Pipelines

These tools are designed to be composed by AI agents with vision. Below are three proven patterns.

1. Visual Search & Selection

An agent searches for icons and visually picks the best match — no blind URL selection.

                          ┌─────────────────────────────┐
                          │        Agent + Vision        │
                          └──────────────┬──────────────┘
                                         │
                        ┌────────────────┼────────────────┐
                        v                v                v
                  search_icons     search_icons     search_icons
                  "cloud"          "upload"          "storage"
                        │                │                │
                        v                v                v
                  ┌──────────┐    ┌──────────┐    ┌──────────┐
                  │ 4x4 grid │    │ 4x4 grid │    │ 4x4 grid │
                  │  (sees)  │    │  (sees)  │    │  (sees)  │
                  └────┬─────┘    └────┬─────┘    └────┬─────┘
                       │               │               │
                       └───────────────┼───────────────┘
                                       v
                              "cells 3, 7, 12 match
                               the project style"
                                       │
                                       v
                               render_grid [3 winners]
                                       │
                                       v
                              ┌──────────────────┐
                              │  final comparison │
                              │   grid (sees)     │──> pick best
                              └──────────────────┘

The agent runs multiple searches, looks at each grid, picks candidates by cell number, then renders a final side-by-side comparison to make the choice. Works especially well when the agent has context about the project's visual style.

2. Iterative Icon Editing

An agent modifies SVG code and uses render_grid as a visual diff to track progress across iterations.

         get_svg "mdi/cloud"
                │
                v
          ┌───────────┐
          │ raw SVG    │
          │ markup     │
          └─────┬─────┘
                │
       ┌────────┴─────────────────────────────────────┐
       │              Edit Loop                        │
       │                                               │
       │   Agent modifies SVG code                     │
       │        │                                      │
       │        v                                      │
       │   render_grid [original, v1, v2, v3]          │
       │        │                                      │
       │        v                                      │
       │   ┌──────────────────────────────┐            │
       │   │ cell 0: original             │            │
       │   │ cell 1: thicker strokes      │            │
       │   │ cell 2: rounded corners      │            │
       │   │ cell 3: filled variant       │            │
       │   └──────────────┬───────────────┘            │
       │                  │                            │
       │        agent sees all versions                │
       │        decides next edit                      │
       │                  │                            │
       │                  └──── loop ──────────────────┘
       │
       v
  save final SVG to disk

Each iteration, the agent passes all versions (original + edits) as inline SVGs to render_grid. It sees them side-by-side in one image and decides whether to keep iterating or stop.

Tools (3)

search_iconsSearch for icons semantically and return a visual grid.
get_svgRetrieve raw SVG markup for a specific icon identifier.
render_gridRender a collection of icons or SVG strings into a visual comparison grid.

Configuration

claude_desktop_config.json
{"mcpServers": {"icon-visual": {"command": "npx", "args": ["-y", "@br-ai-n/mcp-icon-visual"]}}}

Try it

Search for icons related to 'machine learning' and show me a 4x4 grid.
Find a cloud icon and provide the raw SVG code for it.
Compare these three icon variants side-by-side to see which fits my project style best.
Iterate on this SVG icon by thickening the strokes and show me the visual diff.

Frequently Asked Questions

What are the key features of Brain Icon Visual?

Semantic search across over 200,000 icons. Visual rendering of icons as PNG grids for vision-capable LLMs. Support for local files, URLs, and Iconify IDs. Side-by-side visual comparison for iterative design workflows. Raw SVG markup retrieval for direct code integration.

What can I use Brain Icon Visual for?

AI agents selecting UI icons based on visual project style. Automated icon design iteration loops with visual diffing. Rapid prototyping of icon sets for web and mobile applications. Visual debugging of SVG assets during development.

How do I install Brain Icon Visual?

Install Brain Icon Visual by running: npx -y @br-ai-n/mcp-icon-visual

What MCP clients work with Brain Icon Visual?

Brain Icon Visual works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Brain Icon Visual docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare