Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Universal CSS Analysis and Documentation MCP Server. Analyze any CSS with ~150 derived metrics (built on ~78 CSSMetrics fields plus selector/property counters) for complexity, specificity, and quality.
CSSMetrics fields plus selector/property counters) for CSS complexity, specificity, and quality# Using uv
uv pip install css-mcp
# Using pip
pip install css-mcp
# Via CLI
css-mcp
# Via Python module
python -m css_mcp.server
| Variable | Default | Description |
|---|---|---|
CSS_MCP_HTTP_PORT | 3050 | Server port |
CSS_MCP_HTTP_HOST | localhost | Server host |
CSS_MCP_DEBUG | false | Inherited Oneiric debug flag; sets the field on CSSMCPSettings but has no local behavioral effect (no code path in css_mcp/ reads settings.debug yet). Wire-up is tracked as a follow-up. |
| Tool | Description |
|---|---|
analyze_css | Full CSS analysis with ~150 derived metrics |
analyze_css_summary | Quick CSS summary (faster) |
get_docs | MDN documentation for CSS properties |
get_browser_compatibility | Check browser support for properties |
search_properties | Search for CSS properties |
get_properties_by_category | Get properties by category |
analyze_project_css | Analyze all CSS in a project |
list_capabilities | List available capabilities |
health_check | Check server health |
Use the analyzer directly in Python for any CSS:
from css_mcp.analyzer import CSSAnalyzer
# Analyze any CSS content
analyzer = CSSAnalyzer()
metrics = analyzer.analyze(css_content)
# Get complexity score
print(f"Complexity: {metrics.complexity_score}/100")
# Get optimization suggestions
suggestions = analyzer.get_suggestions()
The analyzer provides ~150 derived metrics (built from 78 CSSMetrics fields plus selector and property counters), including:
!important usageBuilt-in compatibility data for common CSS properties across:
# Install dev dependencies
uv sync --group dev
# Run tests
pytest
# Type check
mypy css_mcp
# Lint
ruff check css_mcp
The css plugin is published through the www-mcp-servers marketplace. Register the marketplace once, install the plugin, and the css-mcp HTTP server becomes available as mcp__css__* tools alongside three slash commands (/css-audit-project, /css-analyze, /css-check-compat). The plugin manifest lives at .claude-plugin/plugin.json and the server is registered in the colocated .mcp.json at http://localhost:3050/mcp — start the css-mcp server first, then run claude plugin install css --marketplace www-mcp-servers from a fresh session.
BSD-3-Clause
Built on Oneiric for runtime configuration and mcp-common for the FastMCP baseline. Crackerjack gates every commit.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
css@www-mcp-servers is listed by lesleslie/www-mcp-servers — review the source before installing
npx claudepluginhub lesleslie/www-mcp-servers --plugin cssPlugins from other owners that cover similar ground