DaisyUI
๐ผ A token-friendly local MCP server for DaisyUI component documentation using their public llms.txt.
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
Maintainer
Works with
Installation
Manual Installation
npx daisyuiConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
Clone the repository
Clone the DaisyUI MCP server repository to your local machine.
git clone https://github.com/birdseyevue/daisyui-mcp.git
cd daisyui-mcpCreate 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.txtFetch 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.pyTest the server locally
Start the MCP server to confirm it loads correctly before adding it to your client configuration.
python mcp_server.pyConfigure 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.
DaisyUI Alternatives โ Similar Developer Tools Servers
Looking for alternatives to DaisyUI? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
โ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
โ 155.8kJava ้ข่ฏ & ๅ็ซฏ้็จ้ข่ฏๆๅ๏ผ่ฆ็่ฎก็ฎๆบๅบ็กใๆฐๆฎๅบใๅๅธๅผใ้ซๅนถๅใ็ณป็ป่ฎพ่ฎกไธ AI ๅบ็จๅผๅ
Gemini CLI
โ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
โ 87.3kโญ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
โ 86.0kModel Context Protocol Servers
CC Switch
โ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up DaisyUI in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.