Audit CSS with MDN-backed browser checks
An MCP add-on let Claude Code look up MDN guidance and browser support while reviewing CSS for likely issues.
- What they did
- They installed an MCP server through an npx command and connected it with Claude Code, VS Code, or a similar client. From there, the agent could fetch MDN documentation for a CSS feature, read browser compatibility data, and scan either pasted styles or a project’s built CSS output. They could request a short summary by default by asking in normal language.
- How it went
- The README did not show a real-world deployment. It did mention rough speed numbers: initial lookups landed around 400-500ms, while cached ones were about 100ms. A summary run used roughly 1-2k tokens, and the full 150+ metric mode could use 10k+ tokens.
- Tips
- Use the default summary mode unless you specifically need the full metric report. You’ll need Node 20+ and native build tools so the SQLite cache can work.
Try it yourself with Claude Code
Look over [path to CSS file or pasted CSS] and compare any doubtful properties or features with MDN guidance and browser support for [browser targets]. Point out anything that may not work, anything redundant, and anything that should fall back to a safer option, then explain each suggested edit. Before any step that would send, delete, submit, or overwrite something, stop and ask for my approval. End with a brief compatibility note that separates safe-to-ship changes from items that still need a fallback.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Rebuild Claude hooks as a pi extension
A developer had an agent convert a folder of Claude Code hooks into a pi extension after switching tools.
Monitor account caps and move chats across tools
teivz built a local app that watches Codex and Claude Code account usage and shifts a chat to another account when one reaches its cap.
Test an iOS app and collect bugs automatically
Use Claude Code to drive an iOS app through its accessibility tree, visit screens, and return a structured bug report.
Run Microsoft Office on Linux with Wine
Use Wine and compatibility shims to get Microsoft 365 installing and opening on Linux without a virtual machine.
Build a 3D city view of your repo and agents
A solo developer made a local-first 3D browser app that turns a codebase into a city and shows installed coding agents as avatars.
Use hypothesis testing to improve program speed
An agent explored speedup ideas, kept only the ones that stayed correct, and saved the verified changes in Git.