SF Symbols MCP
Provides tools to search, retrieve metadata, and export Apple SF Symbols as vector SVGs using Apple's private CoreUI framework and system asset catalog.
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., "@SF Symbols MCPExport the 'star.fill' symbol as SVG with bold weight"
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.
SF Symbols MCP
MCP server for searching and exporting Apple SF Symbols as true vector SVGs.
SF Symbols MCP lets AI agents and developers search the full SF Symbols catalog, get symbol metadata, and export any symbol as a vector SVG — real bezier paths, not rasterized images. It uses Apple's private CoreUI framework to extract the actual glyph data from the system asset catalog.
Quick Start
Build
Requires macOS 14+ with Xcode or Command Line Tools installed.
git clone https://github.com/ygrec-app/sf-symbols-mcp.git
cd sf-symbols-mcp
swiftc sf_symbol_cli.swift -o sf-symbol-cli -framework AppKit -framework CoreTextInstall Python dependencies
Requires uv:
uv syncUse with Claude Code (MCP)
Add to your project-level .mcp.json:
{
"mcpServers": {
"sf-symbols": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/sf-symbols-mcp",
"python",
"server.py"
]
}
}
}Replace /path/to/sf-symbols-mcp with the actual path where you cloned the repo.
Then ask Claude: "Find me an SF Symbol for notifications" or "Export the star.fill symbol as SVG."
Related MCP server: icogenie-mcp
MCP Tools
Tool | Description |
| Search SF Symbol names by name or keyword |
| Get availability, related symbols, and renderability info |
| Export a symbol as vector SVG with weight/size options |
| List available SF Symbol names |
Export Options
Parameter | Default | Description |
| required | SF Symbol name (e.g. |
|
| ultralight, thin, light, regular, medium, semibold, bold, heavy, black |
|
| Point size for rendering |
| none | File path to save SVG (returns content if omitted) |
|
| Output raw CoreGraphics Y-up coordinates instead of standard SVG Y-down |
Use from CLI
The Swift CLI can also be used directly:
./sf-symbol-cli search star
./sf-symbol-cli export star.fill --weight bold --size 200
./sf-symbol-cli export chevron.right --output ./icons/chevron.svg
./sf-symbol-cli info heart.fill
./sf-symbol-cli list --limit 50How It Works
MCP Server (Python) Swift CLI
───────────────── ─────────────────────────────
FastMCP tool handlers → CoreUI private framework
├── CUICatalog (Assets.car)
├── CUINamedVectorGlyph
└── CGPath → SVG path dataSF Symbols are stored as vector glyphs in Apple's compiled asset catalog (Assets.car) inside the SFSymbols private framework. The Swift CLI uses Objective-C runtime bridging to access CUICatalog and extract CGPath bezier data, which is then converted to SVG <path d="..."> elements.
The output is true vector SVG (~1-2KB) with actual bezier curves — not rasterized PNG embedded in SVG.
Requirements
macOS 14+ (Sonoma or later)
Xcode or Command Line Tools (for Swift compiler)
Python 3.13+ with uv
SF Symbols are built into macOS — no additional installation needed
License
MIT
Available Tools
4 toolsexport_symbolA
Export an SF Symbol as SVG with vector paths.
Args: name: SF Symbol name (e.g. "star.fill", "circle", "chevron.right") weight: Font weight — ultralight, thin, light, regular, medium, semibold, bold, heavy, black size: Point size for rendering (default 100) output_path: Optional file path to save the SVG. If not provided, returns SVG content. raw_coords: If True, output raw CoreGraphics coordinates (Y-up) instead of standard SVG (Y-down). Use this for design tools like Pencil that use Y-up coordinate systems.
Returns: SVG content or confirmation of file save.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| size | No | ||
| weight | No | regular | |
| raw_coords | No | ||
| output_path | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
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 explains the output format (SVG content or file save), coordinate system options (raw_coords), and default behavior. However, it could explicitly state non-destructive nature or auth requirements. Still, it adds significant behavioral context beyond the schema.
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 well-structured with an Args section and Returns section. Each parameter is documented concisely without unnecessary repetition. The overall length is appropriate for the tool's complexity.
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 has an output schema (not shown but present), the description need not detail return values further. It covers all 5 parameters, default values, and edge cases like raw_coords. The description is sufficient for an agent to correctly invoke the tool.
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?
The schema has 0% description coverage, so the description must explain each parameter. It does thoroughly: name, weight (with list of valid values), size (with default), output_path (with behavior if not provided), raw_coords (with explanation of coordinate system). This adds essential meaning beyond the schema.
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 exports an SF Symbol as SVG with vector paths, using a specific verb and resource. The sibling tools are about information retrieval (get_symbol_info, list_symbols, search_symbols), so this tool is distinctly about export.
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?
While there is no explicit 'when to use' or 'when not to use', the purpose is clear and distinct from siblings. The description focuses on parameter details, but the context signals strongly imply this tool is for exporting SVGs, not for other symbol queries.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_symbol_infoA
Get information about a specific SF Symbol.
Args: name: Exact SF Symbol name (e.g. "star.fill", "circle", "arrow.right")
Returns: JSON with symbol availability, related symbols, and renderability.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description must carry the behavioral disclosure burden. It only states the return format (JSON with availability, related symbols, renderability) but omits any behavioral traits such as read-only nature, authorization needs, rate limits, or error conditions. For a read operation, the description is insufficiently transparent.
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 extremely concise with no wasted words. It is logically structured: a one-line summary followed by Args and Returns sections. Every sentence adds value.
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 (one parameter, read operation) and the presence of an output schema, the description is largely sufficient. It covers what the tool does and its return structure. Missing elements like error handling or preconditions are minor for this context.
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?
The input schema has 0% description coverage, but the tool description adds meaningful context: it defines the parameter as 'Exact SF Symbol name' and provides concrete examples (e.g., 'star.fill'). This goes beyond the minimal schema and compensates for the lack of schema descriptions, though it could include validation constraints.
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 it retrieves information about a specific SF Symbol, with a clear verb ('Get') and resource ('information about a specific SF Symbol'). It naturally distinguishes from sibling tools like list_symbols (listing many) and search_symbols (searching) by focusing on a single symbol.
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 usage when you have a specific symbol name, but provides no explicit guidance on when to prefer this tool over siblings or when not to use it. Sibling names are provided but not discussed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_symbolsA
List available SF Symbol names.
Args: limit: Maximum number of symbols to return (default 100)
Returns: JSON with total count and symbol names.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden. It discloses that the tool returns JSON with total count and symbol names, and mentions the limit parameter. However, it does not discuss side effects, authentication needs, or whether it is purely read-only (though implied).
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?
Description is extremely concise: one sentence for purpose, one for parameters, one for returns. No unnecessary words, all information front-loaded. Every sentence adds value.
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?
The description provides the purpose, parameter, and return format, which is adequate for a simple tool with an output schema. However, it lacks guidance on when to use it versus siblings, and does not discuss error handling or edge cases.
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?
Schema coverage is 0%, but the description adds meaningful context for the only parameter: 'limit: Maximum number of symbols to return (default 100)'. This clarifies the parameter's purpose and default, adding value beyond the schema's type and default.
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?
Description states 'List available SF Symbol names' which is a specific verb and resource. It clearly distinguishes from siblings like search_symbols (which searches) and get_symbol_info (which gets details for a specific symbol) by focusing on listing all available names.
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?
No guidance provided on when to use this tool versus alternatives like search_symbols or get_symbol_info. The description does not mention use cases or exclusions, leaving the agent to infer context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_symbolsA
Search for SF Symbol names by name or keyword.
Args: query: Search term (e.g. "star", "circle", "arrow", "weather", "music")
Returns: JSON with matching symbol names and count.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It states it returns matching names and count but does not disclose critical behavioral traits such as case sensitivity, fuzzy vs exact matching, result limits, or whether it searches only names or also descriptions. These gaps hinder an agent's ability to predict search behavior.
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 extremely concise: two sentences and a structured args/returns block. Every sentence adds value, and the purpose is front-loaded. No wasted words.
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?
For a simple search tool with one parameter and an existing output schema, the description covers the core purpose and return type. It could mention search behavior details (exact vs fuzzy) but is largely complete for its complexity.
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?
The single 'query' parameter has 0% schema description coverage, so the description compensates by providing concrete examples ('star', 'circle', etc.), which adds meaningful usage guidance beyond the schema title.
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 SF Symbol names by name or keyword, which is a specific verb and resource. The sibling tools (export_symbol, get_symbol_info, list_symbols) have distinct purposes, so this tool is well-differentiated.
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 usage for finding symbols by keyword but does not explicitly state when to use this tool versus alternatives like list_symbols or get_symbol_info. No exclusions or prerequisites are mentioned.
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.
4 tool updates
v1.0.0- First observed
export_symbol - First observed
get_symbol_info - First observed
list_symbols - First observed
search_symbols
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: exporting SVGs, getting symbol info, listing all symbols, and searching by keyword. No overlap in functionality.
All tool names follow a consistent verb_noun pattern with underscores (export_symbol, get_symbol_info, list_symbols, search_symbols), making them predictable and easy to understand.
With 4 tools, the server covers the essential operations for SF Symbols: listing, searching, retrieving details, and exporting. The count is appropriate for the domain.
The tool set covers querying (list/search/info) and exporting (SVG) adequately. A minor gap could be the lack of a 'preview' tool, but export serves that need. Overall, no critical missing operations for typical use.
Related MCP Connectors
MCP server for accessing curated awesome list documentation
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
The official Planning Center MCP server for interacting with your ministry's data.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server that allows FE/UI/Designers to retrieve SVG icons via the Iconify API by simply asking LLMs rather than manually searching websites.317 npm4MIT
- AlicenseNot gradedqualityCmaintenanceAI-powered SVG icon generation MCP server. Generate production-ready SVG icons from text descriptions with customizable styles, sizes, and themes.109 npm6MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for searching and fetching icons from iconfont.cn.10 npm9MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server for semantic SVG icon search. Generate infographic SVG icons by keyword — over 100,000 icons with semantic search support.18 npmMIT