Skip to main content
Glama

Houtini-lm

by houtini-ai

find_unused_css

Analyze CSS usage to identify unused selectors for performance optimization. Supports URL, local file, and code analysis to reduce bloat and improve website speed.

Instructions

Analyze CSS usage and identify unused selectors for performance optimization. Supports both URL analysis and local file analysis.

WORKFLOW: Perfect for understanding complex code, identifying issues, and technical debt assessment TIP: Use Desktop Commander to read files, then pass content here for analysis SAVES: Claude context for strategic decisions

Input Schema

NameRequiredDescriptionDefault
analysisDepthNoLevel of analysis detaildetailed
analysisTypeNoType of CSS analysis to performcomprehensive
codeNoCSS code to analyze (for single-code analysis)
cssPathNoPath to CSS file to analyze
filePathNoPath to CSS file to analyze
filesNoSpecific HTML/CSS file paths to analyze
htmlPathNoPath to HTML file to check CSS usage against
ignorePseudoSelectorsNoIgnore pseudo-selectors like :hover, :focus
includeMediaQueriesNoInclude media query analysis
languageNoFile language (css, html)css
maxDepthNoMaximum directory depth for file discovery
projectPathNoPath to project directory containing HTML/CSS files
urlNoURL to analyze for CSS usage (single page)

Input Schema (JSON Schema)

{ "properties": { "analysisDepth": { "default": "detailed", "description": "Level of analysis detail", "enum": [ "basic", "detailed", "comprehensive" ], "type": "string" }, "analysisType": { "default": "comprehensive", "description": "Type of CSS analysis to perform", "enum": [ "performance", "usage", "comprehensive" ], "type": "string" }, "code": { "description": "CSS code to analyze (for single-code analysis)", "type": "string" }, "cssPath": { "description": "Path to CSS file to analyze", "type": "string" }, "filePath": { "description": "Path to CSS file to analyze", "type": "string" }, "files": { "description": "Specific HTML/CSS file paths to analyze", "type": "array" }, "htmlPath": { "description": "Path to HTML file to check CSS usage against", "type": "string" }, "ignorePseudoSelectors": { "default": false, "description": "Ignore pseudo-selectors like :hover, :focus", "type": "boolean" }, "includeMediaQueries": { "default": true, "description": "Include media query analysis", "type": "boolean" }, "language": { "default": "css", "description": "File language (css, html)", "type": "string" }, "maxDepth": { "default": 3, "description": "Maximum directory depth for file discovery", "type": "number" }, "projectPath": { "description": "Path to project directory containing HTML/CSS files", "type": "string" }, "url": { "description": "URL to analyze for CSS usage (single page)", "type": "string" } }, "required": [], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/houtini-ai/lm'

If you have feedback or need assistance with the MCP directory API, please join our Discord server