lucide-svg-mcp

lucide-svg-mcp

An MCP server that provides Lucide icons as SVG, allowing clients to list, search, and retrieve icons by name.

Category
Visit Server

README

lucide-svg-mcp

An MCP server that provides Lucide icons as SVG.

This server lets MCP clients (for example Claude, Cline, or Codex) easily:

  • list all icons,
  • search icons by name or keywords,
  • retrieve the full SVG source of a specific icon.

Features

  • Uses icons from the lucide-static npm package.
  • Tools:
    • list_icons
    • search_icons
    • retrieve_icon
  • Built-in caching for faster performance:
    • icon name cache,
    • icon file path cache,
    • SVG content cache.
  • Verbose error messages when input is invalid or an icon cannot be resolved.
  • Covered by tests (vitest).

Requirements

  • Node.js 18+
  • npm

Running

The server uses stdio MCP transport, so your MCP client should launch it with:

npx -y lucide-svg-mcp@latest

Claude Code example

{
  "mcpServers": {
    "lucide-svg": {
      "command": "npx",
      "args": ["-y", "lucide-svg-mcp@latest"]
    }
  }
}

Cursor example

{
  "mcpServers": {
    "lucide-svg": {
      "command": "npx",
      "args": ["-y", "lucide-svg-mcp@latest"]
    }
  }
}

Codex-style TOML example:

[mcp_servers.lucide-svg]
command = "npx"
args = ["-y", "lucide-svg-mcp@latest"]

Available Tools

list_icons

Description: lists available Lucide icons with pagination.

Input:

  • limit (optional): max icons per page, default 100, max 1000
  • offset (optional): zero-based start index, default 0

Response includes pagination metadata:

  • total: total number of icons
  • count: icon count in this page
  • limit
  • offset
  • hasMore
  • nextOffset

search_icons

Description: searches Lucide icons by name or keywords.

Input:

  • query (required): search text

retrieve_icon

Description: retrieves the full SVG source for an icon.

Input:

  • name (required): icon name (for example alarm-clock)

Development

Run tests:

npm test

Run tests with coverage:

npm run test:coverage

Watch mode:

npm run test:watch

Project Structure

  • index.js: CLI bootstrap entrypoint.
  • src/server.js: MCP server creation and tool registration.
  • src/icons.js: icon logic, search, retrieve, caching.
  • tests/icons.unit.test.mjs: unit tests.
  • tests/server.integration.test.mjs: MCP server integration tests.
  • tests/index.bootstrap.test.mjs: CLI/bootstrap behavior tests.

License

  • Project: MIT
  • Lucide: ISC

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured