Lordicon MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "LORDICON_API_KEY=${LORDICON_API_KEY}" lordicon-mcp -- npx -y github:roandegraaf/lordicon-mcp
Required:LORDICON_API_KEY
README.md

Search, preview, and generate embed code for Lordicon animated icons.

lordicon-mcp

An MCP (Model Context Protocol) server that lets AI agents search, preview, and generate embed code for Lordicon animated icons.

Features

  • Search icons — Find icons by keyword with filtering by family, style, and premium status
  • Preview icons — Get visual SVG previews that AI agents can actually see
  • Browse families — List all available icon families and styles
  • Generate embed code — Get ready-to-paste HTML, React, or web component code

Setup

1. Get a Lordicon API Key

Sign up at lordicon.com and get your API key from the dashboard.

2. Add to your MCP client

Claude Code
claude mcp add lordicon -e LORDICON_API_KEY=your-api-key-here -- npx -y github:roandegraaf/lordicon-mcp
Other MCP Clients

Add the server to your client's MCP configuration:

{
  "mcpServers": {
    "lordicon": {
      "command": "npx",
      "args": ["-y", "github:roandegraaf/lordicon-mcp"],
      "env": {
        "LORDICON_API_KEY": "your-api-key-here"
      }
    }
  }
}

Tools

`search_icons`

Search for icons by keyword.

Parameter Type Required Description
query string Yes Search query
family string No Filter by family
style string No Filter by style
premium boolean No Filter by premium status
page number No Page number (default: 1)
per_page number No Results per page (default: 20, max: 50)

`get_icon_preview`

Get a visual SVG preview of a specific icon.

Parameter Type Required Description
family string Yes Icon family
style string Yes Icon style
index number Yes Icon index from search results

`list_families`

List all icon families with their styles and icon counts. No parameters.

`get_embed_code`

Generate embed code for an icon.

Parameter Type Required Description
family string Yes Icon family
style string Yes Icon style
index number Yes Icon index from search results
format string No html, react, or web-component (default: html)
trigger string No Animation trigger (default: hover)
size number No Size in pixels (default: 64)
colors string No Color customization

Development

npm install
npm run build

Test with the MCP Inspector:

LORDICON_API_KEY=your-key npx @modelcontextprotocol/inspector node dist/index.js

License

MIT

Tools (4)

search_iconsSearch for icons by keyword with filtering options.
get_icon_previewGet a visual SVG preview of a specific icon.
list_familiesList all icon families with their styles and icon counts.
get_embed_codeGenerate embed code for an icon in various formats.

Environment Variables

LORDICON_API_KEYrequiredAPI key obtained from the Lordicon dashboard.

Configuration

claude_desktop_config.json
{"mcpServers": {"lordicon": {"command": "npx", "args": ["-y", "github:roandegraaf/lordicon-mcp"], "env": {"LORDICON_API_KEY": "your-api-key-here"}}}}

Try it

Search for 'user' icons in the 'wired' style.
List all available icon families and their styles.
Get the React embed code for the first icon found in the 'system' family.
Find premium icons related to 'shopping' and show me a preview of the first one.

Frequently Asked Questions

What are the key features of Lordicon?

Search icons by keyword with filtering by family, style, and premium status. Retrieve visual SVG previews for icons. List all available icon families and styles. Generate ready-to-paste HTML, React, or web component embed code.

What can I use Lordicon for?

Quickly finding and integrating animated icons into a web project via AI assistance.. Generating consistent icon embed snippets for React applications.. Browsing available icon families to maintain design consistency across a UI.. Automating the retrieval of icon code snippets during the development workflow..

How do I install Lordicon?

Install Lordicon by running: claude mcp add lordicon -e LORDICON_API_KEY=your-api-key-here -- npx -y github:roandegraaf/lordicon-mcp

What MCP clients work with Lordicon?

Lordicon 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 Lordicon 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