daisyui-mcp
by birdseyevue·★ 67·Score 46
A token-efficient MCP server providing DaisyUI component documentation to AI assistants.
Overview
The DaisyUI MCP server is a specialized tool that enables AI assistants to access and utilize DaisyUI component documentation through the MCP protocol. It fetches component documentation from DaisyUI's llms.txt file and stores it locally as markdown files, providing two main tools: list_components and get_component. The server is built with FastMCP for optimal performance and offers token-efficient access to UI component information.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when building applications with DaisyUI and need efficient access to component documentation through AI assistants.
When NOT to choose this
Don't choose if you need access to DaisyUI's latest documentation instantly, as updates require manual execution of the update script.
Tools this server exposes
2 tools extracted from the READMElist_componentsLists all available DaisyUI components with short descriptions
get_componentGets the full documentation for a specific component
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/birdseyevue/daisyui-mcp.git
cd daisyui-mcp- Create a virtual environment:
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows- Install dependencies:
pip install -r requirements.txt- Fetch component docs:
python update_components.py- Run the server:
python mcp_server.pyClaude Desktop Configuration
Add to claude_desktop_config.json:
{
"mcpServers": {
"daisyui": {
"command": "<path-to-repo>/venv/bin/python",
"args": ["<path-to-repo>/mcp_server.py"]
}
}
}FAQ
- How do I update the DaisyUI component documentation?
- Run the command 'python update_components.py' to fetch the latest documentation from DaisyUI's llms.txt file.
- Can I customize the component documentation?
- Yes, you can edit the markdown files in the 'components/' directory to add custom components or modify existing ones to fit your project's needs.
Compare daisyui-mcp with
Last updated · Auto-generated from public README + GitHub signals.