npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/lucide-icons-mcp

v0.1.36

Published

This project, lucide-react-mcp, is a Model Context Protocol (MCP) server built with Bun and the MCP TypeScript SDK. It exposes Lucide React icons as resources and tools, enabling LLMs and agentic applications to search for and utilize icons. Key features

Downloads

19

Readme

lucide-icons-mcp

Ask DeepWiki

A Model Context Protocol (MCP) server exposing Lucide React icons as resources and tools for LLMs and agentic applications. Built with Bun and the MCP TypeScript SDK.

What is Lucide?

Lucide is a beautiful & consistent icon toolkit made by the community. It's an open-source icon library that provides over 1,500+ carefully crafted icons in a single, consistent style. Originally forked from Feather Icons, Lucide has grown into one of the most popular icon libraries for modern web development.

What is MCP?

The Model Context Protocol (MCP) is a standard for AI tools to request specific context from sources outside their main training data.

This MCP server allows AI coding assistants and other agentic applications to access information about Lucide React icons, enabling better assistance with icon search, discovery, and implementation.

Features

  • 🔍 Icon Search: Search through 1,500+ Lucide icons by name or category
  • 📂 Category Browsing: List icons by categories (Design, Communication, Media, etc.)
  • 💡 Usage Examples: Get React/JSX code examples for any icon
  • 🔧 Icon Information: Detailed information about each icon
  • 🚀 MCP Integration: Ready for Claude Desktop and other MCP clients
  • 🌐 Dual Mode: HTTP server or stdio-based MCP server
  • 📊 Comprehensive Coverage: All Lucide icons with proper JSX usage

Prerequisites

Getting Started (Development)

1. Clone the repository

git clone https://github.com/SeeYangZhi/lucide-icons-mcp.git
cd lucide-icons-mcp

2. Install Bun (if you don't have it)

Refer to the official Bun installation guide.
After installation, restart your terminal and check:

bun --version

3. Install dependencies

bun install

4. Build the project

This compiles the TypeScript source to JavaScript in the build directory.

bun run build

Usage

HTTP Mode

You can run the HTTP server using npx:

npx lucide-icons-mcp

This starts the HTTP server (defaults to port 3000).

Or install globally:

npm install -g lucide-icons-mcp

Then run:

lucide-icons-mcp

Stdio Mode

npx lucide-icons-mcp --stdio
# or if installed globally
lucide-icons-mcp --stdio

Local Development

There are two main ways to run the MCP server:

1. HTTP Mode

Suitable for clients that support communication over HTTP.

For development (using Bun):

bun run start
# or directly
bun run src/entry.ts

2. Stdio Mode

Often used for direct integration with tools like Claude Desktop or the MCP Inspector.

For development (using Bun):

bun run src/entry.ts --stdio

Configuration with AI Tools

Example: Claude Desktop

To use this MCP server in Claude Desktop:

  1. Open your Claude Desktop configuration file:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
  1. Add the server to the mcpServers section:

Option A: via npx (Recommended):

{
  "mcpServers": {
    "lucide-icons": {
      "command": "npx",
      "args": ["lucide-icons-mcp", "--stdio"]
    }
  }
}

Option B: Pointing directly to the build output:

{
  "mcpServers": {
    "lucide-icons": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/lucide-icons-mcp/build/entry.js", "--stdio"]
    }
  }
}
  1. Save the file and restart Claude Desktop.
  2. You should now see the "lucide-icons" server available in Claude's tools panel.

Tools Available (MCP)

This MCP server exposes the following tools to AI coding assistants. Each icon can belong to multiple categories, providing flexible search and discovery capabilities.

1. search_icons

  • Description: Search for Lucide icons by name or category. Returns icons with their complete category arrays.
  • Parameters:
    • query (string): Search term for icon name or category
    • category (optional string): Filter by specific category
    • limit (optional number): Maximum results to return
  • Returns: Array of icons with name and categories (string array)

2. search_categories

  • Description: Search for icon categories by category name using partial matching
  • Parameters:
    • query (string): Search term for category name
    • limit (optional number): Maximum results to return
  • Returns: Array of categories with name and iconCount

3. fuzzy_search_icons

  • Description: Fuzzy Search for icons from lucide by icon name
  • Parameters:
    • query (string): Search term for icon
    • limit (optional number): Maximum results to return
  • Returns: Array of icons with name and categories (string array)

4. fuzzy_search_categories

  • Description: Fuzzy Search for icon categories by category name
  • Parameters:
    • query (string): Search term for category name
    • limit (optional number): Maximum results to return
  • Returns: Array of categories with name and iconCount (string array)

5. get_icon_usage_examples

  • Description: Get usage examples for a Lucide React icon by the exact name
  • Parameters:
    • name (string): Search term for icon
  • Returns: React/JSX usage examples for a specific Lucide icon

6. list_all_icons_by_category

  • Description: List all icons in a specific category
  • Parameters:
    • category (string): Category name to list icons for
    • limit (optional number): Maximum results to return

7. list_all_categories

  • Description: List all available icon categories with their icon counts

Example Usage

Here's how an AI tool might use this MCP server:

Example 1: Finding Icons

User: "Find me icons related to ArrowRight"

AI tool calls search_icons:

{
  "query": "ArrowRight",
  "limit": 5
}

Response: Lists icons like ArrowRight

Example 2: Getting Usage Examples

User: "Show me how to use the ArrowRight icon"

AI tool calls get_icon_usage_examples:

{
  "name": "ArrowRight"
}

Response:

import { ArrowRight } from "lucide-react";

function Example() {
  return (
    <div>
      <ArrowRight />
    </div>
  );
}

Example 3: Browsing Categories

User: "What design-related icons are available?"

AI tool calls search_categories:

{
  "query": "design"
}

Then calls list_icons_by_category":

{
  "category": "Design",
  "limit": 10
}

Icon Categories

Lucide icons are organized into categories such as:

  • Accessibility
  • Accounts & access
  • Animals
  • Arrows
  • Brands
  • Buildings
  • Charts
  • Communication
  • Connectivity
  • Cursors
  • Design
  • Coding & development
  • Devices
  • Emoji
  • File icons
  • Finance
  • Food & beverage
  • Gaming
  • Home
  • Layout
  • Mail
  • Mathematics
  • Medical
  • Multimedia
  • Nature
  • Navigation
  • Notification
  • People
  • Photography
  • Science
  • Seasons
  • Security
  • Shapes
  • Shopping
  • Social
  • Sports
  • Sustainability
  • Text formatting
  • Time & calendar
  • Tools
  • Transportation
  • Travel
  • Weather

Testing MCP Locally with Inspector

You can test the MCP server locally using the MCP Inspector.

First, ensure the project is built:

bun run build

Then launch the Inspector:

npx @modelcontextprotocol/inspector node ./build/entry.js --stdio

This opens the Inspector interface for interactive testing of your MCP server.

Development Scripts

  • bun run dev: Starts the server in HTTP mode for development
  • bun run dev:stdio: Starts the stdio MCP server for development
  • bun run build: Compiles TypeScript to JavaScript (output in build/)
  • bun run lint: Lints the codebase using ESLint
  • bun run lint:fix: Automatically fixes linting issues
  • bun run crawl: Crawls Lucide website to update icon data
  • bun run pre-build: Crawls data, builds icon metadata, and fixes linting

Data Sources

This project includes a web crawler that automatically extracts icon information from the Lucide website, ensuring up-to-date icon data and categories.

Resources

License

This project is licensed under the MIT License. See LICENSE for details.

This project references icons from Lucide (https://lucide.dev/), which are licensed under their ISC License:

ISC License

Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2022.

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.