DaisyUI

v1.0.0โ€ขDeveloper Toolsโ€ขstable

๐ŸŒผ A token-friendly local MCP server for DaisyUI component documentation using their public llms.txt.

aiai-agent-toolsai-agentscomponent-librarycomponents
Share:
67
Stars
0
Downloads
0
Weekly
0/5

What is DaisyUI?

DaisyUI is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐ŸŒผ a token-friendly local mcp server for daisyui component documentation using their public llms.txt.

๐ŸŒผ A token-friendly local MCP server for DaisyUI component documentation using their public llms.txt.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • ๐ŸŒผ A token-friendly local MCP server for DaisyUI component do

Use Cases

Token-friendly access to DaisyUI components
Component documentation for AI-driven UI generation
birdseyevue

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 14, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx daisyui

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use DaisyUI

The DaisyUI MCP server is a lightweight, token-efficient local server that gives AI assistants direct access to DaisyUI component documentation fetched from the library's official llms.txt file. Instead of the AI hallucinating class names or component syntax, it can call list_components to browse all available components and get_component to retrieve full, accurate documentation including classes, variants, and usage examples. Frontend developers use it to get reliable DaisyUI code generation from Claude without burning tokens on large inline documentation.

Prerequisites

  • Python 3.10 or higher
  • pip and optionally a virtual environment tool (venv or uv)
  • FastMCP Python package (installed via requirements.txt)
  • An MCP-compatible client such as Claude Desktop, Claude Code, or Cursor
  • Internet access on first run to fetch component documentation from DaisyUI's llms.txt
1

Clone the repository

Clone the DaisyUI MCP server repository to your local machine.

git clone https://github.com/birdseyevue/daisyui-mcp.git
cd daisyui-mcp
2

Create a virtual environment and install dependencies

Set up an isolated Python environment and install the required packages including FastMCP.

python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
3

Fetch the DaisyUI component documentation

Run the update script to download component docs from DaisyUI's public llms.txt and save them as local markdown files. Re-run this any time you want to sync with a newer DaisyUI version.

python update_components.py
4

Test the server locally

Start the MCP server to confirm it loads correctly before adding it to your client configuration.

python mcp_server.py
5

Configure your MCP client

Add the server to your MCP client configuration, pointing to the venv Python binary and the mcp_server.py script using absolute paths.

DaisyUI Examples

Client configuration

Add this to claude_desktop_config.json, replacing the paths with the absolute paths to your cloned repository and virtual environment.

{
  "mcpServers": {
    "daisyui": {
      "command": "/absolute/path/to/daisyui-mcp/venv/bin/python",
      "args": ["/absolute/path/to/daisyui-mcp/mcp_server.py"]
    }
  }
}

Prompts to try

Once connected, use these prompts to get accurate DaisyUI component code from Claude.

- "What DaisyUI components are available for building forms?"
- "Show me all the variants and classes for the DaisyUI button component."
- "Build a responsive card grid using DaisyUI card and grid classes."
- "How do I implement a DaisyUI modal with a form inside it?"
- "Create a navbar with a dropdown menu using DaisyUI classes."

Troubleshooting DaisyUI

update_components.py fails with a network error

The script fetches from DaisyUI's public llms.txt endpoint. Confirm you have internet access and the URL is reachable. If the endpoint has changed, check the repository's update_components.py for the current URL.

MCP client shows 'server failed to start' with a Python import error

Ensure you are pointing to the venv Python binary (venv/bin/python on macOS/Linux, venv\Scripts\python.exe on Windows) in your config, not the system Python. The FastMCP dependency is only installed in the virtual environment.

get_component returns 'component not found' for a valid DaisyUI component

Run python update_components.py again to refresh the local docs. The component name passed to get_component must match the exact name used in DaisyUI's documentation (e.g. 'button', 'modal', 'card' โ€” all lowercase).

Frequently Asked Questions about DaisyUI

What is DaisyUI?

DaisyUI is a Model Context Protocol (MCP) server that ๐ŸŒผ a token-friendly local mcp server for daisyui component documentation using their public llms.txt. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install DaisyUI?

Follow the installation instructions on the DaisyUI GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with DaisyUI?

DaisyUI works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is DaisyUI free to use?

Yes, DaisyUI is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "daisyui": { "command": "npx", "args": ["-y", "daisyui"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

Ready to use DaisyUI?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides